Space Station 13 - Modules - TypesVar Details - Proc Details

regional_powernet

Vars

available_powerthe current available power in the powernet (Watts)
cablesA list of All cables & junctions in this powernet
excess_powerexcess power on the powernet (typically avail-load) (Watts)
nodesAll Power Machines that are connected to this powernet
numberThe Powernet Unique ID Number
power_demandthe current load on the powernet, increased by each machine at processing (Watts)
queued_power_demandload applied to powernet between power ticks. (Watts)
queued_power_productionwhat available power was gathered last tick, then becomes... (Watts)
smoothed_available_powerthe available power as it appears on the power console (gradually updated) (Watts)
smoothed_demandthe load as it appears on the power console (gradually updated)

Procs

add_cableadd a cable to the current powernet
add_machineadd a power machine to the current powernet
calculate_power_balanceReturns the non-clamped difference between available power on the net and the demanded power, i.g. consumption vs. supply
calculate_surplusReturns the clamped difference between available power on the net and the demanded power, i.g. the surplus power available
remove_cableremove a cable from the current powernet, if the powernet is empty after, delete it
remove_machineremove a power machine from the current powernet, if the powernet is then empty, delete it

Var Details

available_power

the current available power in the powernet (Watts)

cables

A list of All cables & junctions in this powernet

excess_power

excess power on the powernet (typically avail-load) (Watts)

nodes

All Power Machines that are connected to this powernet

number

The Powernet Unique ID Number

power_demand

the current load on the powernet, increased by each machine at processing (Watts)

queued_power_demand

load applied to powernet between power ticks. (Watts)

queued_power_production

what available power was gathered last tick, then becomes... (Watts)

smoothed_available_power

the available power as it appears on the power console (gradually updated) (Watts)

smoothed_demand

the load as it appears on the power console (gradually updated)

Proc Details

add_cable

add a cable to the current powernet

add_machine

add a power machine to the current powernet

calculate_power_balance

Returns the non-clamped difference between available power on the net and the demanded power, i.g. consumption vs. supply

calculate_surplus

Returns the clamped difference between available power on the net and the demanded power, i.g. the surplus power available

remove_cable

remove a cable from the current powernet, if the powernet is empty after, delete it

remove_machine

remove a power machine from the current powernet, if the powernet is then empty, delete it