Skip to content

Commit

Permalink
add solar.p
Browse files Browse the repository at this point in the history
  • Loading branch information
bqpd committed Jan 7, 2022
1 parent 406c56c commit 230f776
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
15 changes: 12 additions & 3 deletions docs/source/examples/performance_modeling_output.txt
Expand Up @@ -112,9 +112,18 @@ Constraint Differences

**********************

Variable(s) of this solution which are not in the argument:
Fuselage.W
D[:]
Wburn[:]
Wing.rho
A
Wfuel[:]
S
Wing.W
c

Relative Differences |above 1%|
-------------------------------
Wburn : [ +102.1% +101.6% +101.1% +100.5% ] segment fuel burn
Wfuel : [ +101.3% +101.1% +100.8% +100.5% ] fuel weight
D : [ +1.1% - - - ] drag force
The largest is +0.217736%.

3 changes: 2 additions & 1 deletion gpkit/breakdowns.py
Expand Up @@ -1001,7 +1001,8 @@ def icicle(self, key, *, permissivity=2, returnfig=False, filename=None):

sol = pickle.load(open("solar.p", "rb"))
bds = Breakdowns(sol)
bd = get_breakdowns(sol)
basically_fixed = set()
bd = get_breakdowns(basically_fixed, sol)
mbd = get_model_breakdown(sol)
mtree = crawl_modelbd(mbd, {})
# graph(mtree, sol, showlegend=True, height=20)
Expand Down

0 comments on commit 230f776

Please sign in to comment.