orangeqs.juice.fridge.mock_settings#

Fridge settings schemas.

Module Contents#

Classes#

MockPTSettings

Settings for Mock Pulse Tube Compressors.

MockHeaterSettings

Settings for Heater Units.

MockThermometerSettings

Settings for Mock Thermometer.

MockThermometrySettings

Settings for Mock Thermometry Units.

MockGHSSettings

Settings for Bluefors Gas Handling System Units.

MockFridgeConfig

Configurations for the Mock OrangeQS Juice Fridge Service.

API#

class orangeqs.juice.fridge.mock_settings.MockPTSettings(/, **data: Any)#

Bases: orangeqs.juice.settings.BaseConfigurable

Settings for Mock Pulse Tube Compressors.

low_pressure: float#

‘Field(…)’

Specifies the low pressure reading of the compressor in bar.

high_pressure: float#

‘Field(…)’

Specifies the high pressure reading of the compressor in bar.

coolant_in_temperature: float#

‘Field(…)’

Specifies the coolant in temperature of the compressor in Kelvin.

coolant_out_temperature: float#

‘Field(…)’

Specifies the coolant out temperature of the compressor in Kelvin.

oil_temperature: float#

‘Field(…)’

Specifies the oil temperature of the compressor in Kelvin.

helium_temperature: float#

‘Field(…)’

Specifies the helium temperature of the compressor in Kelvin.

motor_current: float#

‘Field(…)’

Specifies the motor current of the compressor in Amperes.

class orangeqs.juice.fridge.mock_settings.MockHeaterSettings(/, **data: Any)#

Bases: orangeqs.juice.settings.BaseConfigurable

Settings for Heater Units.

resistance: Annotated[float, Field(gt=0)]#

None

Resistance of the heater in Ohms.

max_power: Annotated[float, Field(gt=0)]#

None

Maximum power of the heater in Watts.

class orangeqs.juice.fridge.mock_settings.MockThermometerSettings(/, **data: Any)#

Bases: orangeqs.juice.settings.BaseConfigurable

Settings for Mock Thermometer.

mock_temperature: Annotated[float, Field(ge=0.0)]#

None

Mock temperature reading of the thermometer in Kelvin.

level: Literal[50K, 3K, Still, 50mK, Mixing Chamber]#

None

Thermometer level or stage.

class orangeqs.juice.fridge.mock_settings.MockThermometrySettings(/, **data: Any)#

Bases: orangeqs.juice.settings.BaseConfigurable

Settings for Mock Thermometry Units.

component_id: str#

‘thermometry_unit_1’

Component ID of the thermometry unit.

thermometers: dict[str, orangeqs.juice.fridge.mock_settings.MockThermometerSettings]#

None

Dictionary of thermometers in the system.

class orangeqs.juice.fridge.mock_settings.MockGHSSettings(/, **data: Any)#

Bases: orangeqs.juice.settings.BaseConfigurable

Settings for Bluefors Gas Handling System Units.

component_id: str#

‘ghs’

Component ID of the gas handling system.

valves: dict[str, str]#

None

Dictionary mapping valve name to ID in the GHS.

pumps: dict[str, str]#

None

Dictionary mapping pump name to ID in the GHS.

pressure_sensors: dict[str, str]#

None

Dictionary mapping pressure sensor name to ID in the GHS.

class orangeqs.juice.fridge.mock_settings.MockFridgeConfig(/, **data: Any)#

Bases: orangeqs.juice.fridge._base_config.FridgeBaseConfig

Configurations for the Mock OrangeQS Juice Fridge Service.

filename: ClassVar[str]#

‘mock-fridge’

legacy_filenames: ClassVar[tuple[str, ...]]#

(‘mock-system-monitor’,)

heaters: dict[str, orangeqs.juice.fridge.mock_settings.MockHeaterSettings]#

‘Field(…)’

Dictionary mapping heater name to settings.

ghs: orangeqs.juice.fridge.mock_settings.MockGHSSettings#

‘Field(…)’

Settings for the Gas Handling System.

thermometry: orangeqs.juice.fridge.mock_settings.MockThermometrySettings#

‘Field(…)’

Settings for the Thermometry Unit.

compressors: dict[str, orangeqs.juice.fridge.mock_settings.MockPTSettings]#

‘Field(…)’

Dictionary mapping compressor name to settings.