ChimeraTK-ApplicationCore  04.01.00
oven_sim Namespace Reference

Variables

 dev = da.Device('device')
 
float c = 0.001
 
float h = 0.0003
 
int ovenTemp = 25.
 
int environment = 25.
 
 currentSetpoint = dev.getScalarRegisterAccessor(np.double, "HEATER.CURRENT_SET")
 
 currentReadback = dev.getScalarRegisterAccessor(np.double, "HEATER.CURRENT_READBACK.DUMMY_WRITEABLE")
 
 tempratureReadback = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE1.DUMMY_WRITEABLE")
 
 temperatureTop = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE2.DUMMY_WRITEABLE")
 
 temperatureBottom = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE3.DUMMY_WRITEABLE")
 
 temperatureOutside = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE4.DUMMY_WRITEABLE")
 
 I = currentSetpoint[0];
 
int tempChange = 1 * (I*h + (environment-ovenTemp)*c)
 

Variable Documentation

◆ c

float oven_sim.c = 0.001

Definition at line 30 of file oven_sim.py.

◆ currentReadback

oven_sim.currentReadback = dev.getScalarRegisterAccessor(np.double, "HEATER.CURRENT_READBACK.DUMMY_WRITEABLE")

Definition at line 42 of file oven_sim.py.

◆ currentSetpoint

oven_sim.currentSetpoint = dev.getScalarRegisterAccessor(np.double, "HEATER.CURRENT_SET")

Definition at line 39 of file oven_sim.py.

◆ dev

oven_sim.dev = da.Device('device')

Definition at line 26 of file oven_sim.py.

◆ environment

int oven_sim.environment = 25.

Definition at line 36 of file oven_sim.py.

◆ h

float oven_sim.h = 0.0003

Definition at line 33 of file oven_sim.py.

◆ I

oven_sim.I = currentSetpoint[0];

Definition at line 53 of file oven_sim.py.

◆ ovenTemp

int oven_sim.ovenTemp = 25.

Definition at line 35 of file oven_sim.py.

◆ tempChange

int oven_sim.tempChange = 1 * (I*h + (environment-ovenTemp)*c)

Definition at line 54 of file oven_sim.py.

◆ temperatureBottom

oven_sim.temperatureBottom = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE3.DUMMY_WRITEABLE")

Definition at line 47 of file oven_sim.py.

◆ temperatureOutside

oven_sim.temperatureOutside = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE4.DUMMY_WRITEABLE")

Definition at line 48 of file oven_sim.py.

◆ temperatureTop

oven_sim.temperatureTop = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE2.DUMMY_WRITEABLE")

Definition at line 46 of file oven_sim.py.

◆ tempratureReadback

oven_sim.tempratureReadback = dev.getScalarRegisterAccessor(np.double, "SENSORS.TEMPERATURE1.DUMMY_WRITEABLE")

Definition at line 45 of file oven_sim.py.