SYMBOL INDEX (484 symbols across 62 files) FILE: examples/network_callbacks.py function load_step (line 40) | def load_step(t, gain): function update_legend (line 90) | def update_legend(fig): function timeshift (line 127) | def timeshift(component, t): FILE: examples/plotting.py function second_plot (line 6) | def second_plot(fig): FILE: examples/simple_agent.py class RndAgent (line 8) | class RndAgent(Agent): method act (line 9) | def act(self, obs: pd.Series) -> np.ndarray: FILE: examples/single_inverter_current_control_safe_opt.py class Reward (line 44) | class Reward: method __init__ (line 45) | def __init__(self): method set_idx (line 48) | def set_idx(self, obs): method rew_fun (line 54) | def rew_fun(self, cols: List[str], data: np.ndarray, risk) -> float: function xylables (line 182) | def xylables(fig): FILE: examples/single_inverter_voltage_current_control_safe_opt.py class Reward (line 40) | class Reward: method __init__ (line 41) | def __init__(self): method set_idx (line 44) | def set_idx(self, obs): method rew_fun (line 51) | def rew_fun(self, cols: List[str], data: np.ndarray, risk) -> float: function xylables_i (line 175) | def xylables_i(fig): function xylables_v_abc (line 184) | def xylables_v_abc(fig): function xylables_v_dq0 (line 193) | def xylables_v_dq0(fig): FILE: examples/stocastic_load.py function load_step (line 17) | def load_step(t): function xylables (line 37) | def xylables(fig): FILE: examples/two_inverter_droop_safe_opt.py function load_step (line 46) | def load_step(t, gain): class Reward (line 57) | class Reward: method __init__ (line 58) | def __init__(self): method set_idx (line 61) | def set_idx(self, obs): method rew_fun (line 68) | def rew_fun(self, cols: List[str], data: np.ndarray, risk) -> float: function xylables_i (line 200) | def xylables_i(fig): function xylables_v_abc (line 209) | def xylables_v_abc(fig): function xylables_v_dq0 (line 218) | def xylables_v_dq0(fig): function xylables_P_master (line 227) | def xylables_P_master(fig): function xylables_P_slave (line 236) | def xylables_P_slave(fig): function xylables_freq (line 245) | def xylables_freq(fig): FILE: examples/two_inverter_static_droop_control.py function load_step (line 38) | def load_step(t, gain): FILE: experiments/model_validation/env/physical_testbench.py class TestbenchEnv (line 9) | class TestbenchEnv(gym.Env): method __init__ (line 13) | def __init__(self, host: str = '131.234.172.139', username: str = 'roo... method __decode_result (line 48) | def __decode_result(ssh_result): method rew_fun (line 71) | def rew_fun(self, Iabc_meas, Iabc_SP) -> float: method reset (line 93) | def reset(self, kP, kI): method step (line 133) | def step(self): method render (line 153) | def render(self, J, save_folder): FILE: experiments/model_validation/env/rewards.py class Reward (line 8) | class Reward: method __init__ (line 10) | def __init__(self, i_limit: float = 15, i_nominal: float = 10, v_limit... method set_idx (line 37) | def set_idx(self, obs): method rew_fun_c (line 45) | def rew_fun_c(self, cols: List[str], data: np.ndarray, risk) -> float: method rew_fun_v (line 80) | def rew_fun_v(self, cols: List[str], data: np.ndarray, risk) -> float: method rew_fun_vc (line 114) | def rew_fun_vc(self, cols: List[str], data: np.ndarray, risk) -> float: method rew_fun_funnel (line 154) | def rew_fun_funnel(self, cols: List[str], data: np.ndarray, risk) -> f... FILE: experiments/model_validation/env/stochastic_components.py class Load (line 4) | class Load: method __init__ (line 6) | def __init__(self, load_mean: float, load_std: float = None, balanced:... method load_step (line 28) | def load_step(self, t, n: int): method give_value (line 45) | def give_value(self, t, n: int): method reset (line 62) | def reset(self): FILE: experiments/model_validation/env/testbench_voltage_ctrl.py class TestbenchEnvVoltage (line 15) | class TestbenchEnvVoltage(gym.Env): method __init__ (line 20) | def __init__(self, host: str = '131.234.172.139', username: str = 'roo... method __decode_result (line 58) | def __decode_result(ssh_result): method __decode_result_obs (line 87) | def __decode_result_obs(ssh_result): method rew_fun (line 109) | def rew_fun(self, vabc_meas, vsp_abc) -> float: method reset (line 138) | def reset(self, kPv, kIv): method rew_fun4D (line 189) | def rew_fun4D(self, vabc_meas, vsp_abc, iabc_meas, iabc_SP) -> float: method reset4D (line 220) | def reset4D(self, kP, kI, kPv, kIv): method step (line 269) | def step(self): method render (line 299) | def render(self, J, save_folder): FILE: experiments/model_validation/execution/monte_carlo_runner.py class MonteCarloRunner (line 8) | class MonteCarloRunner: method __init__ (line 21) | def __init__(self, agent: EpisodicLearnerAgent, env: ModelicaEnv): method run (line 39) | def run(self, n_episodes: int = 10, n_mc: int = 5, visualise: bool = F... FILE: experiments/model_validation/execution/runner_hardware.py class RunnerHardware (line 11) | class RunnerHardware: method __init__ (line 17) | def __init__(self, agent: Agent, env: TestbenchEnv): method run (line 37) | def run(self, n_episodes: int = 10, visualise: bool = False, save_fold... class RunnerHardwareGradient (line 79) | class RunnerHardwareGradient: method __init__ (line 86) | def __init__(self, agent: Agent, env: TestbenchEnvVoltage): method run (line 106) | def run(self, n_episodes: int = 10, visualise: bool = False, save_fold... FILE: experiments/model_validation/lengthScaleSweepMC650.py function pairwise (line 99) | def pairwise(iterable): function cal_j_min (line 106) | def cal_j_min(phase_shift, amp_dev): function run_experiment (line 143) | def run_experiment(len_kp, len_ki): FILE: experiments/model_validation/single_inverter_current_control_safe_opt_includingTB.py function pairwise (line 97) | def pairwise(iterable): function cal_j_min (line 104) | def cal_j_min(phase_shift, amp_dev): function reset_loads (line 261) | def reset_loads(): function reference_step (line 270) | def reference_step(t): FILE: experiments/model_validation/single_inverter_voltage_current_control_safe_opt_includingTB.py function pairwise (line 117) | def pairwise(iterable): function cal_J_min (line 124) | def cal_J_min(phase_shift, amp_dev): function reset_loads (line 285) | def reset_loads(): FILE: experiments/model_validation/single_inverter_voltage_current_control_safe_opt_includingTB_4D.py function reset_loads (line 240) | def reset_loads(): FILE: experiments/testing_framework_control/metrics.py class Metrics (line 11) | class Metrics: method __init__ (line 12) | def __init__(self, quantity, ref_value: float, ts: float, max_episode_... method overshoot (line 41) | def overshoot(self): method rise_time (line 56) | def rise_time(self): method settling_time (line 69) | def settling_time(self): method settling_time_vd_droop (line 103) | def settling_time_vd_droop( method RMSE (line 118) | def RMSE(self): method steady_state_error (line 130) | def steady_state_error(self): method absolute_peak (line 141) | def absolute_peak(self): FILE: experiments/testing_framework_control/tf_innerlevel_idq.py function load_step_random_walk_resistor (line 71) | def load_step_random_walk_resistor(): function load_step_inductance_random_walk (line 81) | def load_step_inductance_random_walk(): class Reward (line 95) | class Reward: method __init__ (line 96) | def __init__(self): method set_idx (line 99) | def set_idx(self, obs): method rew_fun (line 106) | def rew_fun(self, cols: List[str], data: np.ndarray, risk) -> float: class LoadstepCallback (line 145) | class LoadstepCallback(Callback): method __init__ (line 146) | def __init__(self): method set_idx (line 158) | def set_idx(self, obs): method reset (line 165) | def reset(self): method __call__ (line 168) | def __call__(self, cols, obs): method load_step_resistance (line 195) | def load_step_resistance(self, t): method load_step_inductance (line 206) | def load_step_inductance(self, t): function xylables (line 311) | def xylables(fig): function xylables_R (line 318) | def xylables_R(fig): function xylables_L (line 325) | def xylables_L(fig): function xylables_i_dq0 (line 332) | def xylables_i_dq0(fig): FILE: experiments/testing_framework_control/tf_innerlevel_vdq.py function load_step_random_walk_resistor (line 60) | def load_step_random_walk_resistor(): function load_step_inductance_random_walk (line 70) | def load_step_inductance_random_walk(): class Reward (line 89) | class Reward: method __init__ (line 90) | def __init__(self): method set_idx (line 93) | def set_idx(self, obs): # [f'lc1.inductor{k}.i' for k in '123'] method rew_fun (line 100) | def rew_fun(self, cols: List[str], data: np.ndarray, risk) -> float: class LoadstepCallback (line 142) | class LoadstepCallback(Callback): method __init__ (line 143) | def __init__(self): method set_idx (line 154) | def set_idx(self, obs): method reset (line 162) | def reset(self): method __call__ (line 165) | def __call__(self, cols, obs): method load_step_resistance (line 192) | def load_step_resistance(self, t): method load_step_inductance (line 203) | def load_step_inductance(self, t): function xylables_i (line 303) | def xylables_i(fig): function xylables_v_abc (line 312) | def xylables_v_abc(fig): function xylables_R (line 321) | def xylables_R(fig): function xylables_i_dq0 (line 330) | def xylables_i_dq0(fig): function xylables_v_dq0 (line 339) | def xylables_v_dq0(fig): function xylables_L (line 348) | def xylables_L(fig): FILE: experiments/testing_framework_control/tf_primarylevel_vdq_slavefreq.py function load_step_random_walk_resistor (line 68) | def load_step_random_walk_resistor(): function load_step_inductance_random_walk (line 77) | def load_step_inductance_random_walk(): class Reward (line 90) | class Reward: method __init__ (line 91) | def __init__(self): method set_idx (line 94) | def set_idx(self, obs): method rew_fun (line 101) | def rew_fun(self, cols: List[str], data: np.ndarray, risk) -> float: class LoadstepCallback (line 133) | class LoadstepCallback(Callback): method __init__ (line 134) | def __init__(self): method set_idx (line 149) | def set_idx(self, obs): method reset (line 156) | def reset(self): method __call__ (line 159) | def __call__(self, cols, obs): method load_step_resistance (line 193) | def load_step_resistance(self, t): method load_step_inductance (line 204) | def load_step_inductance(self, t): function xylables_i (line 320) | def xylables_i(fig): function xylables_v_abc (line 329) | def xylables_v_abc(fig): function xylables_v_dq0 (line 338) | def xylables_v_dq0(fig): function xylables_P_master (line 347) | def xylables_P_master(fig): function xylables_P_slave (line 356) | def xylables_P_slave(fig): function xylables_freq (line 365) | def xylables_freq(fig): function xylables_R (line 375) | def xylables_R(fig): function xylables_L (line 382) | def xylables_L(fig): FILE: omg_grid/merge_fmus.py function get_fmu_key (line 13) | def get_fmu_key(path): function copy_binaries (line 25) | def copy_binaries(wd, fmus, binaries): FILE: openmodelica_microgrid_gym/agents/agent.py class Agent (line 10) | class Agent: method __init__ (line 11) | def __init__(self, obs_varnames: List[str] = None, history: EmptyHisto... method reset (line 27) | def reset(self): method act (line 34) | def act(self, obs: np.ndarray) -> np.ndarray: method observe (line 43) | def observe(self, reward: float, terminated: bool): method measurement_cols (line 54) | def measurement_cols(self) -> List[Union[List, str]]: method measure (line 62) | def measure(self, obs: np.ndarray) -> np.ndarray: method render (line 73) | def render(self) -> Figure: method prepare_episode (line 79) | def prepare_episode(self): method has_improved (line 86) | def has_improved(self) -> bool: method has_worsened (line 95) | def has_worsened(self) -> bool: FILE: openmodelica_microgrid_gym/agents/episodic.py class EpisodicLearnerAgent (line 4) | class EpisodicLearnerAgent(Agent): method observe (line 6) | def observe(self, reward: float, terminated: bool): method update_params (line 15) | def update_params(self): method performance (line 19) | def performance(self): method performance (line 23) | def performance(self, val): FILE: openmodelica_microgrid_gym/agents/safeopt.py class SafeOptAgent (line 20) | class SafeOptAgent(StaticControlAgent, EpisodicLearnerAgent): method __init__ (line 21) | def __init__(self, mutable_params: Union[dict, list], abort_reward: in... method reset (line 78) | def reset(self): method observe (line 104) | def observe(self, reward, terminated): method update_params (line 129) | def update_params(self): method render (line 171) | def render(self) -> Figure: method prepare_episode (line 202) | def prepare_episode(self): method has_improved (line 211) | def has_improved(self) -> bool: method has_worsened (line 220) | def has_worsened(self) -> bool: method performance (line 229) | def performance(self): method performance (line 263) | def performance(self, new_performance): method min_performance (line 268) | def min_performance(self): FILE: openmodelica_microgrid_gym/agents/staticctrl.py class StaticControlAgent (line 12) | class StaticControlAgent(Agent): method __init__ (line 13) | def __init__(self, ctrls: List[Controller], obs_template: Mapping[str,... method obs_template (line 42) | def obs_template(self): method act (line 53) | def act(self, state: np.ndarray): method observe (line 63) | def observe(self, reward: float, terminated: bool): method measurement_cols (line 78) | def measurement_cols(self) -> List[Union[List, str]]: method measure (line 87) | def measure(self, state) -> np.ndarray: method prepare_episode (line 101) | def prepare_episode(self): method has_improved (line 110) | def has_improved(self) -> bool: FILE: openmodelica_microgrid_gym/agents/util.py class MutableFloat (line 4) | class MutableFloat: method __init__ (line 5) | def __init__(self, f: float): method __float__ (line 13) | def __float__(self): method __repr__ (line 16) | def __repr__(self): method val (line 20) | def val(self): method val (line 30) | def val(self, v: float): class MutableParams (line 34) | class MutableParams: method __init__ (line 35) | def __init__(self, params: Sequence[MutableFloat]): method reset (line 46) | def reset(self): method __setitem__ (line 53) | def __setitem__(self, key, value): method __getitem__ (line 60) | def __getitem__(self, item): method __repr__ (line 65) | def __repr__(self): FILE: openmodelica_microgrid_gym/aux_ctl/base.py class DDS (line 10) | class DDS: method __init__ (line 17) | def __init__(self, ts: float, dds_max: float = 1, theta_0: float = 0): method reset (line 28) | def reset(self): method step (line 34) | def step(self, freq: float): class LimitLoadIntegral (line 51) | class LimitLoadIntegral: method __init__ (line 52) | def __init__(self, dt, freq, i_lim, i_nom=None): method reset (line 70) | def reset(self): method step (line 74) | def step(self, value): method risk (line 77) | def risk(self): class PLL (line 81) | class PLL: method __init__ (line 87) | def __init__(self, params: PLLParams, ts: float): method step (line 101) | def step(self, v_abc: np.ndarray) -> Tuple[np.ndarray, float, float]: method reset (line 121) | def reset(self): method __phase_comp (line 125) | def __phase_comp(cos_sin_x: np.ndarray, cos_sin_i: np.ndarray): FILE: openmodelica_microgrid_gym/aux_ctl/droop_controllers.py class DroopController (line 5) | class DroopController(PT1Filter): method __init__ (line 14) | def __init__(self, DroopParams, ts): method step (line 24) | def step(self, val_in): class InverseDroopController (line 36) | class InverseDroopController(DroopController): method __init__ (line 46) | def __init__(self, DroopParams: InverseDroopParams, ts: float): method step (line 58) | def step(self, val_in: float): FILE: openmodelica_microgrid_gym/aux_ctl/filter.py class Filter (line 4) | class Filter: method step (line 9) | def step(self, value): class PT1Filter (line 13) | class PT1Filter(Filter): method __init__ (line 18) | def __init__(self, filtParams: DroopParams, ts: float): method reset (line 27) | def reset(self): method step (line 33) | def step(self, val_in): FILE: openmodelica_microgrid_gym/aux_ctl/inverter_controllers.py class Controller (line 19) | class Controller: method __init__ (line 24) | def __init__(self, IPIParams: PI_params, ts_sim: float, ts_ctrl: Optio... method _set_hist_cols (line 59) | def _set_hist_cols(self, cols): method reset (line 67) | def reset(self): method step (line 78) | def step(self): method prepare (line 88) | def prepare(self, *args, **kwargs): method control (line 101) | def control(self, *args, **kwargs) -> np.ndarray: class VoltageCtl (line 114) | class VoltageCtl(Controller): method __init__ (line 115) | def __init__(self, VPIParams: PI_params, IPIParams: PI_params, Pdroop_... method reset (line 136) | def reset(self): class CurrentCtl (line 144) | class CurrentCtl(Controller): method __init__ (line 145) | def __init__(self, IPIParams: PI_params, pllPIParams: PLLParams, i_lim... method reset (line 169) | def reset(self): class MultiPhaseABCPIPIController (line 176) | class MultiPhaseABCPIPIController(VoltageCtl): method control (line 184) | def control(self, currentCV: np.ndarray, voltageCV: np.ndarray, **kwar... class MultiPhaseDQ0PIPIController (line 208) | class MultiPhaseDQ0PIPIController(VoltageCtl): method __init__ (line 216) | def __init__(self, VPIParams: PI_params, IPIParams: PI_params, method reset (line 244) | def reset(self): method control (line 249) | def control(self, currentCV: np.ndarray, voltageCV: np.ndarray, **kwar... class MultiPhaseDQCurrentController (line 307) | class MultiPhaseDQCurrentController(CurrentCtl): method __init__ (line 319) | def __init__(self, IPIParams: PI_params, pllPIParams: PLLParams, i_lim... method control (line 349) | def control(self, currentCV: np.ndarray, voltageCV: np.ndarray, idq0SP... class MultiPhaseDQCurrentSourcingController (line 401) | class MultiPhaseDQCurrentSourcingController(Controller): method __init__ (line 410) | def __init__(self, IPIParams: PI_params, ts_sim: float, ts_ctrl: Optio... method reset (line 428) | def reset(self): method control (line 432) | def control(self, currentCV: np.ndarray, idq0SP: np.ndarray = np.zeros... FILE: openmodelica_microgrid_gym/aux_ctl/observers.py class Observer (line 6) | class Observer(): method __init__ (line 7) | def __init__(self): method cal_estimate (line 10) | def cal_estimate(self, y, u): class Lueneberger (line 22) | class Lueneberger(Observer): method __init__ (line 24) | def __init__(self, A, B, C, L, ts, vDC): method cal_estimate (line 34) | def cal_estimate(self, y, u): FILE: openmodelica_microgrid_gym/aux_ctl/params.py class FilterParams (line 12) | class FilterParams: method __init__ (line 14) | def __init__(self, gain: Union[MutableFloat, float], tau: Union[Mutabl... method gain (line 25) | def gain(self): method tau (line 29) | def tau(self): class DroopParams (line 33) | class DroopParams(FilterParams): method __init__ (line 38) | def __init__(self, gain: Union[MutableFloat, float], tau: Union[Mutabl... method gain (line 54) | def gain(self): class InverseDroopParams (line 60) | class InverseDroopParams(DroopParams): method __init__ (line 65) | def __init__(self, gain: Union[MutableFloat, float], tau: Union[Mutabl... class PI_params (line 84) | class PI_params: method __init__ (line 90) | def __init__(self, kP: Union[MutableFloat, float], kI: Union[MutableFl... method kP (line 104) | def kP(self): method kI (line 108) | def kI(self): method limits (line 112) | def limits(self): method kB (line 118) | def kB(self): class PLLParams (line 122) | class PLLParams(PI_params): method __init__ (line 127) | def __init__(self, kP: Union[MutableFloat, float], kI: Union[MutableFl... method f_nom (line 143) | def f_nom(self): method theta_0 (line 147) | def theta_0(self): FILE: openmodelica_microgrid_gym/aux_ctl/pi_controllers.py class PIController (line 11) | class PIController: method __init__ (line 17) | def __init__(self, PI_param: PI_params, ts: float): method reset (line 28) | def reset(self): method step (line 34) | def step(self, error: float, feedforward: float = 0) -> float: class MultiPhasePIController (line 51) | class MultiPhasePIController: method __init__ (line 57) | def __init__(self, PI_param: PI_params, ts: float): method reset (line 66) | def reset(self): method step (line 73) | def step(self, SP: np.ndarray, CV: np.ndarray, feedforward: Optional[n... FILE: openmodelica_microgrid_gym/env/modelica.py class ModelicaEnv (line 22) | class ModelicaEnv(gym.Env): method __init__ (line 30) | def __init__(self, net: Union[str, Network], time_start: float = 0, method _calc_jac (line 198) | def _calc_jac(self, t, x) -> np.ndarray: # noqa method _get_deriv (line 210) | def _get_deriv(self, t: float, x: np.ndarray) -> np.ndarray: method _simulate (line 225) | def _simulate(self) -> np.ndarray: method is_done (line 247) | def is_done(self) -> bool: method reset (line 259) | def reset(self) -> np.ndarray: method step (line 289) | def step(self, action: Sequence) -> Tuple[np.ndarray, float, bool, Map... method _create_state (line 369) | def _create_state(self, is_init: bool = False): method render (line 385) | def render(self, mode: str = 'human', close: bool = False) -> List[Fig... method close (line 436) | def close(self) -> Tuple[bool, Any]: FILE: openmodelica_microgrid_gym/env/plot.py class PlotTmpl (line 10) | class PlotTmpl: method __init__ (line 11) | def __init__(self, variables: List[Union[List, str]], callback: Option... method callback (line 73) | def callback(self, fig: Figure): method __iter__ (line 88) | def __iter__(self): method __next__ (line 92) | def __next__(self): method __getitem__ (line 99) | def __getitem__(self, item): FILE: openmodelica_microgrid_gym/env/plotmanager.py class PlotManager (line 8) | class PlotManager: method __init__ (line 9) | def __init__(self, used_agent: SafeOptAgent, method xylables_v_abc (line 25) | def xylables_v_abc(self, fig): method xylables_v_dq0 (line 31) | def xylables_v_dq0(self, fig): method xylables_i_abc (line 37) | def xylables_i_abc(self, fig): method xylables_i_dq0 (line 43) | def xylables_i_dq0(self, fig): method update_axes (line 49) | def update_axes(self, fig, title=None, xlabel=r'$t\,/\,\mathrm{s}$', y... FILE: openmodelica_microgrid_gym/env/pyfmi.py class PyFMI_Wrapper (line 12) | class PyFMI_Wrapper: method __init__ (line 15) | def __init__(self, model): method load (line 19) | def load(cls, path): method setup (line 26) | def setup(self, time_start, output_names, model_params: Dict[str, Call... method obs (line 53) | def obs(self): method states (line 57) | def states(self): method states (line 61) | def states(self, val): method deriv (line 65) | def deriv(self): method time (line 69) | def time(self): method time (line 73) | def time(self, val): method jacc (line 76) | def jacc(self): method set (line 85) | def set(self, **kwargs): method set_params (line 88) | def set_params(self, **kwargs): FILE: openmodelica_microgrid_gym/execution/callbacks.py class Callback (line 4) | class Callback(ABC): method reset (line 5) | def reset(self): method __call__ (line 8) | def __call__(self, *args, **kwargs): FILE: openmodelica_microgrid_gym/execution/runner.py class Runner (line 10) | class Runner: method __init__ (line 16) | def __init__(self, agent: Agent, env: ModelicaEnv, callback: Optional[... method run (line 35) | def run(self, n_episodes: int = 10, visualise: bool = False): FILE: openmodelica_microgrid_gym/net/base.py class Component (line 10) | class Component: method __init__ (line 11) | def __init__(self, net: 'Network', id=None, in_vars=None, out_vars=Non... method reset (line 34) | def reset(self): method risk (line 37) | def risk(self) -> float: method params (line 40) | def params(self, actions): method get_in_vars (line 49) | def get_in_vars(self): method get_out_vars (line 57) | def get_out_vars(self, with_aug=False): method fill_tmpl (line 68) | def fill_tmpl(self, state: np.ndarray): method set_outidx (line 75) | def set_outidx(self, keys): method _prefix_var (line 86) | def _prefix_var(self, strs): method calculate (line 97) | def calculate(self) -> Dict[str, np.ndarray]: method normalize (line 113) | def normalize(self, calc_data): method augment (line 120) | def augment(self, state: np.ndarray, t: float): method extract_data (line 139) | def extract_data(self, calc_data): class Network (line 163) | class Network: method __init__ (line 171) | def __init__(self, ts: float, v_nom: Union[int, str], freq_nom: float ... method _validate_load_data (line 177) | def _validate_load_data(data): method load (line 189) | def load(cls, configurl='net.yaml'): method risk (line 246) | def risk(self) -> float: method reset (line 249) | def reset(self): method params (line 253) | def params(self, actions): method augment (line 266) | def augment(self, state: np.ndarray, t: float) -> Tuple[np.ndarray]: method in_vars (line 279) | def in_vars(self): method out_vars (line 282) | def out_vars(self, with_aug=True, flattened=True): method components (line 289) | def components(self) -> List[Component]: method components (line 293) | def components(self, val: List[Component]): method __getitem__ (line 299) | def __getitem__(self, item): FILE: openmodelica_microgrid_gym/net/components.py class Inverter (line 13) | class Inverter(Component): method __init__ (line 14) | def __init__(self, u=None, i=None, i_noise: Optional[dict] = None, v=N... method reset (line 70) | def reset(self): method normalize (line 73) | def normalize(self, calc_data): method risk (line 78) | def risk(self) -> float: method params (line 81) | def params(self, actions): method calculate (line 84) | def calculate(self): class SlaveInverter (line 93) | class SlaveInverter(Inverter): method __init__ (line 94) | def __init__(self, pll=None, pdroop=None, qdroop=None, **kwargs): method reset (line 109) | def reset(self): method calculate (line 115) | def calculate(self): class MasterInverter (line 121) | class MasterInverter(Inverter): method __init__ (line 122) | def __init__(self, v_ref=(1, 0, 0), pdroop=None, qdroop=None, **kwargs): method reset (line 134) | def reset(self): method calculate (line 142) | def calculate(self): method normalize (line 156) | def normalize(self, calc_data): class MasterInverter_dq0 (line 161) | class MasterInverter_dq0(MasterInverter): method calculate (line 166) | def calculate(self): class MasterInverterCurrentSourcing (line 173) | class MasterInverterCurrentSourcing(Inverter): method __init__ (line 174) | def __init__(self, f_nom=50, **kwargs): method reset (line 180) | def reset(self): method calculate (line 185) | def calculate(self): class Load (line 192) | class Load(Component): method __init__ (line 193) | def __init__(self, i=None, **kwargs): method params (line 197) | def params(self, actions): FILE: openmodelica_microgrid_gym/util/fastqueue.py class Fastqueue (line 6) | class Fastqueue: method __init__ (line 7) | def __init__(self, size: int, dim: Optional[int] = 1): method shift (line 17) | def shift(self, val): method __len__ (line 28) | def __len__(self): method clear (line 31) | def clear(self): method wrap_index (line 34) | def wrap_index(self, i): FILE: openmodelica_microgrid_gym/util/itertools_.py function flatten (line 8) | def flatten(data: Union[dict, list], remaining_levels: int = 0) -> list: function nested_map (line 44) | def nested_map(fun: Callable, structure: Union[list, tuple, Mapping, np.... function nested_depth (line 67) | def nested_depth(structure: Any) -> int: function fill_params (line 84) | def fill_params(template: Union[list, tuple, Mapping, np.ndarray], data:... function flatten_together (line 103) | def flatten_together(structure: List[Union[List, Any]], values: Union[An... FILE: openmodelica_microgrid_gym/util/obs_template.py class ObsTempl (line 6) | class ObsTempl: method __init__ (line 7) | def __init__(self, varnames: List[str], simple_tmpl: Optional[List[Uni... method fill (line 37) | def fill(self, obs: np.ndarray) -> List[np.ndarray]: FILE: openmodelica_microgrid_gym/util/randproc.py class RandProcess (line 8) | class RandProcess: method __init__ (line 9) | def __init__(self, process_cls: Type[BaseProcess], proc_kwargs=None, b... method reset (line 30) | def reset(self, initial): method sample (line 35) | def sample(self, t): method reserve (line 56) | def reserve(self): method reserve (line 63) | def reserve(self, v): FILE: openmodelica_microgrid_gym/util/recorder.py class StructuredMapping (line 8) | class StructuredMapping: method __init__ (line 9) | def __init__(self, cols: List[Union[List, str]] = None, data=None): method cols (line 22) | def cols(self) -> List[str]: method cols (line 31) | def cols(self, val: List[Union[List, str]]): method data (line 41) | def data(self): method df (line 45) | def df(self): method structured_cols (line 49) | def structured_cols(self, remaining_level: Optional[int] = 1) -> List[... class EmptyHistory (line 58) | class EmptyHistory(StructuredMapping): method reset (line 64) | def reset(self): method pop (line 70) | def pop(self): method append (line 77) | def append(self, values: Sequence): method last (line 85) | def last(self): method __getitem__ (line 88) | def __getitem__(self, item): class SingleHistory (line 92) | class SingleHistory(EmptyHistory): method reset (line 97) | def reset(self): method pop (line 100) | def pop(self): method append (line 105) | def append(self, values: Sequence): method last (line 108) | def last(self): class FullHistory (line 112) | class FullHistory(EmptyHistory): method reset (line 117) | def reset(self): method pop (line 120) | def pop(self): method append (line 123) | def append(self, values: Sequence): method last (line 126) | def last(self): method df (line 130) | def df(self): FILE: openmodelica_microgrid_gym/util/transforms.py function dq0_to_abc (line 13) | def dq0_to_abc(dq0: np.ndarray, theta: float) -> np.ndarray: function dq0_to_abc_cos_sin (line 25) | def dq0_to_abc_cos_sin(dq0: np.ndarray, cos: float, sin: float) -> np.nd... function dq0_to_abc_cos_sin_power_inv (line 57) | def dq0_to_abc_cos_sin_power_inv(dq0: np.ndarray, cos: float, sin: float... function abc_to_dq0 (line 76) | def abc_to_dq0(abc: np.ndarray, theta: float) -> np.ndarray: function abc_to_dq0_cos_sin (line 88) | def abc_to_dq0_cos_sin(abc: np.ndarray, cos: float, sin: float) -> np.nd... function abc_to_alpha_beta (line 120) | def abc_to_alpha_beta(abc: np.ndarray) -> np.ndarray: function cos_sin (line 134) | def cos_sin(theta: float) -> np.ndarray: function inst_rms (line 144) | def inst_rms(arr: np.ndarray) -> float: function normalise_abc (line 154) | def normalise_abc(abc: np.ndarray) -> np.ndarray: function inst_power (line 170) | def inst_power(varr: np.ndarray, iarr: np.ndarray) -> float: function inst_reactive (line 181) | def inst_reactive(varr: np.ndarray, iarr: np.ndarray): FILE: tests/aux_ctl/test_base.py function test_limit_load_integral (line 7) | def test_limit_load_integral(): FILE: tests/aux_ctl/test_inverter_control.py function seed (line 9) | def seed(): function droop_par (line 14) | def droop_par(): function pll_par (line 19) | def pll_par(): function test_step (line 23) | def test_step(seed, pll_par, droop_par): function test_step2 (line 30) | def test_step2(seed, droop_par, pll_par): function test_step3 (line 38) | def test_step3(seed, droop_par, pll_par): FILE: tests/helpers.py function nested_arrays_equal (line 4) | def nested_arrays_equal(a, b): FILE: tests/net/test_net.py function test_load (line 6) | def test_load(): function test_load_dup_inputs (line 11) | def test_load_dup_inputs(): FILE: tests/test__util_plot.py function test_plot_tmpl (line 20) | def test_plot_tmpl(i, o): FILE: tests/test_modelica.py function env (line 12) | def env(): function initialized_env (line 21) | def initialized_env(): function test_reset (line 36) | def test_reset(env): function test_step (line 42) | def test_step(env): function test_proper_reset (line 54) | def test_proper_reset(env): function test_proper_reset_init_env (line 69) | def test_proper_reset_init_env(initialized_env): function test_reset_after_init (line 84) | def test_reset_after_init(initialized_env): FILE: tests/test_recorder.py function test__append (line 7) | def test__append(): FILE: tests/test_runner.py function agent (line 22) | def agent(): function agent_undersample (line 66) | def agent_undersample(): function env (line 110) | def env(): function test_main (line 121) | def test_main(agent, env): function test_main_paramchange (line 133) | def test_main_paramchange(agent, env): function test_main_undersample (line 152) | def test_main_undersample(agent_undersample, env): function test_simpleagent (line 165) | def test_simpleagent(env): FILE: tests/test_transforms.py function seed (line 9) | def seed(): function test_inst_reactive (line 13) | def test_inst_reactive(seed): function test_inst_power (line 17) | def test_inst_power(seed): function test_inst_rms (line 21) | def test_inst_rms(seed): function test_dq0_to_abc (line 25) | def test_dq0_to_abc(seed): function test_dq0_to_abc_cos_sin (line 29) | def test_dq0_to_abc_cos_sin(seed): function test_dq0_to_abc_cos_sin_power_inv (line 33) | def test_dq0_to_abc_cos_sin_power_inv(seed): function test_abc_to_dq0 (line 38) | def test_abc_to_dq0(seed): function test_abc_to_dq0_cos_sin (line 42) | def test_abc_to_dq0_cos_sin(seed): function test_abc_to_alpha_beta (line 46) | def test_abc_to_alpha_beta(seed): FILE: tests/util/test_fastqueue.py function test_fastqueue_1_element (line 8) | def test_fastqueue_1_element(): function test_fastqueue_2_element (line 17) | def test_fastqueue_2_element(): function test_fastqueue_3_elem (line 27) | def test_fastqueue_3_elem(): function test_fastqueue2d (line 38) | def test_fastqueue2d(): function test_fastqueue_initialize (line 49) | def test_fastqueue_initialize(): function test_fastqueue2d_not_random (line 55) | def test_fastqueue2d_not_random(): FILE: tests/util/test_flattendict.py function test_flatten (line 50) | def test_flatten(i, o): function test_nested_map (line 54) | def test_nested_map(): function test_nested_map1 (line 58) | def test_nested_map1(): function test_nested_depth (line 63) | def test_nested_depth(i, o): function test_fill_params (line 72) | def test_fill_params(tmpl, data, result): FILE: tests/util/test_itertools_flatten_together.py function test_flatten_together (line 13) | def test_flatten_together(i, o): function test_flatten_together_negative (line 17) | def test_flatten_together_negative(): function test_flatten_together_negative2 (line 23) | def test_flatten_together_negative2(): FILE: tests/util/test_obs_template.py function test_obs_templ (line 14) | def test_obs_templ(i, o):