# Disabling block with physical components

**URL:** <https://forum.plexim.com/t/disabling-block-with-physical-components/3201>\
**Category:** PLECS\
**Created:** [July 7, 2026, 8:15am UTC](https://forum.plexim.com/t/disabling-block-with-physical-components/3201 "2026-07-07T08:15:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![RetoChristen](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/retochristen/32/1225_2.png) [@RetoChristen](https://forum.plexim.com/u/RetoChristen)\
**Post date:** [July 8, 2026, 2:58pm UTC](https://forum.plexim.com/t/disabling-block-with-physical-components/3201/5 "2026-07-08T14:58:40Z")

</div>

A convenient way to do this is to use a **Configurable Subsystem**.

Run the simulation first with the **sub-cycle average** model. Once the simulation has reached the desired operating point, store the system state. Then switch the configurable subsystem to the **switched** model and restart the simulation from the stored system state.

The complete workflow is described in this forum post:

> [@Runtime Parameter Modifications with Scripting for Changing Thermal Parameters During Simulation](https://forum.plexim.com/t/runtime-parameter-modifications-with-scripting-for-changing-thermal-parameters-during-simulation/2445):
>
> This thread presents three example models that use scripted simulation in PLECS to modify thermal or electrical parameters during runtime. All examples demonstrate similar scripting concepts but target different applications. Note: Although these examples focus on thermal simulations, the workflow can be applied to many other use cases. Each model includes both internal Octave scripts and equivalent Python scripts. rg\_change The simulation runs until a specified current threshold is reached…

I’ve also attached a small boost converter example. Run the simulation script via **Simulation \> Simulation Scripts…**. The script demonstrates exactly this workflow: it runs the average model, stores the system state, switches to the switched model, and continues the simulation from the stored state.  
[boost\_converter\_configuration\_change.plecs](https://forum.plexim.com/uploads/short-url/jxF3wWmIgHuCgGGLu3VTT3FtcyP.plecs) (15.4 KB)

---

_[View the full topic](https://forum.plexim.com/t/disabling-block-with-physical-components/3201)._
