Storing compressed air in a constant volume chamber

I am trying to create a simscape model of a system that compresses a volume of air from atmospheric pressure to 30 bar, and stores it in a contant volume chamber before allowing it to be released to drive a turbine. The compressor is driven by the energy from a wind turbine which in my model is modelled as a constant input. I am aiming to get a graph of pressure against time of the volume of air which would appear to be a positve incline of pressure up until it reaches 30 bar at which the gradient will flatten out.
I have modelled this system in simscape (not inluding the turbine), however when I run it it has been coming up with errors and I am unsure on how to resolve them. Attached to this are images of my simscape model and the error code that comes up with I try to run it. I wondered if I could get some help on what I am doing wrong? Thanks

Answers (0)

Categories

Find more on Simscape in Help Center and File Exchange

Asked:

on 17 Feb 2023

Commented:

on 2 Jun 2023

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!