diff --git a/cfg/prep2_cfg.py b/cfg/prep2_cfg.py deleted file mode 100644 index 8d87a56..0000000 --- a/cfg/prep2_cfg.py +++ /dev/null @@ -1,25 +0,0 @@ -# error creating tt -# error creating nv -Node('ori1.psi.ch', - 'ori1 over SEA', - interface='tcp://10767', -) - -Mod('seaconn', - 'frappy_psi.sea.SeaClient', - 'a SEA connection', -) - -Mod('tt', - 'frappy_psi.sea.SeaDrivable', - io='seaconn', - json_descr='tt.ori1.config', - remote_paths='.', -) - -Mod('nv', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='nv.ori1.config', - remote_paths='.', -) diff --git a/cfg/prep5_cfg.py b/cfg/prep5_cfg.py deleted file mode 100644 index 4676d10..0000000 --- a/cfg/prep5_cfg.py +++ /dev/null @@ -1,153 +0,0 @@ -# error creating tt -# error creating nv -# error creating ln2fill -# error creating hefill -# error creating tcoil -# error creating table -# error creating lnv -# error creating lpr -# error creating lambdawatch -# error creating ts -# error creating treg -# error creating tmon -# error creating sorb -# error creating ultrasound -# error creating fn -# error creating mirror -# error creating f -# error creating pars -Node('ma11_dil4_ultrasound_sr.psi.ch', - 'ma11_dil4_ultrasound_sr over SEA', - interface='tcp://10767', -) - -Mod('seaconn', - 'frappy_psi.sea.SeaClient', - 'a SEA connection', -) - -Mod('tt', - 'frappy_psi.sea.SeaDrivable', - io='seaconn', - json_descr='tt.ma11.config', - remote_paths='.', -) - -Mod('nv', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='nv.ma11.config', - remote_paths='.', -) - -Mod('ln2fill', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='ln2fill.ma11.config', - remote_paths='.', -) - -Mod('hefill', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='hefill.ma11.config', - remote_paths='.', -) - -Mod('tcoil', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tcoil.ma11.config', - remote_paths='.', -) - -Mod('table', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='table.ma11.config', - remote_paths='.', -) - -Mod('lnv', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='lnv.ma11.config', - remote_paths='.', -) - -Mod('lpr', - 'frappy_psi.sea.SeaDrivable', - io='seaconn', - json_descr='lpr.ma11.config', - remote_paths='.', -) - -Mod('lambdawatch', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='lambdawatch.ma11.config', - remote_paths='.', -) - -Mod('ts', - 'frappy_psi.sea.SeaDrivable', - io='seaconn', - json_descr='ts.dil4.stick', - remote_paths='.', -) - -Mod('treg', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='treg.dil4.stick', - remote_paths='.', -) - -Mod('tmon', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tmon.dil4.stick', - remote_paths='.', -) - -Mod('sorb', - 'frappy_psi.sea.SeaDrivable', - io='seaconn', - json_descr='sorb.dil4.stick', - remote_paths='.', -) - -Mod('ultrasound', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='ultrasound.ultrasound.addon', - remote_paths='.', -) - -Mod('fn', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='fn.ultrasound.addon', - remote_paths='.', -) - -Mod('mirror', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='mirror.ultrasound.addon', - remote_paths='.', -) - -Mod('f', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='f.ultrasound.addon', - remote_paths='.', -) - -Mod('pars', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='pars.ultrasound.addon', - remote_paths='.', -) diff --git a/cfg/prep6_cfg.py b/cfg/prep6_cfg.py deleted file mode 100644 index ecafc6b..0000000 --- a/cfg/prep6_cfg.py +++ /dev/null @@ -1,81 +0,0 @@ -# error creating tvs -# error creating tvd -# error creating pstat -# error creating pdyn -# error creating tneck1 -# error creating tneck2 -# error creating tnvs -# error creating tnvd -# error creating ts -Node('varioxB_vb.psi.ch', - 'varioxB_vb over SEA', - interface='tcp://10767', -) - -Mod('seaconn', - 'frappy_psi.sea.SeaClient', - 'a SEA connection', -) - -Mod('tvs', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tvs.varioxB.config', - remote_paths='.', -) - -Mod('tvd', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tvd.varioxB.config', - remote_paths='.', -) - -Mod('pstat', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='pstat.varioxB.config', - remote_paths='.', -) - -Mod('pdyn', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='pdyn.varioxB.config', - remote_paths='.', -) - -Mod('tneck1', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tneck1.varioxB.config', - remote_paths='.', -) - -Mod('tneck2', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tneck2.varioxB.config', - remote_paths='.', -) - -Mod('tnvs', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tnvs.varioxB.config', - remote_paths='.', -) - -Mod('tnvd', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='tnvd.varioxB.config', - remote_paths='.', -) - -Mod('ts', - 'frappy_psi.sea.SeaReadable', - io='seaconn', - json_descr='ts.vb.stick', - remote_paths='.', -) diff --git a/cfg/sim_mlz_ccr12_cfg.py b/cfg/sim_mlz_ccr12_cfg.py deleted file mode 100644 index 4a01f89..0000000 --- a/cfg/sim_mlz_ccr12_cfg.py +++ /dev/null @@ -1,218 +0,0 @@ -Node('ccr12', - '''[sim] CCR12 box of MLZ Sample environment group - - Contains a Lakeshore 336 and an PLC controlling the compressor - and some valves. - - This is how we use it now.''', - interface='tcp://10767', -) - -Mod('T_ccr12', - 'frappy.simulation.SimDrivable', - description='Main temperature control node of CCR12.\n\nSwitches between regulation on stick and regulation on tube depending on temperature requested.\nMay also pump gas for higher temperatures, if configured.\n\nNote: in nicos this is handled by its own class which manages T_ccr12_stick and T_ccr12_tube.\nin this simulation this module is isolated.', - extra_params=['ramp'], - ramp=Param( - datatype=FloatRange(unit='K/min', minval=0.0, maxval=60.0), - default=60.0, - ), - value=Param( - datatype=FloatRange(unit='K', minval=0.0, maxval=600.0), - default=300.0, - ), - target=Param( - datatype=FloatRange(unit='K', minval=0.0, maxval=600.0), - default=300.0, - ), - meaning=('temperature_regulation', 20), -) - -Mod('T_ccr12_stick', - 'frappy.simulation.SimDrivable', - description='Temperature regulation for the sample stick in ccr12.', - extra_params=['ramp'], - ramp=Param( - datatype=FloatRange(unit='K/min', minval=0.0, maxval=60.0), - default=60.0, - ), - value=Param( - datatype=FloatRange(unit='K', minval=0.0, maxval=600.0), - default=300.0, - ), - target=Param( - datatype=FloatRange(unit='K', minval=0.0, maxval=600.0), - default=300.0, - ), - meaning=('temperature_regulation', 15), -) - -Mod('T_ccr12_tube', - 'frappy.simulation.SimDrivable', - description='Temperature regulation for the tube of ccr12.', - extra_params=['ramp'], - ramp=Param( - datatype=FloatRange(unit='K/min', minval=0.0, maxval=60.0), - default=60.0, - ), - value=Param( - datatype=FloatRange(unit='K', minval=0.0, maxval=600.0), - default=300.0, - ), - target=Param( - datatype=FloatRange(unit='K', minval=0.0, maxval=600.0), - default=300.0, - ), - meaning=('temperature_regulation', 10), -) - -Mod('T_ccr12_A', - 'frappy.simulation.SimReadable', - description='(optional) Sample temperature sensor.', - value=Param( - datatype=FloatRange(unit='K'), - default=300.0, - ), - meaning=('temperature', 9), -) - -Mod('T_ccr12_B', - 'frappy.simulation.SimReadable', - description='(regulation) temperature sensor on stick.', - value=Param( - datatype=FloatRange(unit='K'), - default=300.0, - ), - meaning=('temperature', 10), -) - -Mod('T_ccr12_C', - 'frappy.simulation.SimReadable', - description='Temperature at the coldhead.', - value=Param( - datatype=FloatRange(unit='K'), - default=70.0, - ), - meaning=('temperature', 1), -) - -Mod('T_ccr12_D', - 'frappy.simulation.SimReadable', - description='(regulation) temperature at coupling to stick.', - value=Param( - datatype=FloatRange(unit='K'), - default=80.0, - ), - meaning=('temperature', 2), -) - -Mod('ccr12_pressure_regulate', - 'frappy.simulation.SimWritable', - description='Selects on which Sensor the pressure regulation works, or switches it off.', - visibility='expert', - value=Param( - datatype=EnumType('', off=0, p1=1, p2=2), - default='off', - ), - target=Param( - datatype=EnumType('', off=0, p1=1, p2=2), - default='off', - ), -) - -Mod('ccr12_compressor', - 'frappy.simulation.SimDrivable', - description='Switches the compressor for the cooling stage on or off.\n\nNote: This should always be on, except for fast heatup for sample change.', - value=Param( - datatype=EnumType('', off=0, on=1), - default='on', - ), - target=Param( - datatype=EnumType('', off=0, on=1), - default='on', - ), -) - -Mod('ccr12_gas_switch', - 'frappy.simulation.SimWritable', - description='Switches the gas inlet on or off.\n\nnote: in reality this switches itself off after 15min.\nnote: in reality this is interlocked with ccr12_vacuum_switch, only one can be on!\nnote: in this simulation this module is isolated.', - value=Param( - datatype=EnumType('', off=0, on=1), - default='off', - ), - target=Param( - datatype=EnumType('', off=0, on=1), - default='off', - ), -) - -Mod('ccr12_vacuum_switch', - 'frappy.simulation.SimWritable', - description='Switches the vacuum pumping valve on or off.\n\nnote: in reality this is interlocked with ccr12_gas_switch, only one can be on!\nnote: in this simulation this module is isolated.', - value=Param( - datatype=EnumType('', off=0, on=1), - default='off', - ), - target=Param( - datatype=EnumType('', off=0, on=1), - default='off', - ), -) - -Mod('ccr12_p1', - 'frappy.simulation.SimReadable', - description='Default pressure Sensor, linear scale 0..1000mbar', - value=Param( - datatype=FloatRange(unit='mbar'), - default=999.0, - ), -) - -Mod('ccr12_p2', - 'frappy.simulation.SimReadable', - description='Auxillary pressure Sensor.', - value=Param( - datatype=FloatRange(unit='mbar'), - default=1e-06, - ), -) - -Mod('ccr12_curve_p2', - 'frappy.simulation.SimWritable', - description='Curve for Aux pressure Sensor p2', - visibility='expert', - value=Param( - default='TTR100', - datatype=EnumType('', 0..10V=0, default=1, 0..9V=2, DI200=3, DI2000=4, TTR100=7, PTR90=8, PTR225/PTR237=9, ITR90=10, ITR100 curve D=11, ITR100 curve 2=12, ITR100 curve 3=13, ITR100 curve 4=14, ITR100 curve 5=15, ITR100 curve 6=16, ITR100 curve 7=17, ITR100 curve 8=18, ITR100 curve 9=19, ITR100 curve A=20, CMR361=21, CMR362=22, CMR363=23, CMR364=24, CMR365=25), - ), - target=Param( - datatype=EnumType('', 0..10V=0, default=1, 0..9V=2, DI200=3, DI2000=4, TTR100=7, PTR90=8, PTR225/PTR237=9, ITR90=10, ITR100 curve D=11, ITR100 curve 2=12, ITR100 curve 3=13, ITR100 curve 4=14, ITR100 curve 5=15, ITR100 curve 6=16, ITR100 curve 7=17, ITR100 curve 8=18, ITR100 curve 9=19, ITR100 curve A=20, CMR361=21, CMR362=22, CMR363=23, CMR364=24, CMR365=25), - ), -) - -Mod('ccr12_p1_limits', - 'frappy.simulation.SimWritable', - description='Limits for pressure regulation in P1.', - visibility='expert', - value=Param( - datatype=TupleOf(FloatRange(unit='mbar', minval=0.0, maxval=1000.0), FloatRange(unit='mbar', minval=0.0, maxval=1000.0)), - default=(0.0, 10.0), - ), - target=Param( - datatype=TupleOf(FloatRange(unit='mbar', minval=0.0, maxval=1000.0), FloatRange(unit='mbar', minval=0.0, maxval=1000.0)), - default=(0.0, 10.0), - ), -) - -Mod('ccr12_p2_limits', - 'frappy.simulation.SimWritable', - description='Limits for pressure regulation in P2.', - visibility='expert', - value=Param( - datatype=TupleOf(FloatRange(unit='mbar', minval=0.0, maxval=1000.0), FloatRange(unit='mbar', minval=0.0, maxval=1000.0)), - default=(1e-05, 0.001), - ), - target=Param( - datatype=TupleOf(FloatRange(unit='mbar', minval=0.0, maxval=1000.0), FloatRange(unit='mbar', minval=0.0, maxval=1000.0)), - default=(1e-05, 0.001), - ), -)