andes.routines.se.SE#

class andes.routines.se.SE(system=None, config=None)[source]#

State estimation routine.

Supports static SE (single snapshot, WLS by default) and will support dynamic SE (time-stepping with EKF/UKF) in a future phase.

Static SE estimates bus voltage magnitudes and angles from a set of measurements. Requires a converged power flow as starting point.

Examples

Basic usage with auto-generated measurements:

ss = andes.load('ieee14.raw')
ss.PFlow.run()
ss.SE.run()

With custom measurements:

from andes.se import Measurements
m = Measurements(ss)
m.add('Bus', 'v', idx=[1, 2, 6, 8], sigma=0.005)
m.add_bus_injection(sigma_p=0.02, sigma_q=0.03)
m.generate_from_pflow(seed=42)
ss.SE.run(measurements=m)
__init__(system=None, config=None)[source]#

Methods

chi_squared_test([confidence])

Perform chi-squared test on the SE result.

doc([max_width, export])

Routine documentation interface.

init([measurements, algorithm])

Initialize state estimation.

report()

Log a summary of SE results.

run([measurements, algorithm])

Run static state estimation.

summary([algo])

Print SE configuration summary.

Attributes

a_est

Estimated bus voltage angles (radians).

class_name

v_est

Estimated bus voltage magnitudes.