I've been trying to create a pressurized vessel in openmodelica but i'm stuck. The block i'm trying to build is a simple vessel for liquid pressurized by gas.
So two input ports (liquid input, gas input) and an output port for pressurized liquid outlet. The total volume of the vessel is constant. Looks simple but stuck with the duality gaz/liquid.