Hello Natalia,
what you are trying is of course perfectly possible in WEST, but it will require some (small) coding ;)
[list type=decimal]
[li]you need to define a new CLASS in the library, in which r_H, r_P and v0 are defined as manipulated, interface variables[/li]
[li]you cannot set specific values for state variables because, by definition, state variables are computed. In particular, you cannot use a flow-through, constant volume model to mimic a batch model. Once again, you need to define a new CLASS in the library[/li]
[/list]
Which library are you using? MSL or Modelica?
If you need help in writing these variants of base models, please let me know.
Regards,