|
| 1 | +within MetroscopeModelingLibrary.Fuel.Pipes; |
| 2 | +model Leak |
| 3 | + |
| 4 | + package FuelMedium = MetroscopeModelingLibrary.Utilities.Media.FuelMedium; |
| 5 | + extends Partial.Pipes.Leak( |
| 6 | + redeclare MetroscopeModelingLibrary.Fuel.Connectors.Inlet C_in, |
| 7 | + redeclare MetroscopeModelingLibrary.Fuel.Connectors.Outlet C_out, |
| 8 | + redeclare MetroscopeModelingLibrary.Fuel.BaseClasses.IsoHFlowModel flow_model, |
| 9 | + redeclare MetroscopeModelingLibrary.Sensors.Fuel.FlowSensor flow_sensor, |
| 10 | + redeclare package Medium = FuelMedium) annotation (IconMap(primitivesVisible=false)); |
| 11 | + |
| 12 | + annotation (Icon(graphics={Rectangle( |
| 13 | + extent={{-100,40},{0,-40}}, |
| 14 | + lineColor={95,95,95}, |
| 15 | + fillColor={213,213,0}, |
| 16 | + fillPattern=FillPattern.Solid), |
| 17 | + Rectangle( |
| 18 | + extent={{0,40},{100,-40}}, |
| 19 | + lineColor={175,175,175}, |
| 20 | + fillColor={213,213,171}, |
| 21 | + fillPattern=FillPattern.Solid), |
| 22 | + Ellipse( |
| 23 | + extent={{12,16},{36,6}}, |
| 24 | + lineColor={95,95,95}, |
| 25 | + fillColor={213,213,0}, |
| 26 | + fillPattern=FillPattern.Solid), |
| 27 | + Ellipse( |
| 28 | + extent={{8,0},{24,-6}}, |
| 29 | + lineColor={95,95,95}, |
| 30 | + fillColor={213,213,0}, |
| 31 | + fillPattern=FillPattern.Solid), |
| 32 | + Ellipse( |
| 33 | + extent={{36,2},{60,-6}}, |
| 34 | + lineColor={95,95,95}, |
| 35 | + fillColor={213,213,0}, |
| 36 | + fillPattern=FillPattern.Solid), |
| 37 | + Ellipse( |
| 38 | + extent={{56,10},{80,2}}, |
| 39 | + lineColor={95,95,95}, |
| 40 | + fillColor={213,213,0}, |
| 41 | + fillPattern=FillPattern.Solid), |
| 42 | + Ellipse( |
| 43 | + extent={{60,-6},{84,-14}}, |
| 44 | + lineColor={95,95,95}, |
| 45 | + fillColor={213,213,0}, |
| 46 | + fillPattern=FillPattern.Solid), |
| 47 | + Ellipse( |
| 48 | + extent={{18,-12},{42,-20}}, |
| 49 | + lineColor={95,95,95}, |
| 50 | + fillColor={213,213,0}, |
| 51 | + fillPattern=FillPattern.Solid)})); |
| 52 | +end Leak; |
0 commit comments