feat : temperature , heatflux and capacity
This commit is contained in:
19
Formation/OTRERA_formation/Models/Coupled_model.mo
Normal file
19
Formation/OTRERA_formation/Models/Coupled_model.mo
Normal file
@@ -0,0 +1,19 @@
|
||||
within OTRERA_formation.Models;
|
||||
|
||||
model Coupled_model
|
||||
|
||||
Components.ThermalCapacity thermalCapacity(m = 30, cp = 2000) annotation(
|
||||
Placement(transformation(origin = {-10, 10}, extent = {{-10, -10}, {10, 10}})));
|
||||
Components.Heatflow heatflow(Q_flow = 1000) annotation(
|
||||
Placement(transformation(origin = {-46, 10}, extent = {{-10, -10}, {10, 10}})));
|
||||
Components.Heatflow heatflow1(Q_flow = 2000) annotation(
|
||||
Placement(transformation(origin = {-46, -20}, extent = {{-10, -10}, {10, 10}})));
|
||||
equation
|
||||
connect(heatflow.port, thermalCapacity.port) annotation(
|
||||
Line(points = {{-46, 10}, {-10, 10}}, color = {191, 0, 0}));
|
||||
connect(heatflow1.port, heatflow.port) annotation(
|
||||
Line(points = {{-46, -20}, {-30, -20}, {-30, 10}, {-46, 10}}, color = {191, 0, 0}));
|
||||
|
||||
annotation(
|
||||
Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}})));
|
||||
end Coupled_model;
|
||||
Reference in New Issue
Block a user