6.1 Draining of a Tank
223
Fig. 6.24 Connector, component, and function structure
connector”;
Interfaces.ReadSignalInput y ”Input sensor level,
connector”;
Real e(unit = ”m”) ”Deviation from reference level”;
equation
e = ref - y;
end BaseController;
This incomplete model simply calculates the magnitude of the error e.
Let us turn to the graphic view, Fig. 6.25.
Fig. 6.25 BaseController screen graphic
223
Fig. 6.24 Connector, component, and function structure
connector”;
Interfaces.ReadSignalInput y ”Input sensor level,
connector”;
Real e(unit = ”m”) ”Deviation from reference level”;
equation
e = ref - y;
end BaseController;
This incomplete model simply calculates the magnitude of the error e.
Let us turn to the graphic view, Fig. 6.25.
Fig. 6.25 BaseController screen graphic
