Environment Parameters
R2026bSet parameters that apply to all connected SPICE-compatible blocks
Libraries:
Simscape /
Electrical /
Utilities
Description
The Environment Parameters block lets you set parameters that apply to all SPICE-compatible blocks in an electrical network:
Circuit temperature
Minimum conductance
If your model does not contain an Environment Parameters block, all blocks use the default values of these parameters. To override the default values, connect every network in the system to an Environment Parameters block.
Note
The simple semiconductor models in the Semiconductors sublibrary are not temperature dependent, so the Environment Parameters block only changes the minimum conductance parameter used by the exponential diode and bipolar transistor models.
Examples
Ports
Conserving
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"ee_lib/Utilities/Environment Parameters"
Example: add_block("ee_lib/Utilities/Environment Parameters","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2008a



