Jump to content

Component: Oven Simulation (Scenarios)

From Flowcode Help
Revision as of 14:37, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix TSL
Version 1.0
Category Scenarios


Oven Simulation component

Component designed to provide a simple simulation of a real world oven. Can be used with a simple controller such as on/off to create a standard kitchen oven. Can be used with a more complex controller such as PID to create a high accuracy temperature oven e.g. a SMD reflow oven.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_OvenSim.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_OvenSim.fcfx

Detailed description

No detailed description exists yet for this component

Examples

Simulation demo designed to keep oven temperature to a close to 40C as possible

Oven simulation demo

Macro reference

OutputAnalogue

OutputAnalogue
Switch the oven element partially on, probably using something like PWM connected via a TRIAC or FET. 
- FLOAT Value
Range: 0.0 (OFF) to 1.0 (ON) 
- VOID Return


OutputOff

OutputOff
Switch the oven element off, probably using something like a relay. 
- VOID Return


OutputOn

OutputOn
Switch the oven element on, probably using something like a relay. 
- VOID Return


ReadElementTemperature

ReadElementTemperature
Reads the temperature of the heater element 
- FLOAT Return


ReadOvenTemperature

ReadOvenTemperature
Reads the air temperature inside the oven 
- FLOAT Return


ReadPowerUsage

ReadPowerUsage
Reads the ovens power consumption in KWh. 
- FLOAT Return


ResetPowerUsage

ResetPowerUsage
Resets the recorded power usage to 0KWh 
- VOID Return


Property reference

Properties
Element Control Pin
 
Thermal Characteristics
Ambient Room Temperature
Temperature of the surrounding environment 
Max Element Temperature
Max temperature of the heater element when activated. 
Element to Oven Coefficient
Ratio of the heat from the element passed to the heat of the air inside the oven per second. 
Element Heat Coefficient
Ratio of the max element temperature added to the element when powered on per second. 
Oven to Ambient Coefficient
Ratio of the oven temperature lost to ambient per second. 
Electrical Characteristics
Control Voltage AC (V)
Voltage used to drive the heater element in VAC 
RMS Voltage (V)
The effective constant voltage being applied 
Element Resistance (Ohm)
Resistance of the element in Ohms 
Control Current (A)
 
Instantaneous Power (W)
 
Simulation
Calculation Period (ms)