Using Simulink |
 |
Some Things to Try
Here are several things to try to see how the model responds to different parameters:
- Each Scope block contains one or more signal display areas and controls that enable you to select the range of the signal displayed, zoom in on a portion of the signal, and perform other useful tasks. The horizontal axis represents time and the vertical axis represents the signal value.
- The Constant block labeled Set Point (at the top left of the model) sets the desired internal temperature. Open this block and reset the value to 80 degrees. See how the indoor temperature and heating costs change. Also, adjust the outside temperature (the Avg Outdoor Temp block) and see how it affects the simulation.
- Adjust the daily temperature variation by opening the Sine Wave block labeled Daily Temp Variation and changing the Amplitude parameter.
What This Demo Illustrates
This demo illustrates several tasks commonly used when you are building models:
- Running the simulation involves specifying parameters and starting the simulation with the Start command, described in Diagnosing Simulation Errors.
- You can encapsulate complex groups of related blocks in a single block, called a subsystem. See Creating Subsystems for more information.
- You can create a customized icon and design a dialog box for a block by using the masking feature, described in detail in Creating Masked Subsystems. In the
thermo
model, all Subsystem blocks have customized icons created using the masking feature.
- Scope blocks display graphic output much as an actual oscilloscope does.
| Quick Start | | Other Useful Demos |  |