Closed mjburton11 closed 7 years ago
What happens if you do LinkedConstraintSet(..., exclude=["h"])
?
Looks like he does have h
in the exclude set:
https://github.com/hoburg/gpkit-models/commit/37e5a52b560395bee32f47cd77a83fe330cd096b
+ lc = LinkedConstraintSet(
+ [fs for fs in self.mission, constraints], exclude={
+ "t_{loiter}", "h_{climb}", "h_{dot}", "h", "T_{atm}",
+ "\\mu", "\\rho", "W_{start}", "W_{end}", "W_{fuel}",
+ "W_{fuel-fs}", "W_{finish}", "W_{begin}", "C_L", "C_L",
+ "V", "eta_{prop}", "P_{shaft}", "T", "BSFC", "RPM",
+ "P_{shaft-max}", "L_factor", "P_{shaft-tot}", "t", "R",
+ "Re", "C_{f-fuse}", "C_{D-fuse}", "Re_{fuse}", "c_{dp}",
+ "V_{wind}"})
Oh, sorry, this got fixed over email and I need to push the PR up.
PR is up
Got this error while trying to link submodels. The varkeys are different for each new Flight Segment that I want to create and it seems to be stopping me from excluding certain variables from being linked. I think
subinplace
could solve this, but I'm unsure how to use it. See commit37e5a52b560395bee32f47cd77a83fe330cd096b
on branchflightsegments
ingpkit-models/1682/gas_male/gas_male_rubber.py