I am doing a mathematical model of an hydraulic system and I am using an electronic-hydraulic analogy. Normally a compartment is simulated with a capacitor.
But in my system I can apply a big pressure (Input voltage) at the entrance of the model, and because we are using an ideal capacitor, the charge of the capacitor (the volume of this compartment) can always increase if the input voltage increase. But in reality, this compartment has a maximum volume, and normally, if this maximum volume is reached, the compartment is going to put some opposition to this pressure.
So I have some ideas of how to represent this, but I wanna know if there is any formal representation or an existent model.