- Index
- » Users
- » bush
- » Profile
Posts
Posts
Page Start Prev 1 Next End
Hi,
Can anyone guide me on how to model a themocouple block in open modelica such tempearture will be an input and voltage as an output..
trying to see wether this code below will work. Got it from here
https://www.modelica.org/events/worksho … iller2.pdf
model Thermocouple
extends Modelica.Electrical.Analog.Interfaces.OnePort;
parameter Real C[:] "Calibration coefficients";
Modelica.Thermal.Interfaces.Node_c node_c;
equation
v = polyval(C, node_c.T);
node_c.q = zeros(node_c.ndim);
end Thermocouple;
(i use open modelica 1.7.0)
cheers
Page Start Prev 1 Next End
- Index
- » Users
- » bush
- » Profile