Environment
The intercity, city, buildings, wiring closets, and generic containers all have an environment. There are a couple dozen default environments, such as temperature, rain, water level, wind speed, and snow. When no devices are affecting the environment, their values are looped on a 24-hour cycle. For example, the sun will come up at 6am and set at 6pm. The ambient temperature will peak at 25°C at noon. This cycle is set on the intercity level and its ambient temperature range will propagate all the way down to the main wiring closet automatically. If a heater is added to the Corporate Office and turned on, the temperature inside the Corporate Office will increase along with all the containers within it. Note however, the heater does not heat up the parent container, Home City, it will only heat up the child containers. When the heater is turned off, the Corporate Office will eventually converge to the parent container's ambient temperature, Home City, based on its transference value. Different containers may have different levels of insulation and thus different transference values; the transference values determine the rate that the child container converges with the parent container and works the same way for all environment types.
Many devices or Things affect or respond to the environment in some way. A Fire Sprinkler will raise the water level and humidity in a container. An old car will increase various gases and ambient temperature when turned on. A smoke detector can be used to trigger an alarm when the smoke in environment increases to a certain point. A full range of devices and things that respond and affect the environment is listed below.
Environment Dialog
The Environment Dialog allows you to view and edit the environment inside the physical containers.
To open the environment dialog, press the Environment button on the Logical or Realtime toolbars.
Location: The physical location of the container. You can change the location by selecting the drop-down or simply navigate Physical View.
Time: The current time. The environment time is decoupled from the network simulation time. This is a modelling limitation; typically the environment time moves much faster than the network time. On large networks, a modern computer may struggle to keep up with 2x realtime for the network simulation, while the default environment time is at 30x by default.
Environment Values Tree: At a glance view of environments that are set to show. You can filter the values to show only the environments you are interested in.
Chart: To view a chart of the environment, click on an environment name from the Environment Values Tree.
Always on Top: At the very bottom of the dialog, it is possible to set this dialog to be always on top.
Environment Dialog Edit Mode
To enter edit mode, click on the Edit button next to the location or environment values header. In Edit mode, you can change the timescale and create keyframes to manipulate how the environment should behave over a 24 hour cycle.
Environment Dialog Edit Mode: Timescale
The timescale determines how fast the simulation should evaluate time. Selecting 1 second is equal to 30 simulated minutes means that in one second of real time, 30 minutes would have passed in our simulation, two seconds would be an hour, and so on.
The simulation evaluates the environment based on the timescale settings and interpolates in between. A rule of thumb is to set your timescale to the smallest value between keyframes. For example, if your smallest keyframe spacing is 15 minutes, your timescale should be 1 second in real time is equal to 15 simulated minutes.
Recall that the environment time is decoupled from the network simulation time. This is a modelling limitation; typically the environment time moves much faster than the network time. On large networks, a modern computer may struggle to keep up with 2x realtime for the network simulation, while the default environment time is at 30x.
Environment Dialog Edit Mode: Keyframe Graph
Keyframes is one way to affect the environment. Transference to the parent and Things on the workspace also affects the current environment value.
The graph is set to a 24 hour cycle from 00:00:00 to 23:59:59. During simulation, this keyframe graph will continuously loop.
These are the ways that the environment keyframe graph can be manipulated:
Environment Dialog Edit Mode: Advanced
It is recommended that you use the keyframe graph to create the keyframes and then use Advanced mode to tweak the values. Keyframes created in the keyframe graph are available in this mode and are synchronized both ways. In this mode, you are able to edit the keyframes in a tree form with more capabilities.
Time Line: The time shown here is the keyframe time. If the time is changed to a time that does not contain a keyframe, the keyframe is considered NEW. After changing the environment values, the keyframe must be added for the values to be saved.
Keyframe Navigation: Click "Next" to go to the next keyframe, "Previous" to go to the previous keyframe.
Keyframes Adding and Removal: Click "Add Keyframe" to add a keyframe and "Remove" to remove a keyframe.
Defaults: Different physical container levels may have different default values for each environment. When importing those values, all existing keyframes and values are replaced. It is also possible to export and import your own values to use with other physical containers or other Packet Tracer saved files.
Notes: These notes can be used to describe the environment for the user or as notes for the author. To have the notes show up in the view mode, be sure to check the "Show Notes in View Mode" checkbox.
Environment Tree: There are a set of environment values for each keyframe. To activate an environment for the current keyframe, select the checkbox to the left of the environment name.
The following, including the Advanced Settings, are global settings that apply to all keyframes when their values are updated:
More Advanced Settings: to enable additional settings for the environment, select the "Advanced Settings" checkbox.
Environment Dialog Edit Mode: Custom Environments
Custom environments allows you to create environments that are unique to your Packet Tracer file. When a custom environment is created, they only exist in the container that it was created in. You will have to recreate them for all other containers that you wish to have the custom environment. Custom environments work the same way as the built in environments. However, none of the Things will affect or respond to the custom environment and will have to be created.
Category: Select from a dozen or so categories that the custom environment should be in.
Environment ID: The ID is what Things use to reference this environment in programming.
Environment Display Name: The name is what's shown in the Environment Dialog.
Metric Unit: The unit in metric.
Imperial Unit: The unit in imperial.
Metric to Imperial Conversion Formula: The formula must contain x, which is the metric value.
Imperial to Metric Conversion Formula: The formula must contain x, which is the imperial value.
Environment Dialog Edit Mode: Display Tools
Copy Show From Parent: For all keyframes, copy the show checkbox from the parents. This will merge the current shows with the parent.
Show Actives: Only show keyframes that are active for this keyframe.
Hide All: Uncheck all the show checkboxes for the keyframes.
Things That Affect and Respond to the Environment
Things can also affect or respond to the environment. The size of the physical container matters. If a heater is added at the city level, it will barely affect the city versus putting the container inside a building or a small room. All the rates of change specified below applies to a container that is 100000 cm3 in size.
Below is a table of things and their behaviors with respect to the Environment:
Note: Please refer to the Specifications tab of the device inside the Application for a description of its features, usage, controls, and examples.
Thing | Icon | Environment Behavior |
ATM Pressure Sensor | Detects the Atmospheric Pressure and displays it. The default detection range is from 0 to 110 kPa.
|
|
Carbon Dioxide Detector | Detects Carbon Dioxide. | |
Carbon Monoxide Detector | Detects Carbon Monoxide. | |
Door | Affects Argon, Carbon Monoxide, Carbon Dioxide, Hydrogen, Helium, Methane, Nitrogen, O2, Ozone, Propane, and Smoke. When the door is opened, those gases will decrease to a maximum of 2% in total change. When the door is opened, the rate of transference for Humidity and Temperature is increased by 25%. The rate of transference for gases is increased by 100%. |
|
Fan | Affects Wind Speed, Humidity, and Ambient Temperature. At Low Speed Setting, the Wind Speed is set to 0.4 kph. The rate of cooling the Ambient Temperature is set to -1C/hour. The rate of reducing the Humidity is set to -1% per hour. At High Speed Setting, the Wind Speed is set to 0.8 kph. The rates of change for Ambient Temperature and Humidity is two times of the low setting. |
|
Fire Sprinkler, Ceiling Sprinkler |
Affects Water Level at a rate of 0.1 cm per second. Affects Humidity at a rate of 5% per hour. |
|
Garage Door | Affects Argon, Carbon Monoxide, Carbon Dioxide, Hydrogen, Helium, Methane, Nitrogen, O2, Ozone, Propane, and Smoke. When the door is opened, those gases will decrease to a maximum of 4% in total change. When the door is opened, the rate of transference for Humidity and Temperature is increased by 50%. The rate of transference for gases is increased by 100%. |
|
Home Speaker, Speaker |
Affects Sound Volume at 65 dB. Affects Sound Pitch at 20 CPS to 60 CPS. Affects White Noise at 20%. |
|
Humidifier | Affects Humidity at a rate of 1% per hour. | |
Humidity Sensor | Detects Humidity. | |
Humiture Monitor, Humiture Sensor |
Detects Ambient Temperature and Humidity and outputs the value as a sum of the Ambient Temperature and Humidity divided by 2. | |
Lawn Sprinkler, Floor Sprinkler |
Affects Water Level at a rate of 0.1 cm per second. Affects Humidity at a rate of 5% per hour. |
|
LED | Affects Visible Light with a maximum output of 1%. | |
Light | Affects Visible Light with a maximum output of 20%. | |
Old Car | Affects Carbon Monoxide at a rate of 1% per hour. Affects Carbon Dioxide at a rate of 2% per hour. Affects Smoke at a rate of 3% per hour. Affects Ambient Temperature at a rate of 1% per hour. |
|
Photo Sensor | Detects Visible Light. | |
Piezo Speaker | Affects Sound Volume at 10 dB. Affects Sound Pitch 20 CPS. |
|
RGB LED | Affects Visible Light with a maximum output of 2%. | |
Smart LED, Dimmable LED |
Affects Visible Light with a maximum output of 3%. | |
Smoke Detector, Smoke Sensor |
Detects Smoke. | |
Solar Panel | Detects Sunlight to generate electricity. | |
Temperature Monitor | Detects Ambient Temperature. | |
Temperature Sensor | Detects Ambient Temperature. | |
Water Level Monitor, Water Detector |
Detects Water Level. | |
Wind Sensor | Detects Wind Speed. | |
Wind Turbine | Detects Wind Speed to generate electricity. | |
Window | Affects Argon, Carbon Monoxide, Carbon Dioxide, Hydrogen, Helium, Methane, Nitrogen, O2, Ozone, Propane, and Smoke. When the door is opened, those gases will decrease to a maximum of 1% in total change. When the door is opened, the rate of transference for Humidity and Temperature is increased by 20%. The rate of transference for gases is increased by 100%. |
|
Drain Actuator | Affects Water Level at a rate of -0.5 cm per second. | |
Sound Frequency Detector | Detects Sound Pitch and displays it. | |
Furnace, Heating Element |
Affects Humidity at a rate of -2% per hour. Affects Ambient Temperature at a rate of 10°C per hour. |
|
AC, Air Cooler |
Affects Humidity at a rate of -2% per hour. Affects Ambient Temperature at a rate of -10°C per hour. |