modelTankExample
Motor filling a tank example
Extends from BaseClasses.ValidationPartial2 (Partial model 2 for validation purposes).
Information
The TankExample displays a simple test case where the multi-domain motor model typeI is being used to drive a pump that fills the reservoir.
A restriction in the water flow through the piping system emulates a clogged pipe, which is reflected in the water volume and level in the reservoir component. The clogging of the pipe starts at t=25 s.
Simulate the system for 100 seconds. Variables of interest and comparison are:
- Motor1.Imag
- Motor1.s
- Motor1.wr
- Motor1.P
- Motor1.Q
- reservoir.level
- reservoir.V