convexengineering / gplibrary

Useful subsystem models
MIT License
10 stars 11 forks source link

Vectorized SP Atmosphere Model #85

Closed mayork closed 6 years ago

mayork commented 8 years ago

Working to develop a vectorized SP atmosphere model that can be integrated with the flight profile code

mayork commented 8 years ago

@1ozturkbe this is the SP atmosphere model I showed you that has the weird behavior. In addition to developing a working SP atmosphere model we should figure out why the SP approximations prevent this model from solving to thy physically meaningful atmosphere we're trying to model

whoburg commented 8 years ago

Hey @bqpd, do you think we should give ConstraintSet a .vectorize(N, exclude=None) method that turns all variables into VectorVariables of length N except for the exclude set?

This design pattern seems like it might show up a lot. A model like atmosphere does not involve vectors itself, but needs to be vectorized to evaluate performance across a vector of heights, for example.

What's interesting is if the ConstraintSet already has VectorVariables not in exclude -- these would probably be promoted to matrices?

bqpd commented 8 years ago

Hmm! I like that syntax. Gonna be a little messy to make...

whoburg commented 7 years ago

This should be updated -- VectorVariables can be removed now that we have http://gpkit.readthedocs.io/en/latest/modelbuilding.html#vectorization

mayork commented 7 years ago

I'll replace the file with what I'm using for D8

bqpd commented 7 years ago

Awesome!

1ozturkbe commented 6 years ago

This is suuuuper deprecated. Let me make another issue for it.