- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to Model a thermocouple block in...
Page Start Prev 1 Next End
How to Model a thermocouple block in open Modelica
How to Model a thermocouple block in open Modelica
Jun-27-11 14:56:08
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
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to Model a thermocouple block in...
There are 0 guests and 0 other users also viewing this topic