|
|
@ -1078,7 +1078,7 @@ void SystemControl::_execute_operational()
|
|
|
|
m_environment.drc_current_cell_beta,
|
|
|
|
m_environment.drc_current_cell_beta,
|
|
|
|
m_environment.drc_current_cell_direct,
|
|
|
|
m_environment.drc_current_cell_direct,
|
|
|
|
m_environment.drc_current_cell_quadrature);
|
|
|
|
m_environment.drc_current_cell_quadrature);
|
|
|
|
//
|
|
|
|
/* //
|
|
|
|
m_environment.drc_direct_voltage_decomposer.execute(m_environment.voltage_load_a,
|
|
|
|
m_environment.drc_direct_voltage_decomposer.execute(m_environment.voltage_load_a,
|
|
|
|
m_environment.voltage_load_b,
|
|
|
|
m_environment.voltage_load_b,
|
|
|
|
m_environment.voltage_load_c,
|
|
|
|
m_environment.voltage_load_c,
|
|
|
@ -1098,14 +1098,36 @@ void SystemControl::_execute_operational()
|
|
|
|
m_environment.main_abc_reverse_orts.phase_a.reactive,
|
|
|
|
m_environment.main_abc_reverse_orts.phase_a.reactive,
|
|
|
|
m_environment.main_abc_reverse_orts.phase_b.reactive,
|
|
|
|
m_environment.main_abc_reverse_orts.phase_b.reactive,
|
|
|
|
m_environment.main_abc_reverse_orts.phase_c.reactive);
|
|
|
|
m_environment.main_abc_reverse_orts.phase_c.reactive);
|
|
|
|
|
|
|
|
*/ //
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_environment.drc_direct_voltage_decomposer.execute(m_environment.voltage_load_a - m_environment.drc_negative_voltage_load_direct * m_environment.main_abc_reverse_orts.phase_a.active + m_environment.drc_negative_voltage_load_quadrature * m_environment.main_abc_reverse_orts.phase_a.reactive,
|
|
|
|
|
|
|
|
m_environment.voltage_load_b - m_environment.drc_negative_voltage_load_direct * m_environment.main_abc_reverse_orts.phase_b.active + m_environment.drc_negative_voltage_load_quadrature * m_environment.main_abc_reverse_orts.phase_b.reactive,
|
|
|
|
|
|
|
|
m_environment.voltage_load_c - m_environment.drc_negative_voltage_load_direct * m_environment.main_abc_reverse_orts.phase_c.active + m_environment.drc_negative_voltage_load_quadrature * m_environment.main_abc_reverse_orts.phase_c.reactive,
|
|
|
|
|
|
|
|
m_environment.main_abc_orts.phase_a.active,
|
|
|
|
|
|
|
|
m_environment.main_abc_orts.phase_b.active,
|
|
|
|
|
|
|
|
m_environment.main_abc_orts.phase_c.active,
|
|
|
|
|
|
|
|
m_environment.main_abc_orts.phase_a.reactive,
|
|
|
|
|
|
|
|
m_environment.main_abc_orts.phase_b.reactive,
|
|
|
|
|
|
|
|
m_environment.main_abc_orts.phase_c.reactive);
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
m_environment.drc_back_voltage_decomposer.execute(m_environment.voltage_load_a - m_environment.drc_positive_voltage_load_direct * m_environment.main_abc_orts.phase_a.active + m_environment.drc_positive_voltage_load_quadrature * m_environment.main_abc_orts.phase_a.reactive,
|
|
|
|
|
|
|
|
m_environment.voltage_load_b - m_environment.drc_positive_voltage_load_direct * m_environment.main_abc_orts.phase_b.active + m_environment.drc_positive_voltage_load_quadrature * m_environment.main_abc_orts.phase_b.reactive,
|
|
|
|
|
|
|
|
m_environment.voltage_load_c - m_environment.drc_positive_voltage_load_direct * m_environment.main_abc_orts.phase_c.active + m_environment.drc_positive_voltage_load_quadrature * m_environment.main_abc_orts.phase_c.reactive,
|
|
|
|
|
|
|
|
m_environment.main_abc_reverse_orts.phase_a.active,
|
|
|
|
|
|
|
|
m_environment.main_abc_reverse_orts.phase_b.active,
|
|
|
|
|
|
|
|
m_environment.main_abc_reverse_orts.phase_c.active,
|
|
|
|
|
|
|
|
m_environment.main_abc_reverse_orts.phase_a.reactive,
|
|
|
|
|
|
|
|
m_environment.main_abc_reverse_orts.phase_b.reactive,
|
|
|
|
|
|
|
|
m_environment.main_abc_reverse_orts.phase_c.reactive);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
m_environment.drc_positive_voltage_load_direct = m_environment.drc_direct_voltage_decomposer.direct;
|
|
|
|
m_environment.drc_positive_voltage_load_direct = m_environment.drc_direct_voltage_decomposer.direct;
|
|
|
|
m_environment.drc_positive_voltage_load_quadrature = m_environment.drc_direct_voltage_decomposer.quadrature;
|
|
|
|
m_environment.drc_positive_voltage_load_quadrature = m_environment.drc_direct_voltage_decomposer.quadrature;
|
|
|
|
m_environment.drc_negaative_voltage_load_direct = m_environment.drc_back_voltage_decomposer.direct;
|
|
|
|
m_environment.drc_negative_voltage_load_direct = m_environment.drc_back_voltage_decomposer.direct;
|
|
|
|
m_environment.drc_negative_voltage_load_quadrature = m_environment.drc_back_voltage_decomposer.quadrature;
|
|
|
|
m_environment.drc_negative_voltage_load_quadrature = m_environment.drc_back_voltage_decomposer.quadrature;
|
|
|
|
//
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|