Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Turn off all loads in a zone.

Does anyone know of an easy way to turn off (set status to off) all loads within a particular zone?

I imagine I could use some combination of the bsys subsystem definition, and the subsystem retrieval functions ( aloadint(), aloadchar(), etc... ) to retrieve all the bus numbers and IDs within a particular zone, and then loop over those results using loadchange4() to set each one's status to off...

Is there an easier way? I'm thinking of some parallel to scal_2()... if only that function had the ability to set the status flag...