Hello, I want to develop a pressure regulator model in simscape. The model will be the springloaded direct acting system and the aim is to target outlet pressure, temperature and flow rate by giving input parameters as pressure, temperature, spring stiffness, length and preload, lever(it is fixed at a pivot and will make an angle while opening and closing) diaphragm surface area, stroke, inlet, and outlet flow diameters. I have tried to model using the simscape modules but I am encountering the problems. could anyone help me please regarding this problem? Thank you for your time.