Jump to content

Component: Oven Simulation (Scenarios): Difference between revisions

From Flowcode Help
m Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder""
 
(5 intermediate revisions by the same user not shown)
Line 43: Line 43:


===OutputAnalogue===
===OutputAnalogue===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OutputAnalogue'''
| width="90%" class="mtx-class-macrohead" | '''OutputAnalogue'''
|-
|-
| colspan="2" | Switch the oven element partially on, probably using something like PWM connected via a TRIAC or FET. 
| colspan="2" | Switch the oven element partially on, probably using something like PWM connected via a TRIAC or FET. 
Line 62: Line 62:


===OutputOff===
===OutputOff===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OutputOff'''
| width="90%" class="mtx-class-macrohead" | '''OutputOff'''
|-
|-
| colspan="2" | Switch the oven element off, probably using something like a relay. 
| colspan="2" | Switch the oven element off, probably using something like a relay. 
Line 76: Line 76:


===OutputOn===
===OutputOn===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''OutputOn'''
| width="90%" class="mtx-class-macrohead" | '''OutputOn'''
|-
|-
| colspan="2" | Switch the oven element on, probably using something like a relay. 
| colspan="2" | Switch the oven element on, probably using something like a relay. 
Line 90: Line 90:


===ReadElementTemperature===
===ReadElementTemperature===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadElementTemperature'''
| width="90%" class="mtx-class-macrohead" | '''ReadElementTemperature'''
|-
|-
| colspan="2" | Reads the temperature of the heater element 
| colspan="2" | Reads the temperature of the heater element 
Line 104: Line 104:


===ReadOvenTemperature===
===ReadOvenTemperature===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadOvenTemperature'''
| width="90%" class="mtx-class-macrohead" | '''ReadOvenTemperature'''
|-
|-
| colspan="2" | Reads the air temperature inside the oven 
| colspan="2" | Reads the air temperature inside the oven 
Line 118: Line 118:


===ReadPowerUsage===
===ReadPowerUsage===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ReadPowerUsage'''
| width="90%" class="mtx-class-macrohead" | '''ReadPowerUsage'''
|-
|-
| colspan="2" | Reads the ovens power consumption in KWh. 
| colspan="2" | Reads the ovens power consumption in KWh. 
Line 132: Line 132:


===ResetPowerUsage===
===ResetPowerUsage===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''ResetPowerUsage'''
| width="90%" class="mtx-class-macrohead" | '''ResetPowerUsage'''
|-
|-
| colspan="2" | Resets the recorded power usage to 0KWh 
| colspan="2" | Resets the recorded power usage to 0KWh 
Line 147: Line 147:
==Property reference==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|-
|-
Line 158: Line 158:
| colspan="2" |  
| colspan="2" |  
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Thermal Characteristics
| width="90%" class="mtx-class-propfolder" | Thermal Characteristics
|-
|-
|-
|-
Line 187: Line 187:
| colspan="2" | Ratio of the oven temperature lost to ambient per second. 
| colspan="2" | Ratio of the oven temperature lost to ambient per second. 
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Electrical Characteristics
| width="90%" class="mtx-class-propfolder" | Electrical Characteristics
|-
|-
|-
|-
Line 216: Line 216:
| colspan="2" |  
| colspan="2" |  
|-
|-
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]]
| width="10%" align="center" class="mtx-class-propfolder" | [[File:Fc9-conn-icon.png]]
| width="90%" style="background-color:#EAE1EA; color:#4B008D;" | Simulation
| width="90%" class="mtx-class-propfolder" | Simulation
|-
|-
|-
|-

Latest revision as of 14:37, 13 July 2026

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)