-
There is a lot in the project that I don't understand and is quite complex, so there might be something obvious that I'm missing. I would like to model several propellant tanks and they have different properties, as in they are not identical. When using the fuelTank module though it seems that several of the tank properties themselves are set as globals. `scSim.fuelTank2SE = fuelTank.FuelTank() scSim.fuelTank2SE.setTankModel(fuelTank.TANK_MODEL_CONSTANT_VOLUME) tankModel2 = fuelTank.cvar.FuelTankModelConstantVolume print(tankModel2.propMassInit) tankModel2.propMassInit = 30 tankModel.propMassInit from Basilisk.simulation import fuelTank as ft2 scSim.ft2 = ft2.FuelTank() scSim.ft2.setTankModel(ft2.TANK_MODEL_CONSTANT_VOLUME) tm2 = ft2.cvar.FuelTankModelConstantVolume tm2.propMassInit tm2.propMassInit = 20 tankModel2.propMassInit fuelTank.cvar.FuelTankModelConstantVolume.propMassInit = 50 tankModel2.propMassInit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
this was an old issue solved by upgrading basilisk. |
Beta Was this translation helpful? Give feedback.
this was an old issue solved by upgrading basilisk.