Can I optimise a dynamic model where the objective function is equal just a variable?
Show older comments
I am trying to run an optimisation in Matlab. I have modelled a hydrogen refuelling station. The model basically consists of one tank and the car tank, and the hydrogen flows from the tank to the car.
This is a dynamic model where the pressure and mass inside each tanks change with time. For the tank in the station the mass and pressure decreases and for the car increases until it gets a 100% full.
My objective is to find the minimum size of the tank of the station (i.e. its volume) that achieves a filling of 100% in the car.
I have several problems:
1. I don’t know if I can do this with an optimisation tool, as my function to minimise in reality is just a volume. (so I don’t know if there is any other way I can write it)
2. the constraint will be that the % =100 , however to be able to know the this, the model has to be run, therefore I don’t know how to write this in a constraint form
Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Thermal Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!