Designing a library for the furnace
Layered furnace model in Matlab/Simulink
three subsystems implementing the layers
external input/output of SimEvents entities ("parts")
included in a minimalistic production line
Communication between layers
MF → PC: number of parts received
batch size reached → PC starts load phase
PC → MF: "leaving" signal
MF sends processed parts to its output
PC → PP: current phase
PP adapts heat flows
PP → PC: temperature of parts and oven
PC ends heat-up phase accordingly
Layer
Parameters
Output quantities
MF
batch size
avg. waiting time, utilization
PC
heating program
time in different phases
PP
heat capacities etc.
power requirement, energy consumption
Example library
2xMF: with / without explicit input tray
3xPC: one pass / several iterations (SimEvents) / Stateflow
3xPP: global losses / detailed model (Simulink) / physical modeling (Simscape)