feat : temperature , heatflux and capacity

This commit is contained in:
2026-02-11 18:00:59 +01:00
committed by AntoineCHUPIN
parent e7578ef2a8
commit 19c844a165
12 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
within OTRERA_formation.Components;
model Temperature
//USER DEFINED PARAMETERS
parameter Modelica.Units.SI.Temperature T ;
//INTERNAL VARIABLES
//IMPORTED COMPONENTS
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a port annotation(
Placement(transformation(extent = {{-10, -10}, {10, 10}}), iconTransformation(origin = {-2, 0}, extent = {{-10, -10}, {10, 10}})));
equation
T = port.T;
annotation(
Diagram(graphics),
Icon(graphics = {Rectangle(origin = {-50, 0}, extent = {{-50, 100}, {50, -100}}), Text(origin = {-45, 21}, extent = {{27, -23}, {-27, 23}}, textString = "T°")}));
end Temperature;