Adapt sim_* cfg's to current syntax

+ make 'limit' usable as type in cfg files
+ minor fixes

Change-Id: Ib94b2645c7a0d978d64d4c86c4415d4b5b0d485f
Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/21485
Tested-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de>
Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
Enrico Faulhaber
2019-10-30 17:24:03 +01:00
parent ac873ed546
commit 5458911b67
20 changed files with 246 additions and 226 deletions

View File

@ -3,7 +3,6 @@ description = [sim] htf02 box of MLZ Sample environment group
.
Controls an High Temperature Furnace with an eurotherm controller and an PLC checking the cooing water.
.meaning={'T_regulation':{'T_htf02':100}, 'T_sample':{'T_htf02':100}}
[interface tcp]
type=tcp
@ -15,20 +14,20 @@ class=secop.simulation.SimDrivable
.description=Main temperature control node of htf02.
.
Controls the regulation loop of the Eurotherm.
value.unit='degC'
value.datatype={"type":"double", "min":0, "unit":"degC"}
value.default=300
target.datatype=["double", 0, 2000]
target.datatype={"type":"double", "min":0, "max": 2000, "unit":"degC"}
target.default=300
target.unit='degC'
.extra_params=ramp
ramp.datatype=["double",0,600]
ramp.datatype={"type":"double", "min":0, "max": 600, "unit":"K/min"}
ramp.description=target ramping speed in K/min.
ramp.default=60
ramp.unit=K/min
ramp.readonly=False
.meaning=["temperature", 10]
[module htf02_p]
class=secop.simulation.SimReadable
.description=Pressure Sensor at sample space (ivc).
value.datatype={"type":"double", "min":0, "unit":"mbar"}
value.default=989
value.unit='mbar'