Skip to content

Commit

Permalink
new formulation inside of outermodel
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 27, 2018
1 parent 18f0574 commit d11094f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gpkitmodels/GP/aircraft/wing/sparloading.py
Expand Up @@ -69,10 +69,10 @@ def setup(self, wing, state, sp=False):
if sp:
with SignomialsEnabled():
constraints = [
S[:-1] >= (S[1:] + 0.5*deta*(b/2.)*(q[:-1] + q[1:])
- Sout),
S[-1] >= Soffset,
M[:-1] >= M[1:] + 0.5*deta*(b/2)*(S[:-1] + S[1:] - 2*Soffset),
# S[:-1] >= (S[1:] + 0.5*deta*(b/2.)*(q[:-1] + q[1:])
# - Sout),
S[-1] >= Stip,
# M[:-1] >= M[1:] + 0.5*deta*(b/2)*(S[:-1] + S[1:]),
]

else:
Expand Down

0 comments on commit d11094f

Please sign in to comment.