tops.dynamic
Classes
Module Contents
- class tops.dynamic.PowerSystemModel(model, user_mdl_lib=None)
- user_mdl_lib = None
- model
- perform_kron_reduction = False
- pf_max_it = 10
- pf_tol = 1e-08
- s_n
- f_n
- slack_bus
- buses
- n_bus = 1
- y_bus_lf = None
- power_flow_ready = False
- setup_ready = False
- initialization_ready = False
- sys_data
- dyn_mdls = []
- dyn_mdls_dict
- add_model_data(model_data)
- setup()
- build_y_bus_lf()
- build_y_bus_dyn()
- power_flow(print_output=False)
- kron_reduction(y_bus, keep_buses)
- define_state_vector()
- init_dyn_sim()
- state_derivatives(t, x, v_red)
- solve_algebraic(t, x)
Solves algebraic equations given states :param t: :param x: :return:
- no_fun()
- ode_fun(t, x)
Can be integrated with any ODE-integration method (e.g. Euler, Runge-Kutta etc.) :param t: :param x: :return: