From 3dc2e158dde6f297c0d5538222804321a2323e23 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Fri, 15 Sep 2017 12:50:09 -0300 Subject: Add doxygen documentation On docs folder --- docs/doxygen/html/_about_form_8h_source.html | 82 + docs/doxygen/html/_art_metro_8h_source.html | 81 + docs/doxygen/html/_branch_8h_source.html | 101 + docs/doxygen/html/_bus_8h_source.html | 92 + docs/doxygen/html/_bus_form_8h_source.html | 83 + docs/doxygen/html/_camera_8h_source.html | 81 + docs/doxygen/html/_capacitor_8h_source.html | 87 + docs/doxygen/html/_chart_view_8h_source.html | 84 + docs/doxygen/html/_chart_view_base_8h_source.html | 81 + docs/doxygen/html/_connection_line_8h_source.html | 91 + docs/doxygen/html/_constant_8h_source.html | 91 + docs/doxygen/html/_constant_form_8h_source.html | 83 + docs/doxygen/html/_control_editor_8h_source.html | 100 + .../html/_control_editor_base_8h_source.html | 82 + docs/doxygen/html/_control_element_8h_source.html | 84 + .../html/_control_element_container_8h_source.html | 83 + .../html/_control_element_solver_8h_source.html | 93 + .../html/_control_system_test_8h_source.html | 83 + docs/doxygen/html/_data_report_8h_source.html | 84 + docs/doxygen/html/_data_report_base_8h_source.html | 81 + .../html/_degrees_and_radians_8h_source.html | 80 + docs/doxygen/html/_electric_calculation_8h.html | 136 + .../html/_electric_calculation_8h_source.html | 94 + .../doxygen/html/_electromechanical_8h_source.html | 87 + docs/doxygen/html/_element_8h.html | 195 ++ docs/doxygen/html/_element_8h_source.html | 144 + .../html/_element_data_object_8h_source.html | 82 + docs/doxygen/html/_element_form_8h_source.html | 98 + .../doxygen/html/_element_plot_data_8h_source.html | 82 + docs/doxygen/html/_exponential_8h_source.html | 90 + docs/doxygen/html/_exponential_form_8h_source.html | 83 + docs/doxygen/html/_fault_8h.html | 96 + docs/doxygen/html/_fault_8h_source.html | 89 + docs/doxygen/html/_file_handing_8h_source.html | 86 + docs/doxygen/html/_gain_8h_source.html | 92 + docs/doxygen/html/_gain_form_8h_source.html | 83 + .../html/_general_properties_form_8h_source.html | 83 + .../html/_generator_stab_form_8h_source.html | 86 + .../doxygen/html/_graphical_element_8h_source.html | 83 + docs/doxygen/html/_i_o_control_8h_source.html | 91 + docs/doxygen/html/_i_o_control_form_8h_source.html | 83 + docs/doxygen/html/_ind_motor_8h_source.html | 88 + docs/doxygen/html/_ind_motor_form_8h_source.html | 83 + docs/doxygen/html/_inductor_8h_source.html | 87 + docs/doxygen/html/_limiter_8h_source.html | 90 + docs/doxygen/html/_limiter_form_8h_source.html | 83 + docs/doxygen/html/_line_8h_source.html | 90 + docs/doxygen/html/_line_form_8h_source.html | 84 + docs/doxygen/html/_load_8h_source.html | 87 + docs/doxygen/html/_load_form_8h_source.html | 84 + docs/doxygen/html/_machines_8h_source.html | 101 + docs/doxygen/html/_main_frame_8h_source.html | 91 + docs/doxygen/html/_main_frame_base_8h_source.html | 81 + docs/doxygen/html/_multiplier_8h_source.html | 90 + docs/doxygen/html/_power_element_8h.html | 306 ++ docs/doxygen/html/_power_element_8h_source.html | 136 + docs/doxygen/html/_power_flow_8h_source.html | 83 + docs/doxygen/html/_properties_data_8h_source.html | 87 + docs/doxygen/html/_properties_form_8h_source.html | 83 + docs/doxygen/html/_rate_limiter_8h_source.html | 90 + .../doxygen/html/_rate_limiter_form_8h_source.html | 83 + .../_reactive_shunt_element_form_8h_source.html | 85 + docs/doxygen/html/_shunt_8h_source.html | 94 + .../html/_simulations_settings_form_8h_source.html | 83 + docs/doxygen/html/_sum_8h_source.html | 91 + docs/doxygen/html/_sum_form_8h_source.html | 83 + docs/doxygen/html/_switching_form_8h_source.html | 83 + docs/doxygen/html/_sync_generator_8h_source.html | 94 + .../doxygen/html/_sync_machine_form_8h_source.html | 85 + docs/doxygen/html/_sync_motor_8h_source.html | 93 + docs/doxygen/html/_text_8h_source.html | 102 + docs/doxygen/html/_text_form_8h_source.html | 85 + .../doxygen/html/_transfer_function_8h_source.html | 92 + .../html/_transfer_function_form_8h_source.html | 83 + docs/doxygen/html/_transformer_8h_source.html | 90 + docs/doxygen/html/_transformer_form_8h_source.html | 84 + docs/doxygen/html/_workspace_8h_source.html | 100 + docs/doxygen/html/_workspace_base_8h_source.html | 81 + docs/doxygen/html/annotated.html | 199 ++ docs/doxygen/html/bc_s.png | Bin 0 -> 676 bytes docs/doxygen/html/bdwn.png | Bin 0 -> 147 bytes docs/doxygen/html/class_about_form-members.html | 109 + docs/doxygen/html/class_about_form.html | 189 ++ docs/doxygen/html/class_about_form.png | Bin 0 -> 661 bytes .../html/class_about_form_base-members.html | 106 + docs/doxygen/html/class_about_form_base.html | 182 ++ docs/doxygen/html/class_about_form_base.png | Bin 0 -> 663 bytes docs/doxygen/html/class_branch-members.html | 207 ++ docs/doxygen/html/class_branch.html | 1097 +++++++ docs/doxygen/html/class_branch.png | Bin 0 -> 1041 bytes docs/doxygen/html/class_bus-members.html | 210 ++ docs/doxygen/html/class_bus.html | 994 +++++++ docs/doxygen/html/class_bus.png | Bin 0 -> 578 bytes docs/doxygen/html/class_bus_form-members.html | 176 ++ docs/doxygen/html/class_bus_form.html | 391 +++ docs/doxygen/html/class_bus_form.png | Bin 0 -> 611 bytes docs/doxygen/html/class_bus_form_base-members.html | 168 ++ docs/doxygen/html/class_bus_form_base.html | 368 +++ docs/doxygen/html/class_bus_form_base.png | Bin 0 -> 620 bytes docs/doxygen/html/class_camera-members.html | 98 + docs/doxygen/html/class_camera.html | 142 + docs/doxygen/html/class_capacitor-members.html | 216 ++ docs/doxygen/html/class_capacitor.html | 870 ++++++ docs/doxygen/html/class_capacitor.png | Bin 0 -> 779 bytes docs/doxygen/html/class_chart_view-members.html | 160 ++ docs/doxygen/html/class_chart_view.html | 343 +++ docs/doxygen/html/class_chart_view.png | Bin 0 -> 694 bytes .../html/class_chart_view_base-members.html | 131 + docs/doxygen/html/class_chart_view_base.html | 257 ++ docs/doxygen/html/class_chart_view_base.png | Bin 0 -> 700 bytes .../html/class_connection_line-members.html | 216 ++ docs/doxygen/html/class_connection_line.html | 773 +++++ docs/doxygen/html/class_connection_line.png | Bin 0 -> 643 bytes docs/doxygen/html/class_constant-members.html | 198 ++ docs/doxygen/html/class_constant.html | 699 +++++ docs/doxygen/html/class_constant.png | Bin 0 -> 623 bytes docs/doxygen/html/class_constant_form-members.html | 100 + docs/doxygen/html/class_constant_form.html | 163 ++ docs/doxygen/html/class_constant_form.png | Bin 0 -> 716 bytes .../html/class_constant_form_base-members.html | 95 + docs/doxygen/html/class_constant_form_base.html | 149 + docs/doxygen/html/class_constant_form_base.png | Bin 0 -> 722 bytes .../doxygen/html/class_control_editor-members.html | 159 ++ docs/doxygen/html/class_control_editor.html | 326 +++ docs/doxygen/html/class_control_editor.png | Bin 0 -> 709 bytes .../html/class_control_editor_base-members.html | 114 + docs/doxygen/html/class_control_editor_base.html | 208 ++ docs/doxygen/html/class_control_editor_base.png | Bin 0 -> 723 bytes .../html/class_control_element-members.html | 190 ++ docs/doxygen/html/class_control_element.html | 528 ++++ docs/doxygen/html/class_control_element.png | Bin 0 -> 2802 bytes .../html/class_control_element_button-members.html | 96 + .../doxygen/html/class_control_element_button.html | 151 + docs/doxygen/html/class_control_element_button.png | Bin 0 -> 510 bytes .../class_control_element_container-members.html | 107 + .../html/class_control_element_container.html | 169 ++ .../html/class_control_element_solver-members.html | 98 + .../doxygen/html/class_control_element_solver.html | 146 + .../html/class_control_system_test-members.html | 122 + docs/doxygen/html/class_control_system_test.html | 229 ++ docs/doxygen/html/class_control_system_test.png | Bin 0 -> 890 bytes .../class_control_system_test_base-members.html | 115 + .../html/class_control_system_test_base.html | 209 ++ .../html/class_control_system_test_base.png | Bin 0 -> 896 bytes docs/doxygen/html/class_data_report-members.html | 154 + docs/doxygen/html/class_data_report.html | 315 +++ docs/doxygen/html/class_data_report.png | Bin 0 -> 687 bytes .../html/class_data_report_base-members.html | 126 + docs/doxygen/html/class_data_report_base.html | 242 ++ docs/doxygen/html/class_data_report_base.png | Bin 0 -> 687 bytes .../html/class_electric_calculation-members.html | 111 + docs/doxygen/html/class_electric_calculation.html | 670 +++++ docs/doxygen/html/class_electric_calculation.png | Bin 0 -> 901 bytes .../html/class_electromechanical-members.html | 159 ++ docs/doxygen/html/class_electromechanical.html | 349 +++ docs/doxygen/html/class_electromechanical.png | Bin 0 -> 515 bytes docs/doxygen/html/class_element-members.html | 175 ++ docs/doxygen/html/class_element.html | 2979 ++++++++++++++++++++ docs/doxygen/html/class_element.png | Bin 0 -> 5530 bytes .../html/class_element_data_object-members.html | 87 + docs/doxygen/html/class_element_data_object.html | 117 + docs/doxygen/html/class_element_data_object.png | Bin 0 -> 580 bytes .../html/class_element_plot_data-members.html | 118 + docs/doxygen/html/class_element_plot_data.html | 185 ++ docs/doxygen/html/class_exponential-members.html | 197 ++ docs/doxygen/html/class_exponential.html | 696 +++++ docs/doxygen/html/class_exponential.png | Bin 0 -> 638 bytes .../html/class_exponential_form-members.html | 106 + docs/doxygen/html/class_exponential_form.html | 181 ++ docs/doxygen/html/class_exponential_form.png | Bin 0 -> 770 bytes .../html/class_exponential_form_base-members.html | 101 + docs/doxygen/html/class_exponential_form_base.html | 167 ++ docs/doxygen/html/class_exponential_form_base.png | Bin 0 -> 774 bytes docs/doxygen/html/class_fault-members.html | 132 + docs/doxygen/html/class_fault.html | 428 +++ docs/doxygen/html/class_fault.png | Bin 0 -> 453 bytes docs/doxygen/html/class_file_handing-members.html | 107 + docs/doxygen/html/class_file_handing.html | 173 ++ docs/doxygen/html/class_gain-members.html | 199 ++ docs/doxygen/html/class_gain.html | 738 +++++ docs/doxygen/html/class_gain.png | Bin 0 -> 598 bytes docs/doxygen/html/class_gain_form-members.html | 100 + docs/doxygen/html/class_gain_form.html | 163 ++ docs/doxygen/html/class_gain_form.png | Bin 0 -> 655 bytes .../doxygen/html/class_gain_form_base-members.html | 95 + docs/doxygen/html/class_gain_form_base.html | 149 + docs/doxygen/html/class_gain_form_base.png | Bin 0 -> 658 bytes .../class_general_properties_form-members.html | 103 + .../html/class_general_properties_form.html | 172 ++ .../doxygen/html/class_general_properties_form.png | Bin 0 -> 945 bytes ...class_general_properties_form_base-members.html | 99 + .../html/class_general_properties_form_base.html | 161 ++ .../html/class_general_properties_form_base.png | Bin 0 -> 952 bytes .../html/class_generator_stab_form-members.html | 201 ++ docs/doxygen/html/class_generator_stab_form.html | 466 +++ docs/doxygen/html/class_generator_stab_form.png | Bin 0 -> 882 bytes .../class_generator_stab_form_base-members.html | 196 ++ .../html/class_generator_stab_form_base.html | 452 +++ .../html/class_generator_stab_form_base.png | Bin 0 -> 889 bytes .../html/class_graphical_element-members.html | 177 ++ docs/doxygen/html/class_graphical_element.html | 392 +++ docs/doxygen/html/class_graphical_element.png | Bin 0 -> 641 bytes docs/doxygen/html/class_i_o_control-members.html | 210 ++ docs/doxygen/html/class_i_o_control.html | 729 +++++ docs/doxygen/html/class_i_o_control.png | Bin 0 -> 602 bytes .../html/class_i_o_control_form-members.html | 108 + docs/doxygen/html/class_i_o_control_form.html | 187 ++ docs/doxygen/html/class_i_o_control_form.png | Bin 0 -> 690 bytes .../html/class_i_o_control_form_base-members.html | 101 + docs/doxygen/html/class_i_o_control_form_base.html | 167 ++ docs/doxygen/html/class_i_o_control_form_base.png | Bin 0 -> 693 bytes docs/doxygen/html/class_ind_motor-members.html | 222 ++ docs/doxygen/html/class_ind_motor.html | 679 +++++ docs/doxygen/html/class_ind_motor.png | Bin 0 -> 779 bytes .../doxygen/html/class_ind_motor_form-members.html | 115 + docs/doxygen/html/class_ind_motor_form.html | 208 ++ docs/doxygen/html/class_ind_motor_form.png | Bin 0 -> 706 bytes .../html/class_ind_motor_form_base-members.html | 110 + docs/doxygen/html/class_ind_motor_form_base.html | 194 ++ docs/doxygen/html/class_ind_motor_form_base.png | Bin 0 -> 710 bytes docs/doxygen/html/class_inductor-members.html | 216 ++ docs/doxygen/html/class_inductor.html | 870 ++++++ docs/doxygen/html/class_inductor.png | Bin 0 -> 742 bytes docs/doxygen/html/class_limiter-members.html | 199 ++ docs/doxygen/html/class_limiter.html | 702 +++++ docs/doxygen/html/class_limiter.png | Bin 0 -> 599 bytes docs/doxygen/html/class_limiter_form-members.html | 104 + docs/doxygen/html/class_limiter_form.html | 175 ++ docs/doxygen/html/class_limiter_form.png | Bin 0 -> 670 bytes .../html/class_limiter_form_base-members.html | 99 + docs/doxygen/html/class_limiter_form_base.html | 161 ++ docs/doxygen/html/class_limiter_form_base.png | Bin 0 -> 673 bytes docs/doxygen/html/class_line-members.html | 217 ++ docs/doxygen/html/class_line.html | 1348 +++++++++ docs/doxygen/html/class_line.png | Bin 0 -> 730 bytes docs/doxygen/html/class_line_form-members.html | 154 + docs/doxygen/html/class_line_form.html | 325 +++ docs/doxygen/html/class_line_form.png | Bin 0 -> 634 bytes .../doxygen/html/class_line_form_base-members.html | 148 + docs/doxygen/html/class_line_form_base.html | 308 ++ docs/doxygen/html/class_line_form_base.png | Bin 0 -> 633 bytes docs/doxygen/html/class_load-members.html | 217 ++ docs/doxygen/html/class_load.html | 801 ++++++ docs/doxygen/html/class_load.png | Bin 0 -> 728 bytes docs/doxygen/html/class_load_form-members.html | 119 + docs/doxygen/html/class_load_form.html | 220 ++ docs/doxygen/html/class_load_form.png | Bin 0 -> 633 bytes .../doxygen/html/class_load_form_base-members.html | 114 + docs/doxygen/html/class_load_form_base.html | 206 ++ docs/doxygen/html/class_load_form_base.png | Bin 0 -> 640 bytes docs/doxygen/html/class_machines-members.html | 215 ++ docs/doxygen/html/class_machines.html | 1039 +++++++ docs/doxygen/html/class_machines.png | Bin 0 -> 1443 bytes docs/doxygen/html/class_main_app-members.html | 84 + docs/doxygen/html/class_main_app.html | 103 + docs/doxygen/html/class_main_app.png | Bin 0 -> 379 bytes docs/doxygen/html/class_main_frame-members.html | 185 ++ docs/doxygen/html/class_main_frame.html | 366 +++ docs/doxygen/html/class_main_frame.png | Bin 0 -> 700 bytes .../html/class_main_frame_base-members.html | 171 ++ docs/doxygen/html/class_main_frame_base.html | 328 +++ docs/doxygen/html/class_main_frame_base.png | Bin 0 -> 708 bytes docs/doxygen/html/class_multiplier-members.html | 193 ++ docs/doxygen/html/class_multiplier.html | 680 +++++ docs/doxygen/html/class_multiplier.png | Bin 0 -> 627 bytes docs/doxygen/html/class_node-members.html | 112 + docs/doxygen/html/class_node.html | 186 ++ .../html/class_open_g_l_colour-members.html | 85 + docs/doxygen/html/class_open_g_l_colour.html | 248 ++ docs/doxygen/html/class_plot_data-members.html | 102 + docs/doxygen/html/class_plot_data.html | 161 ++ docs/doxygen/html/class_plot_data.png | Bin 0 -> 465 bytes docs/doxygen/html/class_power_element-members.html | 203 ++ docs/doxygen/html/class_power_element.html | 898 ++++++ docs/doxygen/html/class_power_element.png | Bin 0 -> 3383 bytes docs/doxygen/html/class_power_flow-members.html | 118 + docs/doxygen/html/class_power_flow.html | 215 ++ docs/doxygen/html/class_power_flow.png | Bin 0 -> 500 bytes .../html/class_properties_data-members.html | 87 + docs/doxygen/html/class_properties_data.html | 109 + docs/doxygen/html/class_rate_limiter-members.html | 199 ++ docs/doxygen/html/class_rate_limiter.html | 702 +++++ docs/doxygen/html/class_rate_limiter.png | Bin 0 -> 645 bytes .../html/class_rate_limiter_form-members.html | 104 + docs/doxygen/html/class_rate_limiter_form.html | 175 ++ docs/doxygen/html/class_rate_limiter_form.png | Bin 0 -> 747 bytes .../html/class_rate_limiter_form_base-members.html | 99 + .../doxygen/html/class_rate_limiter_form_base.html | 161 ++ docs/doxygen/html/class_rate_limiter_form_base.png | Bin 0 -> 751 bytes .../class_reactive_shunt_element_form-members.html | 111 + .../html/class_reactive_shunt_element_form.html | 196 ++ .../html/class_reactive_shunt_element_form.png | Bin 0 -> 974 bytes ...s_reactive_shunt_element_form_base-members.html | 104 + .../class_reactive_shunt_element_form_base.html | 176 ++ .../class_reactive_shunt_element_form_base.png | Bin 0 -> 983 bytes docs/doxygen/html/class_shunt-members.html | 209 ++ docs/doxygen/html/class_shunt.html | 863 ++++++ docs/doxygen/html/class_shunt.png | Bin 0 -> 1336 bytes .../class_simulations_settings_form-members.html | 164 ++ .../html/class_simulations_settings_form.html | 355 +++ .../html/class_simulations_settings_form.png | Bin 0 -> 1012 bytes ...ass_simulations_settings_form_base-members.html | 160 ++ .../html/class_simulations_settings_form_base.html | 344 +++ .../html/class_simulations_settings_form_base.png | Bin 0 -> 1015 bytes docs/doxygen/html/class_sum-members.html | 201 ++ docs/doxygen/html/class_sum.html | 707 +++++ docs/doxygen/html/class_sum.png | Bin 0 -> 594 bytes docs/doxygen/html/class_sum_form-members.html | 100 + docs/doxygen/html/class_sum_form.html | 163 ++ docs/doxygen/html/class_sum_form.png | Bin 0 -> 645 bytes docs/doxygen/html/class_sum_form_base-members.html | 95 + docs/doxygen/html/class_sum_form_base.html | 149 + docs/doxygen/html/class_sum_form_base.png | Bin 0 -> 651 bytes .../doxygen/html/class_switching_form-members.html | 115 + docs/doxygen/html/class_switching_form.html | 208 ++ docs/doxygen/html/class_switching_form.png | Bin 0 -> 778 bytes .../html/class_switching_form_base-members.html | 110 + docs/doxygen/html/class_switching_form_base.html | 194 ++ docs/doxygen/html/class_switching_form_base.png | Bin 0 -> 779 bytes .../doxygen/html/class_sync_generator-members.html | 224 ++ docs/doxygen/html/class_sync_generator.html | 769 +++++ docs/doxygen/html/class_sync_generator.png | Bin 0 -> 857 bytes .../html/class_sync_machine_form-members.html | 176 ++ docs/doxygen/html/class_sync_machine_form.html | 391 +++ docs/doxygen/html/class_sync_machine_form.png | Bin 0 -> 870 bytes .../html/class_sync_machine_form_base-members.html | 168 ++ .../doxygen/html/class_sync_machine_form_base.html | 368 +++ docs/doxygen/html/class_sync_machine_form_base.png | Bin 0 -> 876 bytes docs/doxygen/html/class_sync_motor-members.html | 222 ++ docs/doxygen/html/class_sync_motor.html | 726 +++++ docs/doxygen/html/class_sync_motor.png | Bin 0 -> 816 bytes docs/doxygen/html/class_text-members.html | 214 ++ docs/doxygen/html/class_text.html | 691 +++++ docs/doxygen/html/class_text.png | Bin 0 -> 635 bytes docs/doxygen/html/class_text_form-members.html | 144 + docs/doxygen/html/class_text_form.html | 295 ++ docs/doxygen/html/class_text_form.png | Bin 0 -> 646 bytes .../doxygen/html/class_text_form_base-members.html | 130 + docs/doxygen/html/class_text_form_base.html | 254 ++ docs/doxygen/html/class_text_form_base.png | Bin 0 -> 654 bytes .../html/class_text_g_l_drawable-members.html | 108 + docs/doxygen/html/class_text_g_l_drawable.html | 343 +++ docs/doxygen/html/class_text_g_l_drawable.png | Bin 0 -> 879 bytes docs/doxygen/html/class_text_texture-members.html | 87 + docs/doxygen/html/class_text_texture.html | 108 + .../html/class_transfer_function-members.html | 213 ++ docs/doxygen/html/class_transfer_function.html | 754 +++++ docs/doxygen/html/class_transfer_function.png | Bin 0 -> 671 bytes .../html/class_transfer_function_form-members.html | 105 + .../doxygen/html/class_transfer_function_form.html | 178 ++ docs/doxygen/html/class_transfer_function_form.png | Bin 0 -> 882 bytes .../class_transfer_function_form_base-members.html | 99 + .../html/class_transfer_function_form_base.html | 161 ++ .../html/class_transfer_function_form_base.png | Bin 0 -> 889 bytes docs/doxygen/html/class_transformer-members.html | 215 ++ docs/doxygen/html/class_transformer.html | 1156 ++++++++ docs/doxygen/html/class_transformer.png | Bin 0 -> 782 bytes .../html/class_transformer_form-members.html | 173 ++ docs/doxygen/html/class_transformer_form.html | 382 +++ docs/doxygen/html/class_transformer_form.png | Bin 0 -> 797 bytes .../html/class_transformer_form_base-members.html | 168 ++ docs/doxygen/html/class_transformer_form_base.html | 368 +++ docs/doxygen/html/class_transformer_form_base.png | Bin 0 -> 805 bytes docs/doxygen/html/class_workspace-members.html | 171 ++ docs/doxygen/html/class_workspace.html | 356 +++ docs/doxygen/html/class_workspace.png | Bin 0 -> 672 bytes .../doxygen/html/class_workspace_base-members.html | 98 + docs/doxygen/html/class_workspace_base.html | 158 ++ docs/doxygen/html/class_workspace_base.png | Bin 0 -> 673 bytes docs/doxygen/html/classes.html | 131 + .../html/classwx_g_l_number_renderer-members.html | 122 + docs/doxygen/html/classwx_g_l_number_renderer.html | 352 +++ docs/doxygen/html/classwx_g_l_number_renderer.png | Bin 0 -> 1250 bytes docs/doxygen/html/classwx_g_l_string-members.html | 118 + docs/doxygen/html/classwx_g_l_string.html | 373 +++ docs/doxygen/html/classwx_g_l_string.png | Bin 0 -> 1259 bytes .../html/classwx_g_l_string_array-members.html | 87 + docs/doxygen/html/classwx_g_l_string_array.html | 251 ++ .../classwx_ribbon_metro_art_provider-members.html | 99 + .../html/classwx_ribbon_metro_art_provider.html | 156 + .../html/classwx_ribbon_metro_art_provider.png | Bin 0 -> 718 bytes docs/doxygen/html/closed.png | Bin 0 -> 132 bytes .../html/dir_ffd1f789ec7bd0a45fc6ad92579c5070.html | 96 + docs/doxygen/html/doc.png | Bin 0 -> 746 bytes docs/doxygen/html/doxygen.css | 1596 +++++++++++ docs/doxygen/html/doxygen.png | Bin 0 -> 3779 bytes docs/doxygen/html/dynsections.js | 97 + docs/doxygen/html/files.html | 156 + docs/doxygen/html/folderclosed.png | Bin 0 -> 616 bytes docs/doxygen/html/folderopen.png | Bin 0 -> 597 bytes docs/doxygen/html/functions.html | 98 + docs/doxygen/html/functions_0x7e.html | 91 + docs/doxygen/html/functions_b.html | 80 + docs/doxygen/html/functions_c.html | 113 + docs/doxygen/html/functions_d.html | 124 + docs/doxygen/html/functions_e.html | 82 + docs/doxygen/html/functions_f.html | 79 + docs/doxygen/html/functions_func.html | 98 + docs/doxygen/html/functions_func_0x7e.html | 91 + docs/doxygen/html/functions_func_b.html | 80 + docs/doxygen/html/functions_func_c.html | 110 + docs/doxygen/html/functions_func_d.html | 124 + docs/doxygen/html/functions_func_e.html | 82 + docs/doxygen/html/functions_func_f.html | 79 + docs/doxygen/html/functions_func_g.html | 225 ++ docs/doxygen/html/functions_func_h.html | 79 + docs/doxygen/html/functions_func_i.html | 116 + docs/doxygen/html/functions_func_m.html | 101 + docs/doxygen/html/functions_func_n.html | 82 + docs/doxygen/html/functions_func_o.html | 82 + docs/doxygen/html/functions_func_p.html | 88 + docs/doxygen/html/functions_func_r.html | 148 + docs/doxygen/html/functions_func_s.html | 187 ++ docs/doxygen/html/functions_func_u.html | 92 + docs/doxygen/html/functions_func_w.html | 85 + docs/doxygen/html/functions_g.html | 225 ++ docs/doxygen/html/functions_h.html | 79 + docs/doxygen/html/functions_i.html | 116 + docs/doxygen/html/functions_m.html | 104 + docs/doxygen/html/functions_n.html | 82 + docs/doxygen/html/functions_o.html | 82 + docs/doxygen/html/functions_p.html | 88 + docs/doxygen/html/functions_r.html | 148 + docs/doxygen/html/functions_s.html | 193 ++ docs/doxygen/html/functions_u.html | 92 + docs/doxygen/html/functions_vars.html | 86 + docs/doxygen/html/functions_w.html | 85 + docs/doxygen/html/globals.html | 259 ++ docs/doxygen/html/globals_enum.html | 92 + docs/doxygen/html/globals_eval.html | 233 ++ docs/doxygen/html/hierarchy.html | 209 ++ docs/doxygen/html/index.html | 76 + docs/doxygen/html/jquery.js | 87 + docs/doxygen/html/logo256.png | Bin 0 -> 8746 bytes docs/doxygen/html/menu.js | 26 + docs/doxygen/html/menudata.js | 64 + docs/doxygen/html/nav_f.png | Bin 0 -> 153 bytes docs/doxygen/html/nav_g.png | Bin 0 -> 95 bytes docs/doxygen/html/nav_h.png | Bin 0 -> 98 bytes docs/doxygen/html/open.png | Bin 0 -> 123 bytes docs/doxygen/html/search/all_0.html | 26 + docs/doxygen/html/search/all_0.js | 9 + docs/doxygen/html/search/all_1.html | 26 + docs/doxygen/html/search/all_1.js | 9 + docs/doxygen/html/search/all_10.html | 26 + docs/doxygen/html/search/all_10.js | 15 + docs/doxygen/html/search/all_11.html | 26 + docs/doxygen/html/search/all_11.js | 27 + docs/doxygen/html/search/all_12.html | 26 + docs/doxygen/html/search/all_12.js | 10 + docs/doxygen/html/search/all_13.html | 26 + docs/doxygen/html/search/all_13.js | 8 + docs/doxygen/html/search/all_2.html | 26 + docs/doxygen/html/search/all_2.js | 26 + docs/doxygen/html/search/all_3.html | 26 + docs/doxygen/html/search/all_3.js | 15 + docs/doxygen/html/search/all_4.html | 26 + docs/doxygen/html/search/all_4.js | 15 + docs/doxygen/html/search/all_5.html | 26 + docs/doxygen/html/search/all_5.js | 14 + docs/doxygen/html/search/all_6.html | 26 + docs/doxygen/html/search/all_6.js | 45 + docs/doxygen/html/search/all_7.html | 26 + docs/doxygen/html/search/all_7.js | 4 + docs/doxygen/html/search/all_8.html | 26 + docs/doxygen/html/search/all_8.js | 33 + docs/doxygen/html/search/all_9.html | 26 + docs/doxygen/html/search/all_9.js | 14 + docs/doxygen/html/search/all_a.html | 26 + docs/doxygen/html/search/all_a.js | 12 + docs/doxygen/html/search/all_b.html | 26 + docs/doxygen/html/search/all_b.js | 5 + docs/doxygen/html/search/all_c.html | 26 + docs/doxygen/html/search/all_c.js | 5 + docs/doxygen/html/search/all_d.html | 26 + docs/doxygen/html/search/all_d.js | 17 + docs/doxygen/html/search/all_e.html | 26 + docs/doxygen/html/search/all_e.js | 23 + docs/doxygen/html/search/all_f.html | 26 + docs/doxygen/html/search/all_f.js | 49 + docs/doxygen/html/search/classes_0.html | 26 + docs/doxygen/html/search/classes_0.js | 5 + docs/doxygen/html/search/classes_1.html | 26 + docs/doxygen/html/search/classes_1.js | 8 + docs/doxygen/html/search/classes_10.html | 26 + docs/doxygen/html/search/classes_10.js | 9 + docs/doxygen/html/search/classes_2.html | 26 + docs/doxygen/html/search/classes_2.js | 20 + docs/doxygen/html/search/classes_3.html | 26 + docs/doxygen/html/search/classes_3.js | 5 + docs/doxygen/html/search/classes_4.html | 26 + docs/doxygen/html/search/classes_4.js | 12 + docs/doxygen/html/search/classes_5.html | 26 + docs/doxygen/html/search/classes_5.js | 5 + docs/doxygen/html/search/classes_6.html | 26 + docs/doxygen/html/search/classes_6.js | 12 + docs/doxygen/html/search/classes_7.html | 26 + docs/doxygen/html/search/classes_7.js | 13 + docs/doxygen/html/search/classes_8.html | 26 + docs/doxygen/html/search/classes_8.js | 14 + docs/doxygen/html/search/classes_9.html | 26 + docs/doxygen/html/search/classes_9.js | 8 + docs/doxygen/html/search/classes_a.html | 26 + docs/doxygen/html/search/classes_a.js | 4 + docs/doxygen/html/search/classes_b.html | 26 + docs/doxygen/html/search/classes_b.js | 4 + docs/doxygen/html/search/classes_c.html | 26 + docs/doxygen/html/search/classes_c.js | 7 + docs/doxygen/html/search/classes_d.html | 26 + docs/doxygen/html/search/classes_d.js | 9 + docs/doxygen/html/search/classes_e.html | 26 + docs/doxygen/html/search/classes_e.js | 20 + docs/doxygen/html/search/classes_f.html | 26 + docs/doxygen/html/search/classes_f.js | 15 + docs/doxygen/html/search/close.png | Bin 0 -> 273 bytes docs/doxygen/html/search/enums_0.html | 26 + docs/doxygen/html/search/enums_0.js | 4 + docs/doxygen/html/search/enums_1.html | 26 + docs/doxygen/html/search/enums_1.js | 4 + docs/doxygen/html/search/enums_2.html | 26 + docs/doxygen/html/search/enums_2.js | 4 + docs/doxygen/html/search/enums_3.html | 26 + docs/doxygen/html/search/enums_3.js | 5 + docs/doxygen/html/search/enums_4.html | 26 + docs/doxygen/html/search/enums_4.js | 4 + docs/doxygen/html/search/enumvalues_0.html | 26 + docs/doxygen/html/search/enumvalues_0.js | 10 + docs/doxygen/html/search/enumvalues_1.html | 26 + docs/doxygen/html/search/enumvalues_1.js | 16 + docs/doxygen/html/search/enumvalues_2.html | 26 + docs/doxygen/html/search/enumvalues_2.js | 8 + docs/doxygen/html/search/enumvalues_3.html | 26 + docs/doxygen/html/search/enumvalues_3.js | 5 + docs/doxygen/html/search/enumvalues_4.html | 26 + docs/doxygen/html/search/enumvalues_4.js | 23 + docs/doxygen/html/search/files_0.html | 26 + docs/doxygen/html/search/files_0.js | 5 + docs/doxygen/html/search/files_1.html | 26 + docs/doxygen/html/search/files_1.js | 4 + docs/doxygen/html/search/files_2.html | 26 + docs/doxygen/html/search/files_2.js | 4 + docs/doxygen/html/search/functions_0.html | 26 + docs/doxygen/html/search/functions_0.js | 7 + docs/doxygen/html/search/functions_1.html | 26 + docs/doxygen/html/search/functions_1.js | 4 + docs/doxygen/html/search/functions_10.html | 26 + docs/doxygen/html/search/functions_10.js | 6 + docs/doxygen/html/search/functions_11.html | 26 + docs/doxygen/html/search/functions_11.js | 8 + docs/doxygen/html/search/functions_2.html | 26 + docs/doxygen/html/search/functions_2.js | 7 + docs/doxygen/html/search/functions_3.html | 26 + docs/doxygen/html/search/functions_3.js | 13 + docs/doxygen/html/search/functions_4.html | 26 + docs/doxygen/html/search/functions_4.js | 5 + docs/doxygen/html/search/functions_5.html | 26 + docs/doxygen/html/search/functions_5.js | 4 + docs/doxygen/html/search/functions_6.html | 26 + docs/doxygen/html/search/functions_6.js | 36 + docs/doxygen/html/search/functions_7.html | 26 + docs/doxygen/html/search/functions_7.js | 4 + docs/doxygen/html/search/functions_8.html | 26 + docs/doxygen/html/search/functions_8.js | 10 + docs/doxygen/html/search/functions_9.html | 26 + docs/doxygen/html/search/functions_9.js | 6 + docs/doxygen/html/search/functions_a.html | 26 + docs/doxygen/html/search/functions_a.js | 4 + docs/doxygen/html/search/functions_b.html | 26 + docs/doxygen/html/search/functions_b.js | 5 + docs/doxygen/html/search/functions_c.html | 26 + docs/doxygen/html/search/functions_c.js | 6 + docs/doxygen/html/search/functions_d.html | 26 + docs/doxygen/html/search/functions_d.js | 17 + docs/doxygen/html/search/functions_e.html | 26 + docs/doxygen/html/search/functions_e.js | 27 + docs/doxygen/html/search/functions_f.html | 26 + docs/doxygen/html/search/functions_f.js | 7 + docs/doxygen/html/search/mag_sel.png | Bin 0 -> 563 bytes docs/doxygen/html/search/nomatches.html | 12 + docs/doxygen/html/search/search.css | 271 ++ docs/doxygen/html/search/search.js | 791 ++++++ docs/doxygen/html/search/search_l.png | Bin 0 -> 604 bytes docs/doxygen/html/search/search_m.png | Bin 0 -> 158 bytes docs/doxygen/html/search/search_r.png | Bin 0 -> 612 bytes docs/doxygen/html/search/searchdata.js | 33 + docs/doxygen/html/search/variables_0.html | 26 + docs/doxygen/html/search/variables_0.js | 4 + docs/doxygen/html/search/variables_1.html | 26 + docs/doxygen/html/search/variables_1.js | 4 + docs/doxygen/html/search/variables_2.html | 26 + docs/doxygen/html/search/variables_2.js | 5 + docs/doxygen/html/splitbar.png | Bin 0 -> 314 bytes .../html/struct_bus_electrical_data-members.html | 105 + docs/doxygen/html/struct_bus_electrical_data.html | 191 ++ .../struct_capacitor_electrical_data-members.html | 82 + .../html/struct_capacitor_electrical_data.html | 95 + .../html/struct_elements_lists-members.html | 81 + docs/doxygen/html/struct_elements_lists.html | 92 + docs/doxygen/html/struct_general_data-members.html | 81 + docs/doxygen/html/struct_general_data.html | 92 + .../struct_ind_motor_electrical_data-members.html | 84 + .../html/struct_ind_motor_electrical_data.html | 101 + .../struct_inductor_electrical_data-members.html | 82 + .../html/struct_inductor_electrical_data.html | 95 + .../html/struct_integration_constant-members.html | 81 + docs/doxygen/html/struct_integration_constant.html | 126 + .../html/struct_line_electrical_data-members.html | 98 + docs/doxygen/html/struct_line_electrical_data.html | 143 + .../html/struct_load_electrical_data-members.html | 85 + docs/doxygen/html/struct_load_electrical_data.html | 104 + .../html/struct_reactive_limits-members.html | 84 + docs/doxygen/html/struct_reactive_limits.html | 101 + .../html/struct_simulation_data-members.html | 95 + docs/doxygen/html/struct_simulation_data.html | 134 + .../html/struct_switching_data-members.html | 81 + docs/doxygen/html/struct_switching_data.html | 126 + ...uct_sync_generator_electrical_data-members.html | 155 + .../struct_sync_generator_electrical_data.html | 328 +++ .../struct_sync_motor_electrical_data-members.html | 155 + .../html/struct_sync_motor_electrical_data.html | 328 +++ ..._transfer_function_1_1_space_state-members.html | 87 + .../struct_transfer_function_1_1_space_state.html | 102 + ...struct_transformer_electrical_data-members.html | 104 + .../html/struct_transformer_electrical_data.html | 161 ++ docs/doxygen/html/sync_off.png | Bin 0 -> 853 bytes docs/doxygen/html/sync_on.png | Bin 0 -> 845 bytes docs/doxygen/html/tab_a.png | Bin 0 -> 142 bytes docs/doxygen/html/tab_b.png | Bin 0 -> 169 bytes docs/doxygen/html/tab_h.png | Bin 0 -> 177 bytes docs/doxygen/html/tab_s.png | Bin 0 -> 184 bytes docs/doxygen/html/tabs.css | 1 + docs/doxygen/html/wx_g_l_string_8h_source.html | 93 + 632 files changed, 79546 insertions(+) create mode 100644 docs/doxygen/html/_about_form_8h_source.html create mode 100644 docs/doxygen/html/_art_metro_8h_source.html create mode 100644 docs/doxygen/html/_branch_8h_source.html create mode 100644 docs/doxygen/html/_bus_8h_source.html create mode 100644 docs/doxygen/html/_bus_form_8h_source.html create mode 100644 docs/doxygen/html/_camera_8h_source.html create mode 100644 docs/doxygen/html/_capacitor_8h_source.html create mode 100644 docs/doxygen/html/_chart_view_8h_source.html create mode 100644 docs/doxygen/html/_chart_view_base_8h_source.html create mode 100644 docs/doxygen/html/_connection_line_8h_source.html create mode 100644 docs/doxygen/html/_constant_8h_source.html create mode 100644 docs/doxygen/html/_constant_form_8h_source.html create mode 100644 docs/doxygen/html/_control_editor_8h_source.html create mode 100644 docs/doxygen/html/_control_editor_base_8h_source.html create mode 100644 docs/doxygen/html/_control_element_8h_source.html create mode 100644 docs/doxygen/html/_control_element_container_8h_source.html create mode 100644 docs/doxygen/html/_control_element_solver_8h_source.html create mode 100644 docs/doxygen/html/_control_system_test_8h_source.html create mode 100644 docs/doxygen/html/_data_report_8h_source.html create mode 100644 docs/doxygen/html/_data_report_base_8h_source.html create mode 100644 docs/doxygen/html/_degrees_and_radians_8h_source.html create mode 100644 docs/doxygen/html/_electric_calculation_8h.html create mode 100644 docs/doxygen/html/_electric_calculation_8h_source.html create mode 100644 docs/doxygen/html/_electromechanical_8h_source.html create mode 100644 docs/doxygen/html/_element_8h.html create mode 100644 docs/doxygen/html/_element_8h_source.html create mode 100644 docs/doxygen/html/_element_data_object_8h_source.html create mode 100644 docs/doxygen/html/_element_form_8h_source.html create mode 100644 docs/doxygen/html/_element_plot_data_8h_source.html create mode 100644 docs/doxygen/html/_exponential_8h_source.html create mode 100644 docs/doxygen/html/_exponential_form_8h_source.html create mode 100644 docs/doxygen/html/_fault_8h.html create mode 100644 docs/doxygen/html/_fault_8h_source.html create mode 100644 docs/doxygen/html/_file_handing_8h_source.html create mode 100644 docs/doxygen/html/_gain_8h_source.html create mode 100644 docs/doxygen/html/_gain_form_8h_source.html create mode 100644 docs/doxygen/html/_general_properties_form_8h_source.html create mode 100644 docs/doxygen/html/_generator_stab_form_8h_source.html create mode 100644 docs/doxygen/html/_graphical_element_8h_source.html create mode 100644 docs/doxygen/html/_i_o_control_8h_source.html create mode 100644 docs/doxygen/html/_i_o_control_form_8h_source.html create mode 100644 docs/doxygen/html/_ind_motor_8h_source.html create mode 100644 docs/doxygen/html/_ind_motor_form_8h_source.html create mode 100644 docs/doxygen/html/_inductor_8h_source.html create mode 100644 docs/doxygen/html/_limiter_8h_source.html create mode 100644 docs/doxygen/html/_limiter_form_8h_source.html create mode 100644 docs/doxygen/html/_line_8h_source.html create mode 100644 docs/doxygen/html/_line_form_8h_source.html create mode 100644 docs/doxygen/html/_load_8h_source.html create mode 100644 docs/doxygen/html/_load_form_8h_source.html create mode 100644 docs/doxygen/html/_machines_8h_source.html create mode 100644 docs/doxygen/html/_main_frame_8h_source.html create mode 100644 docs/doxygen/html/_main_frame_base_8h_source.html create mode 100644 docs/doxygen/html/_multiplier_8h_source.html create mode 100644 docs/doxygen/html/_power_element_8h.html create mode 100644 docs/doxygen/html/_power_element_8h_source.html create mode 100644 docs/doxygen/html/_power_flow_8h_source.html create mode 100644 docs/doxygen/html/_properties_data_8h_source.html create mode 100644 docs/doxygen/html/_properties_form_8h_source.html create mode 100644 docs/doxygen/html/_rate_limiter_8h_source.html create mode 100644 docs/doxygen/html/_rate_limiter_form_8h_source.html create mode 100644 docs/doxygen/html/_reactive_shunt_element_form_8h_source.html create mode 100644 docs/doxygen/html/_shunt_8h_source.html create mode 100644 docs/doxygen/html/_simulations_settings_form_8h_source.html create mode 100644 docs/doxygen/html/_sum_8h_source.html create mode 100644 docs/doxygen/html/_sum_form_8h_source.html create mode 100644 docs/doxygen/html/_switching_form_8h_source.html create mode 100644 docs/doxygen/html/_sync_generator_8h_source.html create mode 100644 docs/doxygen/html/_sync_machine_form_8h_source.html create mode 100644 docs/doxygen/html/_sync_motor_8h_source.html create mode 100644 docs/doxygen/html/_text_8h_source.html create mode 100644 docs/doxygen/html/_text_form_8h_source.html create mode 100644 docs/doxygen/html/_transfer_function_8h_source.html create mode 100644 docs/doxygen/html/_transfer_function_form_8h_source.html create mode 100644 docs/doxygen/html/_transformer_8h_source.html create mode 100644 docs/doxygen/html/_transformer_form_8h_source.html create mode 100644 docs/doxygen/html/_workspace_8h_source.html create mode 100644 docs/doxygen/html/_workspace_base_8h_source.html create mode 100644 docs/doxygen/html/annotated.html create mode 100644 docs/doxygen/html/bc_s.png create mode 100644 docs/doxygen/html/bdwn.png create mode 100644 docs/doxygen/html/class_about_form-members.html create mode 100644 docs/doxygen/html/class_about_form.html create mode 100644 docs/doxygen/html/class_about_form.png create mode 100644 docs/doxygen/html/class_about_form_base-members.html create mode 100644 docs/doxygen/html/class_about_form_base.html create mode 100644 docs/doxygen/html/class_about_form_base.png create mode 100644 docs/doxygen/html/class_branch-members.html create mode 100644 docs/doxygen/html/class_branch.html create mode 100644 docs/doxygen/html/class_branch.png create mode 100644 docs/doxygen/html/class_bus-members.html create mode 100644 docs/doxygen/html/class_bus.html create mode 100644 docs/doxygen/html/class_bus.png create mode 100644 docs/doxygen/html/class_bus_form-members.html create mode 100644 docs/doxygen/html/class_bus_form.html create mode 100644 docs/doxygen/html/class_bus_form.png create mode 100644 docs/doxygen/html/class_bus_form_base-members.html create mode 100644 docs/doxygen/html/class_bus_form_base.html create mode 100644 docs/doxygen/html/class_bus_form_base.png create mode 100644 docs/doxygen/html/class_camera-members.html create mode 100644 docs/doxygen/html/class_camera.html create mode 100644 docs/doxygen/html/class_capacitor-members.html create mode 100644 docs/doxygen/html/class_capacitor.html create mode 100644 docs/doxygen/html/class_capacitor.png create mode 100644 docs/doxygen/html/class_chart_view-members.html create mode 100644 docs/doxygen/html/class_chart_view.html create mode 100644 docs/doxygen/html/class_chart_view.png create mode 100644 docs/doxygen/html/class_chart_view_base-members.html create mode 100644 docs/doxygen/html/class_chart_view_base.html create mode 100644 docs/doxygen/html/class_chart_view_base.png create mode 100644 docs/doxygen/html/class_connection_line-members.html create mode 100644 docs/doxygen/html/class_connection_line.html create mode 100644 docs/doxygen/html/class_connection_line.png create mode 100644 docs/doxygen/html/class_constant-members.html create mode 100644 docs/doxygen/html/class_constant.html create mode 100644 docs/doxygen/html/class_constant.png create mode 100644 docs/doxygen/html/class_constant_form-members.html create mode 100644 docs/doxygen/html/class_constant_form.html create mode 100644 docs/doxygen/html/class_constant_form.png create mode 100644 docs/doxygen/html/class_constant_form_base-members.html create mode 100644 docs/doxygen/html/class_constant_form_base.html create mode 100644 docs/doxygen/html/class_constant_form_base.png create mode 100644 docs/doxygen/html/class_control_editor-members.html create mode 100644 docs/doxygen/html/class_control_editor.html create mode 100644 docs/doxygen/html/class_control_editor.png create mode 100644 docs/doxygen/html/class_control_editor_base-members.html create mode 100644 docs/doxygen/html/class_control_editor_base.html create mode 100644 docs/doxygen/html/class_control_editor_base.png create mode 100644 docs/doxygen/html/class_control_element-members.html create mode 100644 docs/doxygen/html/class_control_element.html create mode 100644 docs/doxygen/html/class_control_element.png create mode 100644 docs/doxygen/html/class_control_element_button-members.html create mode 100644 docs/doxygen/html/class_control_element_button.html create mode 100644 docs/doxygen/html/class_control_element_button.png create mode 100644 docs/doxygen/html/class_control_element_container-members.html create mode 100644 docs/doxygen/html/class_control_element_container.html create mode 100644 docs/doxygen/html/class_control_element_solver-members.html create mode 100644 docs/doxygen/html/class_control_element_solver.html create mode 100644 docs/doxygen/html/class_control_system_test-members.html create mode 100644 docs/doxygen/html/class_control_system_test.html create mode 100644 docs/doxygen/html/class_control_system_test.png create mode 100644 docs/doxygen/html/class_control_system_test_base-members.html create mode 100644 docs/doxygen/html/class_control_system_test_base.html create mode 100644 docs/doxygen/html/class_control_system_test_base.png create mode 100644 docs/doxygen/html/class_data_report-members.html create mode 100644 docs/doxygen/html/class_data_report.html create mode 100644 docs/doxygen/html/class_data_report.png create mode 100644 docs/doxygen/html/class_data_report_base-members.html create mode 100644 docs/doxygen/html/class_data_report_base.html create mode 100644 docs/doxygen/html/class_data_report_base.png create mode 100644 docs/doxygen/html/class_electric_calculation-members.html create mode 100644 docs/doxygen/html/class_electric_calculation.html create mode 100644 docs/doxygen/html/class_electric_calculation.png create mode 100644 docs/doxygen/html/class_electromechanical-members.html create mode 100644 docs/doxygen/html/class_electromechanical.html create mode 100644 docs/doxygen/html/class_electromechanical.png create mode 100644 docs/doxygen/html/class_element-members.html create mode 100644 docs/doxygen/html/class_element.html create mode 100644 docs/doxygen/html/class_element.png create mode 100644 docs/doxygen/html/class_element_data_object-members.html create mode 100644 docs/doxygen/html/class_element_data_object.html create mode 100644 docs/doxygen/html/class_element_data_object.png create mode 100644 docs/doxygen/html/class_element_plot_data-members.html create mode 100644 docs/doxygen/html/class_element_plot_data.html create mode 100644 docs/doxygen/html/class_exponential-members.html create mode 100644 docs/doxygen/html/class_exponential.html create mode 100644 docs/doxygen/html/class_exponential.png create mode 100644 docs/doxygen/html/class_exponential_form-members.html create mode 100644 docs/doxygen/html/class_exponential_form.html create mode 100644 docs/doxygen/html/class_exponential_form.png create mode 100644 docs/doxygen/html/class_exponential_form_base-members.html create mode 100644 docs/doxygen/html/class_exponential_form_base.html create mode 100644 docs/doxygen/html/class_exponential_form_base.png create mode 100644 docs/doxygen/html/class_fault-members.html create mode 100644 docs/doxygen/html/class_fault.html create mode 100644 docs/doxygen/html/class_fault.png create mode 100644 docs/doxygen/html/class_file_handing-members.html create mode 100644 docs/doxygen/html/class_file_handing.html create mode 100644 docs/doxygen/html/class_gain-members.html create mode 100644 docs/doxygen/html/class_gain.html create mode 100644 docs/doxygen/html/class_gain.png create mode 100644 docs/doxygen/html/class_gain_form-members.html create mode 100644 docs/doxygen/html/class_gain_form.html create mode 100644 docs/doxygen/html/class_gain_form.png create mode 100644 docs/doxygen/html/class_gain_form_base-members.html create mode 100644 docs/doxygen/html/class_gain_form_base.html create mode 100644 docs/doxygen/html/class_gain_form_base.png create mode 100644 docs/doxygen/html/class_general_properties_form-members.html create mode 100644 docs/doxygen/html/class_general_properties_form.html create mode 100644 docs/doxygen/html/class_general_properties_form.png create mode 100644 docs/doxygen/html/class_general_properties_form_base-members.html create mode 100644 docs/doxygen/html/class_general_properties_form_base.html create mode 100644 docs/doxygen/html/class_general_properties_form_base.png create mode 100644 docs/doxygen/html/class_generator_stab_form-members.html create mode 100644 docs/doxygen/html/class_generator_stab_form.html create mode 100644 docs/doxygen/html/class_generator_stab_form.png create mode 100644 docs/doxygen/html/class_generator_stab_form_base-members.html create mode 100644 docs/doxygen/html/class_generator_stab_form_base.html create mode 100644 docs/doxygen/html/class_generator_stab_form_base.png create mode 100644 docs/doxygen/html/class_graphical_element-members.html create mode 100644 docs/doxygen/html/class_graphical_element.html create mode 100644 docs/doxygen/html/class_graphical_element.png create mode 100644 docs/doxygen/html/class_i_o_control-members.html create mode 100644 docs/doxygen/html/class_i_o_control.html create mode 100644 docs/doxygen/html/class_i_o_control.png create mode 100644 docs/doxygen/html/class_i_o_control_form-members.html create mode 100644 docs/doxygen/html/class_i_o_control_form.html create mode 100644 docs/doxygen/html/class_i_o_control_form.png create mode 100644 docs/doxygen/html/class_i_o_control_form_base-members.html create mode 100644 docs/doxygen/html/class_i_o_control_form_base.html create mode 100644 docs/doxygen/html/class_i_o_control_form_base.png create mode 100644 docs/doxygen/html/class_ind_motor-members.html create mode 100644 docs/doxygen/html/class_ind_motor.html create mode 100644 docs/doxygen/html/class_ind_motor.png create mode 100644 docs/doxygen/html/class_ind_motor_form-members.html create mode 100644 docs/doxygen/html/class_ind_motor_form.html create mode 100644 docs/doxygen/html/class_ind_motor_form.png create mode 100644 docs/doxygen/html/class_ind_motor_form_base-members.html create mode 100644 docs/doxygen/html/class_ind_motor_form_base.html create mode 100644 docs/doxygen/html/class_ind_motor_form_base.png create mode 100644 docs/doxygen/html/class_inductor-members.html create mode 100644 docs/doxygen/html/class_inductor.html create mode 100644 docs/doxygen/html/class_inductor.png create mode 100644 docs/doxygen/html/class_limiter-members.html create mode 100644 docs/doxygen/html/class_limiter.html create mode 100644 docs/doxygen/html/class_limiter.png create mode 100644 docs/doxygen/html/class_limiter_form-members.html create mode 100644 docs/doxygen/html/class_limiter_form.html create mode 100644 docs/doxygen/html/class_limiter_form.png create mode 100644 docs/doxygen/html/class_limiter_form_base-members.html create mode 100644 docs/doxygen/html/class_limiter_form_base.html create mode 100644 docs/doxygen/html/class_limiter_form_base.png create mode 100644 docs/doxygen/html/class_line-members.html create mode 100644 docs/doxygen/html/class_line.html create mode 100644 docs/doxygen/html/class_line.png create mode 100644 docs/doxygen/html/class_line_form-members.html create mode 100644 docs/doxygen/html/class_line_form.html create mode 100644 docs/doxygen/html/class_line_form.png create mode 100644 docs/doxygen/html/class_line_form_base-members.html create mode 100644 docs/doxygen/html/class_line_form_base.html create mode 100644 docs/doxygen/html/class_line_form_base.png create mode 100644 docs/doxygen/html/class_load-members.html create mode 100644 docs/doxygen/html/class_load.html create mode 100644 docs/doxygen/html/class_load.png create mode 100644 docs/doxygen/html/class_load_form-members.html create mode 100644 docs/doxygen/html/class_load_form.html create mode 100644 docs/doxygen/html/class_load_form.png create mode 100644 docs/doxygen/html/class_load_form_base-members.html create mode 100644 docs/doxygen/html/class_load_form_base.html create mode 100644 docs/doxygen/html/class_load_form_base.png create mode 100644 docs/doxygen/html/class_machines-members.html create mode 100644 docs/doxygen/html/class_machines.html create mode 100644 docs/doxygen/html/class_machines.png create mode 100644 docs/doxygen/html/class_main_app-members.html create mode 100644 docs/doxygen/html/class_main_app.html create mode 100644 docs/doxygen/html/class_main_app.png create mode 100644 docs/doxygen/html/class_main_frame-members.html create mode 100644 docs/doxygen/html/class_main_frame.html create mode 100644 docs/doxygen/html/class_main_frame.png create mode 100644 docs/doxygen/html/class_main_frame_base-members.html create mode 100644 docs/doxygen/html/class_main_frame_base.html create mode 100644 docs/doxygen/html/class_main_frame_base.png create mode 100644 docs/doxygen/html/class_multiplier-members.html create mode 100644 docs/doxygen/html/class_multiplier.html create mode 100644 docs/doxygen/html/class_multiplier.png create mode 100644 docs/doxygen/html/class_node-members.html create mode 100644 docs/doxygen/html/class_node.html create mode 100644 docs/doxygen/html/class_open_g_l_colour-members.html create mode 100644 docs/doxygen/html/class_open_g_l_colour.html create mode 100644 docs/doxygen/html/class_plot_data-members.html create mode 100644 docs/doxygen/html/class_plot_data.html create mode 100644 docs/doxygen/html/class_plot_data.png create mode 100644 docs/doxygen/html/class_power_element-members.html create mode 100644 docs/doxygen/html/class_power_element.html create mode 100644 docs/doxygen/html/class_power_element.png create mode 100644 docs/doxygen/html/class_power_flow-members.html create mode 100644 docs/doxygen/html/class_power_flow.html create mode 100644 docs/doxygen/html/class_power_flow.png create mode 100644 docs/doxygen/html/class_properties_data-members.html create mode 100644 docs/doxygen/html/class_properties_data.html create mode 100644 docs/doxygen/html/class_rate_limiter-members.html create mode 100644 docs/doxygen/html/class_rate_limiter.html create mode 100644 docs/doxygen/html/class_rate_limiter.png create mode 100644 docs/doxygen/html/class_rate_limiter_form-members.html create mode 100644 docs/doxygen/html/class_rate_limiter_form.html create mode 100644 docs/doxygen/html/class_rate_limiter_form.png create mode 100644 docs/doxygen/html/class_rate_limiter_form_base-members.html create mode 100644 docs/doxygen/html/class_rate_limiter_form_base.html create mode 100644 docs/doxygen/html/class_rate_limiter_form_base.png create mode 100644 docs/doxygen/html/class_reactive_shunt_element_form-members.html create mode 100644 docs/doxygen/html/class_reactive_shunt_element_form.html create mode 100644 docs/doxygen/html/class_reactive_shunt_element_form.png create mode 100644 docs/doxygen/html/class_reactive_shunt_element_form_base-members.html create mode 100644 docs/doxygen/html/class_reactive_shunt_element_form_base.html create mode 100644 docs/doxygen/html/class_reactive_shunt_element_form_base.png create mode 100644 docs/doxygen/html/class_shunt-members.html create mode 100644 docs/doxygen/html/class_shunt.html create mode 100644 docs/doxygen/html/class_shunt.png create mode 100644 docs/doxygen/html/class_simulations_settings_form-members.html create mode 100644 docs/doxygen/html/class_simulations_settings_form.html create mode 100644 docs/doxygen/html/class_simulations_settings_form.png create mode 100644 docs/doxygen/html/class_simulations_settings_form_base-members.html create mode 100644 docs/doxygen/html/class_simulations_settings_form_base.html create mode 100644 docs/doxygen/html/class_simulations_settings_form_base.png create mode 100644 docs/doxygen/html/class_sum-members.html create mode 100644 docs/doxygen/html/class_sum.html create mode 100644 docs/doxygen/html/class_sum.png create mode 100644 docs/doxygen/html/class_sum_form-members.html create mode 100644 docs/doxygen/html/class_sum_form.html create mode 100644 docs/doxygen/html/class_sum_form.png create mode 100644 docs/doxygen/html/class_sum_form_base-members.html create mode 100644 docs/doxygen/html/class_sum_form_base.html create mode 100644 docs/doxygen/html/class_sum_form_base.png create mode 100644 docs/doxygen/html/class_switching_form-members.html create mode 100644 docs/doxygen/html/class_switching_form.html create mode 100644 docs/doxygen/html/class_switching_form.png create mode 100644 docs/doxygen/html/class_switching_form_base-members.html create mode 100644 docs/doxygen/html/class_switching_form_base.html create mode 100644 docs/doxygen/html/class_switching_form_base.png create mode 100644 docs/doxygen/html/class_sync_generator-members.html create mode 100644 docs/doxygen/html/class_sync_generator.html create mode 100644 docs/doxygen/html/class_sync_generator.png create mode 100644 docs/doxygen/html/class_sync_machine_form-members.html create mode 100644 docs/doxygen/html/class_sync_machine_form.html create mode 100644 docs/doxygen/html/class_sync_machine_form.png create mode 100644 docs/doxygen/html/class_sync_machine_form_base-members.html create mode 100644 docs/doxygen/html/class_sync_machine_form_base.html create mode 100644 docs/doxygen/html/class_sync_machine_form_base.png create mode 100644 docs/doxygen/html/class_sync_motor-members.html create mode 100644 docs/doxygen/html/class_sync_motor.html create mode 100644 docs/doxygen/html/class_sync_motor.png create mode 100644 docs/doxygen/html/class_text-members.html create mode 100644 docs/doxygen/html/class_text.html create mode 100644 docs/doxygen/html/class_text.png create mode 100644 docs/doxygen/html/class_text_form-members.html create mode 100644 docs/doxygen/html/class_text_form.html create mode 100644 docs/doxygen/html/class_text_form.png create mode 100644 docs/doxygen/html/class_text_form_base-members.html create mode 100644 docs/doxygen/html/class_text_form_base.html create mode 100644 docs/doxygen/html/class_text_form_base.png create mode 100644 docs/doxygen/html/class_text_g_l_drawable-members.html create mode 100644 docs/doxygen/html/class_text_g_l_drawable.html create mode 100644 docs/doxygen/html/class_text_g_l_drawable.png create mode 100644 docs/doxygen/html/class_text_texture-members.html create mode 100644 docs/doxygen/html/class_text_texture.html create mode 100644 docs/doxygen/html/class_transfer_function-members.html create mode 100644 docs/doxygen/html/class_transfer_function.html create mode 100644 docs/doxygen/html/class_transfer_function.png create mode 100644 docs/doxygen/html/class_transfer_function_form-members.html create mode 100644 docs/doxygen/html/class_transfer_function_form.html create mode 100644 docs/doxygen/html/class_transfer_function_form.png create mode 100644 docs/doxygen/html/class_transfer_function_form_base-members.html create mode 100644 docs/doxygen/html/class_transfer_function_form_base.html create mode 100644 docs/doxygen/html/class_transfer_function_form_base.png create mode 100644 docs/doxygen/html/class_transformer-members.html create mode 100644 docs/doxygen/html/class_transformer.html create mode 100644 docs/doxygen/html/class_transformer.png create mode 100644 docs/doxygen/html/class_transformer_form-members.html create mode 100644 docs/doxygen/html/class_transformer_form.html create mode 100644 docs/doxygen/html/class_transformer_form.png create mode 100644 docs/doxygen/html/class_transformer_form_base-members.html create mode 100644 docs/doxygen/html/class_transformer_form_base.html create mode 100644 docs/doxygen/html/class_transformer_form_base.png create mode 100644 docs/doxygen/html/class_workspace-members.html create mode 100644 docs/doxygen/html/class_workspace.html create mode 100644 docs/doxygen/html/class_workspace.png create mode 100644 docs/doxygen/html/class_workspace_base-members.html create mode 100644 docs/doxygen/html/class_workspace_base.html create mode 100644 docs/doxygen/html/class_workspace_base.png create mode 100644 docs/doxygen/html/classes.html create mode 100644 docs/doxygen/html/classwx_g_l_number_renderer-members.html create mode 100644 docs/doxygen/html/classwx_g_l_number_renderer.html create mode 100644 docs/doxygen/html/classwx_g_l_number_renderer.png create mode 100644 docs/doxygen/html/classwx_g_l_string-members.html create mode 100644 docs/doxygen/html/classwx_g_l_string.html create mode 100644 docs/doxygen/html/classwx_g_l_string.png create mode 100644 docs/doxygen/html/classwx_g_l_string_array-members.html create mode 100644 docs/doxygen/html/classwx_g_l_string_array.html create mode 100644 docs/doxygen/html/classwx_ribbon_metro_art_provider-members.html create mode 100644 docs/doxygen/html/classwx_ribbon_metro_art_provider.html create mode 100644 docs/doxygen/html/classwx_ribbon_metro_art_provider.png create mode 100644 docs/doxygen/html/closed.png create mode 100644 docs/doxygen/html/dir_ffd1f789ec7bd0a45fc6ad92579c5070.html create mode 100644 docs/doxygen/html/doc.png create mode 100644 docs/doxygen/html/doxygen.css create mode 100644 docs/doxygen/html/doxygen.png create mode 100644 docs/doxygen/html/dynsections.js create mode 100644 docs/doxygen/html/files.html create mode 100644 docs/doxygen/html/folderclosed.png create mode 100644 docs/doxygen/html/folderopen.png create mode 100644 docs/doxygen/html/functions.html create mode 100644 docs/doxygen/html/functions_0x7e.html create mode 100644 docs/doxygen/html/functions_b.html create mode 100644 docs/doxygen/html/functions_c.html create mode 100644 docs/doxygen/html/functions_d.html create mode 100644 docs/doxygen/html/functions_e.html create mode 100644 docs/doxygen/html/functions_f.html create mode 100644 docs/doxygen/html/functions_func.html create mode 100644 docs/doxygen/html/functions_func_0x7e.html create mode 100644 docs/doxygen/html/functions_func_b.html create mode 100644 docs/doxygen/html/functions_func_c.html create mode 100644 docs/doxygen/html/functions_func_d.html create mode 100644 docs/doxygen/html/functions_func_e.html create mode 100644 docs/doxygen/html/functions_func_f.html create mode 100644 docs/doxygen/html/functions_func_g.html create mode 100644 docs/doxygen/html/functions_func_h.html create mode 100644 docs/doxygen/html/functions_func_i.html create mode 100644 docs/doxygen/html/functions_func_m.html create mode 100644 docs/doxygen/html/functions_func_n.html create mode 100644 docs/doxygen/html/functions_func_o.html create mode 100644 docs/doxygen/html/functions_func_p.html create mode 100644 docs/doxygen/html/functions_func_r.html create mode 100644 docs/doxygen/html/functions_func_s.html create mode 100644 docs/doxygen/html/functions_func_u.html create mode 100644 docs/doxygen/html/functions_func_w.html create mode 100644 docs/doxygen/html/functions_g.html create mode 100644 docs/doxygen/html/functions_h.html create mode 100644 docs/doxygen/html/functions_i.html create mode 100644 docs/doxygen/html/functions_m.html create mode 100644 docs/doxygen/html/functions_n.html create mode 100644 docs/doxygen/html/functions_o.html create mode 100644 docs/doxygen/html/functions_p.html create mode 100644 docs/doxygen/html/functions_r.html create mode 100644 docs/doxygen/html/functions_s.html create mode 100644 docs/doxygen/html/functions_u.html create mode 100644 docs/doxygen/html/functions_vars.html create mode 100644 docs/doxygen/html/functions_w.html create mode 100644 docs/doxygen/html/globals.html create mode 100644 docs/doxygen/html/globals_enum.html create mode 100644 docs/doxygen/html/globals_eval.html create mode 100644 docs/doxygen/html/hierarchy.html create mode 100644 docs/doxygen/html/index.html create mode 100644 docs/doxygen/html/jquery.js create mode 100644 docs/doxygen/html/logo256.png create mode 100644 docs/doxygen/html/menu.js create mode 100644 docs/doxygen/html/menudata.js create mode 100644 docs/doxygen/html/nav_f.png create mode 100644 docs/doxygen/html/nav_g.png create mode 100644 docs/doxygen/html/nav_h.png create mode 100644 docs/doxygen/html/open.png create mode 100644 docs/doxygen/html/search/all_0.html create mode 100644 docs/doxygen/html/search/all_0.js create mode 100644 docs/doxygen/html/search/all_1.html create mode 100644 docs/doxygen/html/search/all_1.js create mode 100644 docs/doxygen/html/search/all_10.html create mode 100644 docs/doxygen/html/search/all_10.js create mode 100644 docs/doxygen/html/search/all_11.html create mode 100644 docs/doxygen/html/search/all_11.js create mode 100644 docs/doxygen/html/search/all_12.html create mode 100644 docs/doxygen/html/search/all_12.js create mode 100644 docs/doxygen/html/search/all_13.html create mode 100644 docs/doxygen/html/search/all_13.js create mode 100644 docs/doxygen/html/search/all_2.html create mode 100644 docs/doxygen/html/search/all_2.js create mode 100644 docs/doxygen/html/search/all_3.html create mode 100644 docs/doxygen/html/search/all_3.js create mode 100644 docs/doxygen/html/search/all_4.html create mode 100644 docs/doxygen/html/search/all_4.js create mode 100644 docs/doxygen/html/search/all_5.html create mode 100644 docs/doxygen/html/search/all_5.js create mode 100644 docs/doxygen/html/search/all_6.html create mode 100644 docs/doxygen/html/search/all_6.js create mode 100644 docs/doxygen/html/search/all_7.html create mode 100644 docs/doxygen/html/search/all_7.js create mode 100644 docs/doxygen/html/search/all_8.html create mode 100644 docs/doxygen/html/search/all_8.js create mode 100644 docs/doxygen/html/search/all_9.html create mode 100644 docs/doxygen/html/search/all_9.js create mode 100644 docs/doxygen/html/search/all_a.html create mode 100644 docs/doxygen/html/search/all_a.js create mode 100644 docs/doxygen/html/search/all_b.html create mode 100644 docs/doxygen/html/search/all_b.js create mode 100644 docs/doxygen/html/search/all_c.html create mode 100644 docs/doxygen/html/search/all_c.js create mode 100644 docs/doxygen/html/search/all_d.html create mode 100644 docs/doxygen/html/search/all_d.js create mode 100644 docs/doxygen/html/search/all_e.html create mode 100644 docs/doxygen/html/search/all_e.js create mode 100644 docs/doxygen/html/search/all_f.html create mode 100644 docs/doxygen/html/search/all_f.js create mode 100644 docs/doxygen/html/search/classes_0.html create mode 100644 docs/doxygen/html/search/classes_0.js create mode 100644 docs/doxygen/html/search/classes_1.html create mode 100644 docs/doxygen/html/search/classes_1.js create mode 100644 docs/doxygen/html/search/classes_10.html create mode 100644 docs/doxygen/html/search/classes_10.js create mode 100644 docs/doxygen/html/search/classes_2.html create mode 100644 docs/doxygen/html/search/classes_2.js create mode 100644 docs/doxygen/html/search/classes_3.html create mode 100644 docs/doxygen/html/search/classes_3.js create mode 100644 docs/doxygen/html/search/classes_4.html create mode 100644 docs/doxygen/html/search/classes_4.js create mode 100644 docs/doxygen/html/search/classes_5.html create mode 100644 docs/doxygen/html/search/classes_5.js create mode 100644 docs/doxygen/html/search/classes_6.html create mode 100644 docs/doxygen/html/search/classes_6.js create mode 100644 docs/doxygen/html/search/classes_7.html create mode 100644 docs/doxygen/html/search/classes_7.js create mode 100644 docs/doxygen/html/search/classes_8.html create mode 100644 docs/doxygen/html/search/classes_8.js create mode 100644 docs/doxygen/html/search/classes_9.html create mode 100644 docs/doxygen/html/search/classes_9.js create mode 100644 docs/doxygen/html/search/classes_a.html create mode 100644 docs/doxygen/html/search/classes_a.js create mode 100644 docs/doxygen/html/search/classes_b.html create mode 100644 docs/doxygen/html/search/classes_b.js create mode 100644 docs/doxygen/html/search/classes_c.html create mode 100644 docs/doxygen/html/search/classes_c.js create mode 100644 docs/doxygen/html/search/classes_d.html create mode 100644 docs/doxygen/html/search/classes_d.js create mode 100644 docs/doxygen/html/search/classes_e.html create mode 100644 docs/doxygen/html/search/classes_e.js create mode 100644 docs/doxygen/html/search/classes_f.html create mode 100644 docs/doxygen/html/search/classes_f.js create mode 100644 docs/doxygen/html/search/close.png create mode 100644 docs/doxygen/html/search/enums_0.html create mode 100644 docs/doxygen/html/search/enums_0.js create mode 100644 docs/doxygen/html/search/enums_1.html create mode 100644 docs/doxygen/html/search/enums_1.js create mode 100644 docs/doxygen/html/search/enums_2.html create mode 100644 docs/doxygen/html/search/enums_2.js create mode 100644 docs/doxygen/html/search/enums_3.html create mode 100644 docs/doxygen/html/search/enums_3.js create mode 100644 docs/doxygen/html/search/enums_4.html create mode 100644 docs/doxygen/html/search/enums_4.js create mode 100644 docs/doxygen/html/search/enumvalues_0.html create mode 100644 docs/doxygen/html/search/enumvalues_0.js create mode 100644 docs/doxygen/html/search/enumvalues_1.html create mode 100644 docs/doxygen/html/search/enumvalues_1.js create mode 100644 docs/doxygen/html/search/enumvalues_2.html create mode 100644 docs/doxygen/html/search/enumvalues_2.js create mode 100644 docs/doxygen/html/search/enumvalues_3.html create mode 100644 docs/doxygen/html/search/enumvalues_3.js create mode 100644 docs/doxygen/html/search/enumvalues_4.html create mode 100644 docs/doxygen/html/search/enumvalues_4.js create mode 100644 docs/doxygen/html/search/files_0.html create mode 100644 docs/doxygen/html/search/files_0.js create mode 100644 docs/doxygen/html/search/files_1.html create mode 100644 docs/doxygen/html/search/files_1.js create mode 100644 docs/doxygen/html/search/files_2.html create mode 100644 docs/doxygen/html/search/files_2.js create mode 100644 docs/doxygen/html/search/functions_0.html create mode 100644 docs/doxygen/html/search/functions_0.js create mode 100644 docs/doxygen/html/search/functions_1.html create mode 100644 docs/doxygen/html/search/functions_1.js create mode 100644 docs/doxygen/html/search/functions_10.html create mode 100644 docs/doxygen/html/search/functions_10.js create mode 100644 docs/doxygen/html/search/functions_11.html create mode 100644 docs/doxygen/html/search/functions_11.js create mode 100644 docs/doxygen/html/search/functions_2.html create mode 100644 docs/doxygen/html/search/functions_2.js create mode 100644 docs/doxygen/html/search/functions_3.html create mode 100644 docs/doxygen/html/search/functions_3.js create mode 100644 docs/doxygen/html/search/functions_4.html create mode 100644 docs/doxygen/html/search/functions_4.js create mode 100644 docs/doxygen/html/search/functions_5.html create mode 100644 docs/doxygen/html/search/functions_5.js create mode 100644 docs/doxygen/html/search/functions_6.html create mode 100644 docs/doxygen/html/search/functions_6.js create mode 100644 docs/doxygen/html/search/functions_7.html create mode 100644 docs/doxygen/html/search/functions_7.js create mode 100644 docs/doxygen/html/search/functions_8.html create mode 100644 docs/doxygen/html/search/functions_8.js create mode 100644 docs/doxygen/html/search/functions_9.html create mode 100644 docs/doxygen/html/search/functions_9.js create mode 100644 docs/doxygen/html/search/functions_a.html create mode 100644 docs/doxygen/html/search/functions_a.js create mode 100644 docs/doxygen/html/search/functions_b.html create mode 100644 docs/doxygen/html/search/functions_b.js create mode 100644 docs/doxygen/html/search/functions_c.html create mode 100644 docs/doxygen/html/search/functions_c.js create mode 100644 docs/doxygen/html/search/functions_d.html create mode 100644 docs/doxygen/html/search/functions_d.js create mode 100644 docs/doxygen/html/search/functions_e.html create mode 100644 docs/doxygen/html/search/functions_e.js create mode 100644 docs/doxygen/html/search/functions_f.html create mode 100644 docs/doxygen/html/search/functions_f.js create mode 100644 docs/doxygen/html/search/mag_sel.png create mode 100644 docs/doxygen/html/search/nomatches.html create mode 100644 docs/doxygen/html/search/search.css create mode 100644 docs/doxygen/html/search/search.js create mode 100644 docs/doxygen/html/search/search_l.png create mode 100644 docs/doxygen/html/search/search_m.png create mode 100644 docs/doxygen/html/search/search_r.png create mode 100644 docs/doxygen/html/search/searchdata.js create mode 100644 docs/doxygen/html/search/variables_0.html create mode 100644 docs/doxygen/html/search/variables_0.js create mode 100644 docs/doxygen/html/search/variables_1.html create mode 100644 docs/doxygen/html/search/variables_1.js create mode 100644 docs/doxygen/html/search/variables_2.html create mode 100644 docs/doxygen/html/search/variables_2.js create mode 100644 docs/doxygen/html/splitbar.png create mode 100644 docs/doxygen/html/struct_bus_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_bus_electrical_data.html create mode 100644 docs/doxygen/html/struct_capacitor_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_capacitor_electrical_data.html create mode 100644 docs/doxygen/html/struct_elements_lists-members.html create mode 100644 docs/doxygen/html/struct_elements_lists.html create mode 100644 docs/doxygen/html/struct_general_data-members.html create mode 100644 docs/doxygen/html/struct_general_data.html create mode 100644 docs/doxygen/html/struct_ind_motor_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_ind_motor_electrical_data.html create mode 100644 docs/doxygen/html/struct_inductor_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_inductor_electrical_data.html create mode 100644 docs/doxygen/html/struct_integration_constant-members.html create mode 100644 docs/doxygen/html/struct_integration_constant.html create mode 100644 docs/doxygen/html/struct_line_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_line_electrical_data.html create mode 100644 docs/doxygen/html/struct_load_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_load_electrical_data.html create mode 100644 docs/doxygen/html/struct_reactive_limits-members.html create mode 100644 docs/doxygen/html/struct_reactive_limits.html create mode 100644 docs/doxygen/html/struct_simulation_data-members.html create mode 100644 docs/doxygen/html/struct_simulation_data.html create mode 100644 docs/doxygen/html/struct_switching_data-members.html create mode 100644 docs/doxygen/html/struct_switching_data.html create mode 100644 docs/doxygen/html/struct_sync_generator_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_sync_generator_electrical_data.html create mode 100644 docs/doxygen/html/struct_sync_motor_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_sync_motor_electrical_data.html create mode 100644 docs/doxygen/html/struct_transfer_function_1_1_space_state-members.html create mode 100644 docs/doxygen/html/struct_transfer_function_1_1_space_state.html create mode 100644 docs/doxygen/html/struct_transformer_electrical_data-members.html create mode 100644 docs/doxygen/html/struct_transformer_electrical_data.html create mode 100644 docs/doxygen/html/sync_off.png create mode 100644 docs/doxygen/html/sync_on.png create mode 100644 docs/doxygen/html/tab_a.png create mode 100644 docs/doxygen/html/tab_b.png create mode 100644 docs/doxygen/html/tab_h.png create mode 100644 docs/doxygen/html/tab_s.png create mode 100644 docs/doxygen/html/tabs.css create mode 100644 docs/doxygen/html/wx_g_l_string_8h_source.html (limited to 'docs/doxygen/html') diff --git a/docs/doxygen/html/_about_form_8h_source.html b/docs/doxygen/html/_about_form_8h_source.html new file mode 100644 index 0000000..455a830 --- /dev/null +++ b/docs/doxygen/html/_about_form_8h_source.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Project/AboutForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
AboutForm.h
+
+
+
1 #ifndef ABOUTFORM_H
2 #define ABOUTFORM_H
3 #include "PropertiesForm.h"
4 
5 #include <wx/textfile.h>
6 
7 class AboutForm : public AboutFormBase
8 {
9  public:
10  AboutForm(wxWindow* parent);
11  virtual ~AboutForm();
12  virtual void Init();
13 
14  protected:
15  virtual void OnOKButtonClick(wxCommandEvent& event) { EndModal(wxID_OK); };
16 };
17 #endif // ABOUTFORM_H
Definition: PropertiesForm.h:169
+
Definition: AboutForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_art_metro_8h_source.html b/docs/doxygen/html/_art_metro_8h_source.html new file mode 100644 index 0000000..a0f2568 --- /dev/null +++ b/docs/doxygen/html/_art_metro_8h_source.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Project/ArtMetro.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ArtMetro.h
+
+
+
1 // Name: wx/ribbon/art.h
3 // Purpose: Art providers for ribbon-bar-style interface
4 // Author: Peter Cawley
5 // Modified by:
6 // Created: 2009-05-25
7 // RCS-ID: $Id$
8 // Copyright: (C) Peter Cawley
9 // Licence: wxWindows licence
11 
12 #ifndef _WX_RIBBON_METRO_ART_H_
13 #define _WX_RIBBON_METRO_ART_H_
14 
15 #include "wx/defs.h"
16 
17 #include "wx/ribbon/art.h"
18 #include "wx/brush.h"
19 #include "wx/colour.h"
20 #include "wx/font.h"
21 #include "wx/pen.h"
22 #include "wx/bitmap.h"
23 
24 class WXDLLIMPEXP_FWD_CORE wxDC;
25 class WXDLLIMPEXP_FWD_CORE wxWindow;
26 
27 // class WXDLLIMPEXP_RIBBON wxRibbonMetroArtProvider : public wxRibbonArtProvider
28 class wxRibbonMetroArtProvider : public wxRibbonMSWArtProvider
29 {
30 public:
31  wxRibbonMetroArtProvider(bool set_colour_scheme = true);
32  virtual ~wxRibbonMetroArtProvider();
33  void SetFlags(long flags);
34 
35  void GetColourScheme(wxColour* primary,
36  wxColour* secondary,
37  wxColour* tertiary) const;
38  /*
39  int GetTabCtrlHeight(
40  wxDC& dc,
41  wxWindow* wnd,
42  const wxRibbonPageTabInfoArray& pages);
43  */
44  void SetColourScheme(const wxColour& primary,
45  const wxColour& secondary,
46  const wxColour& tertiary);
47  void DrawTabCtrlBackground(
48  wxDC& dc,
49  wxWindow* wnd,
50  const wxRect& rect);
51 
52  void DrawTab(wxDC& dc,
53  wxWindow* wnd,
54  const wxRibbonPageTabInfo& tab);
55 
56  void DrawPageBackground(
57  wxDC& dc,
58  wxWindow* wnd,
59  const wxRect& rect);
60 
61  void DrawPanelBackground(
62  wxDC& dc,
63  wxRibbonPanel* wnd,
64  const wxRect& rect);
65 
66  void DrawMinimisedPanel(
67  wxDC& dc,
68  wxRibbonPanel* wnd,
69  const wxRect& rect,
70  wxBitmap& bitmap);
71 
72  void DrawButtonBarBackground(
73  wxDC& dc,
74  wxWindow* wnd,
75  const wxRect& rect);
76 
77  void DrawButtonBarButton(
78  wxDC& dc,
79  wxWindow* wnd,
80  const wxRect& rect,
81  wxRibbonButtonKind kind,
82  long state,
83  const wxString& label,
84  const wxBitmap& bitmap_large,
85  const wxBitmap& bitmap_small);
86 
87  void DrawToolBarBackground(
88  wxDC& dc,
89  wxWindow* wnd,
90  const wxRect& rect);
91 
92  void DrawToolGroupBackground(
93  wxDC& dc,
94  wxWindow* wnd,
95  const wxRect& rect);
96 
97  void DrawTool(
98  wxDC& dc,
99  wxWindow* wnd,
100  const wxRect& rect,
101  const wxBitmap& bitmap,
102  wxRibbonButtonKind kind,
103  long state);
104 
105 protected:
106  // void ReallyDrawTabSeparator(wxWindow* wnd, const wxRect& rect, double visibility);
107  void DrawPartialPageBackground(wxDC& dc, wxWindow* wnd, const wxRect& rect,
108  bool allow_hovered = true);
109  void DrawPartialPageBackground(wxDC& dc, wxWindow* wnd, const wxRect& rect,
110  wxRibbonPage* page, wxPoint offset, bool hovered = false);
111  void DrawPanelBorder(wxDC& dc, const wxRect& rect, wxPen& primary_colour,
112  wxPen& secondary_colour);
113 
114  void DrawButtonBarButtonForeground(
115  wxDC& dc,
116  const wxRect& rect,
117  wxRibbonButtonKind kind,
118  long state,
119  const wxString& label,
120  const wxBitmap& bitmap_large,
121  const wxBitmap& bitmap_small);
122  void DrawMinimisedPanelCommon(
123  wxDC& dc,
124  wxRibbonPanel* wnd,
125  const wxRect& rect,
126  wxRect* preview_rect);
127 };
128 
129 #endif // _WX_RIBBON_METRO_ART_H_
Definition: ArtMetro.h:28
+
+ + + + diff --git a/docs/doxygen/html/_branch_8h_source.html b/docs/doxygen/html/_branch_8h_source.html new file mode 100644 index 0000000..78e793c --- /dev/null +++ b/docs/doxygen/html/_branch_8h_source.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: Project/Branch.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Branch.h
+
+
+
1 #ifndef BRANCH_H
2 #define BRANCH_H
3 
4 #include "PowerElement.h"
5 #include "Bus.h"
6 
7 class Branch : public PowerElement
8 {
9 public:
10  Branch();
11  ~Branch();
12 
13  virtual bool Contains(wxPoint2DDouble position) const { return false; }
14  virtual void Draw(wxPoint2DDouble translation, double scale) const {}
15  virtual void Move(wxPoint2DDouble position) {}
16  virtual void StartMove(wxPoint2DDouble position) {}
17  virtual void MoveNode(Element* parent, wxPoint2DDouble position) {}
18  virtual bool NodeContains(wxPoint2DDouble position);
19  virtual bool SetNodeParent(Element* parent);
20  virtual void RemoveParent(Element* parent);
21  virtual void UpdateNodes();
22  virtual wxCursor GetBestPickboxCursor() const { return wxCURSOR_ARROW; }
23  virtual bool Intersects(wxRect2DDouble rect) const { return false; }
24  virtual void MovePickbox(wxPoint2DDouble position) {}
25  virtual bool PickboxContains(wxPoint2DDouble position) { return false; }
26  virtual void RotateNode(Element* parent, bool clockwise = true);
27  virtual void AddPoint(wxPoint2DDouble point) {};
28  virtual bool GetContextMenu(wxMenu& menu) { return false; }
29  virtual void UpdateSwitchesPosition();
30  virtual void UpdateSwitches();
31 
32  protected:
33  bool m_inserted = false;
34 };
35 
36 #endif // BRANCH_H
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Branch.h:14
+
virtual void RemoveParent(Element *parent)
Remove a parent.
Definition: Branch.cpp:90
+
Definition: Element.h:88
+
virtual bool SetNodeParent(Element *parent)
Set a perent to the node. If all conditions are met, a new parent are added to the element and the po...
Definition: Branch.cpp:28
+
virtual bool GetContextMenu(wxMenu &menu)
Get the element contex menu.
Definition: Branch.h:28
+
virtual void MovePickbox(wxPoint2DDouble position)
Move the pickbox.
Definition: Branch.h:24
+
virtual void StartMove(wxPoint2DDouble position)
Update the element attributes related to the movement.
Definition: Branch.h:16
+
virtual void UpdateSwitches()
Update the switch position.
Definition: Branch.cpp:157
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Branch.h:13
+
virtual void AddPoint(wxPoint2DDouble point)
Add point to the list of points that connect the element to the bus.
Definition: Branch.h:27
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Branch.h:23
+
Switching data of power elements.
+
virtual void UpdateNodes()
Update the nodes according to the parents. If a parent is removed, use this method.
Definition: Branch.cpp:101
+
virtual bool NodeContains(wxPoint2DDouble position)
Check if a node contains a point. If contains, set the attributes related to node movement...
Definition: Branch.cpp:8
+
Definition: PowerElement.h:100
+
virtual bool PickboxContains(wxPoint2DDouble position)
Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be c...
Definition: Branch.h:25
+
virtual void Move(wxPoint2DDouble position)
Move the element other position.
Definition: Branch.h:15
+
virtual void RotateNode(Element *parent, bool clockwise=true)
Rotate a node.
Definition: Branch.cpp:128
+
virtual void MoveNode(Element *parent, wxPoint2DDouble position)
Move a node. StartMove(wxPoint2DDouble position) before start moving.
Definition: Branch.h:17
+
virtual wxCursor GetBestPickboxCursor() const
Get the best cursor to shown to the user when the mouse is above a pickbox.
Definition: Branch.h:22
+
Definition: Branch.h:7
+
+ + + + diff --git a/docs/doxygen/html/_bus_8h_source.html b/docs/doxygen/html/_bus_8h_source.html new file mode 100644 index 0000000..ac8c0cf --- /dev/null +++ b/docs/doxygen/html/_bus_8h_source.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: Project/Bus.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Bus.h
+
+
+
1 #ifndef BUS_H
2 #define BUS_H
3 
4 #include "BusForm.h"
5 #include "PowerElement.h"
6 
8  int number = 0;
9  wxString name = "";
10  double nominalVoltage = 138.0;
11  ElectricalUnit nominalVoltageUnit = UNIT_kV;
12  bool isVoltageControlled = false;
13  double controlledVoltage = 1.0;
14  int controlledVoltageUnitChoice = 0; // 0 = p.u., 1 = same as nominalVoltageUnit (UNIT_V or UNIT_kV).
15  bool slackBus = false;
16 
17  // Power flow (p.u.)
18  std::complex<double> voltage = std::complex<double>(1.0, 0.0);
19  std::complex<double> power = std::complex<double>(0.0, 0.0);
20  int busType = 2; // PQ
21 
22  // Fault
23  bool hasFault = false;
24  FaultData faultType = FAULT_THREEPHASE;
25  FaultData faultLocation = FAULT_LINE_A;
26  // p.u. fault data
27  double faultResistance = 0.0;
28  double faultReactance = 0.0;
29  std::complex<double> faultCurrent[3] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
30  std::complex<double>(0.0, 0.0)};
31  std::complex<double> faultVoltage[3] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
32  std::complex<double>(0.0, 0.0)};
33  double scPower = 0.0;
34 
35  // Stability
36  bool plotBus = false;
37  bool stabHasFault = false;
38  double stabFaultTime = 0.0;
39  double stabFaultLength = 0.0;
40  double stabFaultResistance = 0.0;
41  double stabFaultReactance = 0.0;
42  std::vector<std::complex<double> > stabVoltageVector;
43 };
44 
45 class Bus : public PowerElement
46 {
47  public:
48  Bus();
49  Bus(wxPoint2DDouble position);
50  Bus(wxPoint2DDouble position, wxString name);
51  ~Bus();
52  virtual Element* GetCopy();
53  virtual bool AddParent(Element* parent, wxPoint2DDouble position) { return true; }
54  virtual bool Contains(wxPoint2DDouble position) const;
55  virtual bool Intersects(wxRect2DDouble rect) const;
56  virtual void Draw(wxPoint2DDouble translation, double scale) const;
57  virtual void Rotate(bool clockwise = true);
58  virtual wxCursor GetBestPickboxCursor() const;
59  virtual void MovePickbox(wxPoint2DDouble position);
60  virtual bool PickboxContains(wxPoint2DDouble position);
61  virtual bool GetContextMenu(wxMenu& menu);
62  virtual wxString GetTipText() const;
63  virtual BusElectricalData GetElectricalData() const { return m_electricalData; }
64  virtual void SetElectricalData(BusElectricalData electricalData) { m_electricalData = electricalData; }
65  virtual bool ShowForm(wxWindow* parent, Element* element);
66  virtual bool GetPlotData(ElementPlotData& plotData);
67 
68  protected:
69  BusElectricalData m_electricalData;
70 };
71 
72 #endif // BUS_H
Definition: Element.h:88
+
FaultData
Information about fault (type and location).
Definition: PowerElement.h:38
+
Definition: PowerElement.h:14
+
Definition: Bus.h:7
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: Bus.h:45
+
Definition: PowerElement.h:43
+
Definition: ElementPlotData.h:39
+
Definition: PowerElement.h:39
+
Switching data of power elements.
+
virtual bool AddParent(Element *parent, wxPoint2DDouble position)
Add a parent to the element. This method must be used on power elements that connect to a bus...
Definition: Bus.h:53
+
Definition: PowerElement.h:100
+
+ + + + diff --git a/docs/doxygen/html/_bus_form_8h_source.html b/docs/doxygen/html/_bus_form_8h_source.html new file mode 100644 index 0000000..73f701f --- /dev/null +++ b/docs/doxygen/html/_bus_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/BusForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
BusForm.h
+
+
+
1 #ifndef BUSFORM_H
2 #define BUSFORM_H
3 
4 #include "ElementForm.h"
5 class Bus;
6 
7 class BusForm : public BusFormBase
8 {
9 public:
10  BusForm(wxWindow* parent, Bus* bus);
11  virtual ~BusForm();
12 protected:
13  virtual void OnFaultTypeChoice(wxCommandEvent& event);
14  virtual void OnControlledVoltageClick(wxCommandEvent& event);
15  virtual void OnInsertFaultClick(wxCommandEvent& event);
16  virtual void OnInsertStabFaultClick(wxCommandEvent& event);
17  virtual void OnNominalVoltageChoice(wxCommandEvent& event);
18  virtual void OnButtonCancelClick(wxCommandEvent& event);
19  virtual void OnButtonOKClick(wxCommandEvent& event);
20  virtual void EnableCtrlVoltageFields(bool enable = true);
21  virtual void EnableFaultFields(bool enable = true);
22  virtual void EnableStabFaultFields(bool enable = true);
23  virtual void UpdateChoiceBoxes();
24 
25  Bus* m_bus = NULL;
26  wxWindow* m_parent = NULL;
27 };
28 #endif // BUSFORM_H
Definition: BusForm.h:7
+
Definition: ElementForm.h:49
+
Definition: Bus.h:45
+
+ + + + diff --git a/docs/doxygen/html/_camera_8h_source.html b/docs/doxygen/html/_camera_8h_source.html new file mode 100644 index 0000000..f1a6202 --- /dev/null +++ b/docs/doxygen/html/_camera_8h_source.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Project/Camera.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Camera.h
+
+
+
1 #ifndef CAMERA_H
2 #define CAMERA_H
3 
4 #include <wx/geometry.h>
5 
6 class Camera
7 {
8 public:
9  Camera();
10  ~Camera();
11 
12  void SetScale(wxPoint2DDouble screenPoint, double delta);
13  void SetScale(double scale) { m_scale = scale; }
14  void SetTranslation(wxPoint2DDouble screenPoint);
15  void StartTranslation(wxPoint2DDouble startPoint) { this->m_translationStartPt = startPoint; }
16  void UpdateMousePosition(wxPoint2DDouble mousePosition) { this->m_mousePosition = mousePosition; }
17  double GetScale() const { return m_scale; }
18  wxPoint2DDouble GetTranslation() const { return m_translation; }
19  wxPoint2DDouble GetMousePosition(bool worldCoords = true) const;
20  wxPoint2DDouble ScreenToWorld(wxPoint2DDouble screenCoords) const;
21  double GetZoomMin() const { return m_zoomMin; }
22  double GetZoomMax() const { return m_zoomMax; }
23 
24 protected:
25  wxPoint2DDouble m_translation;
26  wxPoint2DDouble m_translationStartPt;
27  double m_scale;
28 
29  wxPoint2DDouble m_mousePosition;
30 
31  double m_zoomMin = 0.01;
32  double m_zoomMax = 3.0;
33 };
34 
35 #endif // CAMERA_H
Definition: Camera.h:6
+
+ + + + diff --git a/docs/doxygen/html/_capacitor_8h_source.html b/docs/doxygen/html/_capacitor_8h_source.html new file mode 100644 index 0000000..53f440c --- /dev/null +++ b/docs/doxygen/html/_capacitor_8h_source.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Project/Capacitor.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Capacitor.h
+
+
+
1 #ifndef CAPACITOR_H
2 #define CAPACITOR_H
3 
4 #include "Shunt.h"
5 
7 
9  wxString name;
10  double reactivePower = 100.0;
11  ElectricalUnit reactivePowerUnit = UNIT_MVAr;
12 };
13 
14 class Capacitor : public Shunt
15 {
16 public:
17  Capacitor();
18  Capacitor(wxString name);
19  ~Capacitor();
20 
21  virtual Element* GetCopy();
22  virtual bool AddParent(Element* parent, wxPoint2DDouble position);
23  virtual void Draw(wxPoint2DDouble translation, double scale) const;
24  virtual bool Contains(wxPoint2DDouble position) const;
25  virtual bool Intersects(wxRect2DDouble rect) const;
26  virtual void Rotate(bool clockwise = true);
27  virtual bool GetContextMenu(wxMenu& menu);
28  virtual wxString GetTipText() const;
29  virtual bool ShowForm(wxWindow* parent, Element* element);
30  virtual CapacitorElectricalData GetElectricalData() { return m_electricalData; }
31  virtual CapacitorElectricalData GetPUElectricalData(double systemPowerBase);
32  virtual void SetElectricalData(CapacitorElectricalData electricalData) { m_electricalData = electricalData; }
33 protected:
34  CapacitorElectricalData m_electricalData;
35 };
36 
37 #endif // CAPACITOR_H
Definition: Element.h:88
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:25
+
Definition: Capacitor.h:14
+
Definition: Shunt.h:7
+
Definition: ReactiveShuntElementForm.h:10
+
Definition: Capacitor.h:8
+
+ + + + diff --git a/docs/doxygen/html/_chart_view_8h_source.html b/docs/doxygen/html/_chart_view_8h_source.html new file mode 100644 index 0000000..a35c4a9 --- /dev/null +++ b/docs/doxygen/html/_chart_view_8h_source.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Project/ChartView.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ChartView.h
+
+
+
1 #ifndef CHARTVIEW_H
2 #define CHARTVIEW_H
3 #include "ChartViewBase.h"
4 #include "wxMathPlot/mathplot.h"
5 
6 #include <wx/msgdlg.h>
7 #include <wx/clipbrd.h>
8 #include <wx/bitmap.h>
9 #include <wx/dcscreen.h>
10 #include <wx/filedlg.h>
11 #include <wx/textfile.h>
12 
13 class PlotData;
14 class ElementPlotData;
15 
16 class ChartView : public ChartViewBase
17 {
18  public:
19  ChartView(wxWindow* parent, std::vector<ElementPlotData> epdList, std::vector<double> time);
20  virtual ~ChartView();
21 
22  void Fit();
23  void UpdatePlot(bool fit = true);
24 
25  protected:
26  virtual void OnMenuExpCSVClick(wxCommandEvent& event);
27  virtual void OnTreeItemActivated(wxTreeEvent& event);
28  virtual void OnTreeItemSelectionChanged(wxTreeEvent& event);
29  virtual void OnMenuDarkThemeClick(wxCommandEvent& event);
30  virtual void OnMenuExitClick(wxCommandEvent& event) { Close(); }
31  virtual void OnMenuFitClick(wxCommandEvent& event) { Fit(); }
32  virtual void OnMenuSaveImageClick(wxCommandEvent& event);
33  virtual void OnMenuSendClipClick(wxCommandEvent& event);
34  virtual void OnMenuShowCoordinatesClick(wxCommandEvent& event);
35  virtual void OnMenuShowGridClick(wxCommandEvent& event);
36  virtual void OnMenuShowLabelClick(wxCommandEvent& event);
37  virtual void OnPropertyGridChange(wxPropertyGridEvent& event);
38  virtual void SetMPWindow();
39  virtual void SetTreectrl();
40  virtual void BuildColourList();
41  virtual wxColour GetNextColour();
42  virtual wxTreeItemId AllToYAxis(wxTreeItemId root);
43  virtual wxTreeItemId UpdateAllPlots(wxTreeItemId root);
44  virtual wxString GetActiveCurvesCSV();
45  virtual wxTreeItemId GetActivePlotData(wxTreeItemId root, std::vector<PlotData*>& plotDataList);
46 
47  wxPGProperty* m_pgPropColor = NULL;
48 
49  wxTreeItemId m_treeTimeID;
50 
51  std::vector<ElementPlotData> m_epdList;
52  std::vector<double> m_time;
53  std::vector<double> m_xAxisValues;
54 
55  mpWindow* m_mpWindow = NULL;
56  mpScaleX* m_xaxis = NULL;
57  mpScaleY* m_yaxis = NULL;
58  mpText* m_chartTitle = NULL;
59  mpInfoCoords* m_coords = NULL;
60  mpInfoLegend* m_leg = NULL;
61 
62  bool m_hideGrid = true;
63  bool m_showLeg = true;
64  bool m_showCoords = false;
65  bool m_darkTheme = false;
66 
67  std::vector<wxColour> m_colourList;
68  std::vector<wxColour>::iterator m_itColourList;
69 };
70 #endif // CHARTVIEW_H
Definition: ChartViewBase.h:39
+
Definition: ElementPlotData.h:39
+
Definition: ChartView.h:16
+
Definition: ElementPlotData.h:10
+
+ + + + diff --git a/docs/doxygen/html/_chart_view_base_8h_source.html b/docs/doxygen/html/_chart_view_base_8h_source.html new file mode 100644 index 0000000..12791f1 --- /dev/null +++ b/docs/doxygen/html/_chart_view_base_8h_source.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Project/ChartViewBase.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ChartViewBase.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: ChartView.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_CHARTVIEW_BASE_CLASSES_H
8 #define _PSP_PROJECT_CHARTVIEW_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/frame.h>
14 #include <wx/iconbndl.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/menu.h>
18 #include <wx/treectrl.h>
19 #include <wx/propgrid/manager.h>
20 #include <wx/propgrid/property.h>
21 #include <wx/propgrid/advprops.h>
22 #if wxVERSION_NUMBER >= 2900
23 #include <wx/persist.h>
24 #include <wx/persist/toplevel.h>
25 #include <wx/persist/bookctrl.h>
26 #include <wx/persist/treebook.h>
27 #endif
28 
29 #ifdef WXC_FROM_DIP
30 #undef WXC_FROM_DIP
31 #endif
32 #if wxVERSION_NUMBER >= 3100
33 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
34 #else
35 #define WXC_FROM_DIP(x) x
36 #endif
37 
38 
39 class ChartViewBase : public wxFrame
40 {
41 protected:
42  wxMenuBar* m_menuBar;
43  wxMenu* m_menuFile;
44  wxMenuItem* m_menuItemSaveImage;
45  wxMenuItem* m_menuItemSendToClipboard;
46  wxMenuItem* m_menuItemExportCSV;
47  wxMenuItem* m_menuItemSeparator_1;
48  wxMenuItem* m_menuItemExit;
49  wxMenu* m_menuView;
50  wxMenuItem* m_menuItemFit;
51  wxMenuItem* m_menuItemSeparator_2;
52  wxMenuItem* m_menuItemShowGrid;
53  wxMenuItem* m_menuItemShowLabel;
54  wxMenuItem* m_menuItemShowCoordinates;
55  wxMenuItem* m_menuItemDarkTheme;
56  wxTreeCtrl* m_treeCtrl;
57  wxPropertyGridManager* m_pgMgr;
58  wxPGProperty* m_pgPropLineProp;
59  wxPGProperty* m_pgPropDraw;
60  wxPGProperty* m_pgProplineThick;
61  wxPGProperty* m_pgProplineType;
62  wxPGProperty* m_pgProplineAxis;
63  wxPGProperty* m_pgPropChartProp;
64  wxPGProperty* m_pgPropChartTitle;
65  wxPGProperty* m_pgPropXLabel;
66  wxPGProperty* m_pgPropYLabel;
67  wxPGProperty* m_pgPropMargins;
68  wxPGProperty* m_pgPropMarginsUp;
69  wxPGProperty* m_pgPropMarginsBot;
70  wxPGProperty* m_pgPropMarginsLeft;
71  wxPGProperty* m_pgPropMarginsRight;
72  wxPGProperty* m_pgPropAxisLimit;
73  wxPGProperty* m_pgPropXMin;
74  wxPGProperty* m_pgPropXMax;
75  wxPGProperty* m_pgPropYMin;
76  wxPGProperty* m_pgPropYMax;
77 
78 protected:
79  virtual void OnMenuSaveImageClick(wxCommandEvent& event) { event.Skip(); }
80  virtual void OnMenuSendClipClick(wxCommandEvent& event) { event.Skip(); }
81  virtual void OnMenuExpCSVClick(wxCommandEvent& event) { event.Skip(); }
82  virtual void OnMenuExitClick(wxCommandEvent& event) { event.Skip(); }
83  virtual void OnMenuFitClick(wxCommandEvent& event) { event.Skip(); }
84  virtual void OnMenuShowGridClick(wxCommandEvent& event) { event.Skip(); }
85  virtual void OnMenuShowLabelClick(wxCommandEvent& event) { event.Skip(); }
86  virtual void OnMenuShowCoordinatesClick(wxCommandEvent& event) { event.Skip(); }
87  virtual void OnMenuDarkThemeClick(wxCommandEvent& event) { event.Skip(); }
88  virtual void OnTreeItemActivated(wxTreeEvent& event) { event.Skip(); }
89  virtual void OnTreeItemSelectionChanged(wxTreeEvent& event) { event.Skip(); }
90  virtual void OnPropertyGridChange(wxPropertyGridEvent& event) { event.Skip(); }
91 
92 public:
93  wxMenuBar* GetMenuBar() { return m_menuBar; }
94  wxTreeCtrl* GetTreeCtrl() { return m_treeCtrl; }
95  wxPropertyGridManager* GetPgMgr() { return m_pgMgr; }
96  ChartViewBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Chart viewer"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_FRAME_STYLE);
97  virtual ~ChartViewBase();
98 };
99 
100 #endif
Definition: ChartViewBase.h:39
+
+ + + + diff --git a/docs/doxygen/html/_connection_line_8h_source.html b/docs/doxygen/html/_connection_line_8h_source.html new file mode 100644 index 0000000..7af2194 --- /dev/null +++ b/docs/doxygen/html/_connection_line_8h_source.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Project/ConnectionLine.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ConnectionLine.h
+
+
+
1 #ifndef CONNECTIONLINE_H
2 #define CONNECTIONLINE_H
3 
4 #include "ControlElement.h"
5 
7 {
8  public:
9  enum ConnectionLineType { ELEMENT_ELEMENT = 0, ELEMENT_LINE };
11  ConnectionLine(Node* firstNode, int id);
12  ~ConnectionLine();
13 
14  virtual void Draw(wxPoint2DDouble translation, double scale) const;
15  virtual bool Contains(wxPoint2DDouble position) const;
16  virtual bool Intersects(wxRect2DDouble rect) const;
17  virtual void RemoveParent(Element* parent);
18  virtual void StartMove(wxPoint2DDouble position);
19  virtual void Move(wxPoint2DDouble position);
20  virtual bool AppendNode(Node* node, ControlElement* parent);
21  virtual void UpdatePoints();
22  virtual void SetTemporarySecondPoint(wxPoint2DDouble point) { m_tmpSndPt = point; }
23  virtual wxPoint2DDouble GetMidPoint() const;
24  virtual double GetOffset() const { return m_lineOffset; }
25  virtual void SetOffset(double offset) { m_lineOffset = offset; }
26  virtual ConnectionLineType GetType() const { return m_type; }
27  virtual void SetType(ConnectionLineType newType) { m_type = newType; }
28  virtual ConnectionLine* GetParentLine() const { return m_parentLine; }
29  virtual bool SetParentLine(ConnectionLine* parent);
30 
31  virtual std::vector<ConnectionLine*> GetLineChildList() const;
32 
33  virtual double GetValue() const { return m_value; }
34  virtual void SetValue(double value) { m_value = value; }
35 
36  Element* GetCopy();
37 
38  protected:
39  double m_lineOffset = 0.0;
40  double m_moveStartPtY = 0.0;
41  double m_moveStartOffset = 0.0;
42  wxPoint2DDouble m_tmpSndPt;
43 
44  ConnectionLineType m_type = ELEMENT_ELEMENT;
45  ConnectionLine* m_parentLine = NULL;
46 
47  double m_value;
48 };
49 
50 #endif // CONNECTIONLINE_H
Definition: Element.h:88
+
virtual void Move(wxPoint2DDouble position)
Move the element other position.
Definition: ConnectionLine.cpp:146
+
Definition: ControlElement.h:6
+
Element * GetCopy()
Get a the element copy.
Definition: ConnectionLine.cpp:188
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: ConnectionLine.cpp:21
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: ConnectionLine.cpp:41
+
Definition: ConnectionLine.h:6
+
virtual void RemoveParent(Element *parent)
Remove a parent.
Definition: ConnectionLine.cpp:180
+
Definition: ControlElement.h:53
+
virtual void StartMove(wxPoint2DDouble position)
Update the element attributes related to the movement.
Definition: ConnectionLine.cpp:152
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: ConnectionLine.cpp:49
+
+ + + + diff --git a/docs/doxygen/html/_constant_8h_source.html b/docs/doxygen/html/_constant_8h_source.html new file mode 100644 index 0000000..0fd75de --- /dev/null +++ b/docs/doxygen/html/_constant_8h_source.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Project/Constant.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Constant.h
+
+
+
1 #ifndef CONSTANT_H
2 #define CONSTANT_H
3 
4 #include "ControlElement.h"
5 
6 #include <wx/dcscreen.h>
7 #include "wxGLString.h"
8 
9 class ConstantForm;
10 
11 class Constant : public ControlElement
12 {
13  public:
14  Constant(int id);
15  ~Constant();
16 
17  virtual void Draw(wxPoint2DDouble translation, double scale) const;
18  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
19  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
20  virtual bool ShowForm(wxWindow* parent, Element* element);
21  virtual void Rotate(bool clockwise = true);
22  virtual void UpdateText() { SetValue(m_value); }
23 
24  virtual void SetValue(double value);
25  virtual double GetValue() const { return m_value; }
26  virtual void UpdatePoints();
27 
28  virtual Element* GetCopy();
29 
30  protected:
31  double m_value = 1.0;
32 
33  wxGLString* m_glStringValue = NULL;
34  int m_fontSize = 10;
35 };
36 
37 #endif // CONSTANT_H
Definition: Element.h:88
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Constant.h:18
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Constant.h:19
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Constant.cpp:106
+
Definition: ConstantForm.h:7
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Constant.cpp:39
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Constant.cpp:50
+
Definition: ControlElement.h:53
+
Definition: Constant.h:11
+
Definition: wxGLString.h:77
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Constant.cpp:15
+
+ + + + diff --git a/docs/doxygen/html/_constant_form_8h_source.html b/docs/doxygen/html/_constant_form_8h_source.html new file mode 100644 index 0000000..b5cbb89 --- /dev/null +++ b/docs/doxygen/html/_constant_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/ConstantForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ConstantForm.h
+
+
+
1 #ifndef CONSTANTFORM_H
2 #define CONSTANTFORM_H
3 #include "ElementForm.h"
4 
5 class Constant;
6 
8 {
9  public:
10  ConstantForm(wxWindow* parent, Constant* constant);
11  virtual ~ConstantForm();
12  virtual bool ValidateData();
13 
14  protected:
15  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
16  virtual void OnOKButtonClick(wxCommandEvent& event);
17 
18  wxWindow* m_parent = NULL;
19  Constant* m_constant = NULL;
20 };
21 #endif // CONSTANTFORM_H
Definition: ElementForm.h:923
+
Definition: ConstantForm.h:7
+
Definition: Constant.h:11
+
+ + + + diff --git a/docs/doxygen/html/_control_editor_8h_source.html b/docs/doxygen/html/_control_editor_8h_source.html new file mode 100644 index 0000000..cfb25f5 --- /dev/null +++ b/docs/doxygen/html/_control_editor_8h_source.html @@ -0,0 +1,100 @@ + + + + + + + +PSP-UFU: Project/ControlEditor.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ControlEditor.h
+
+
+
1 #ifndef CONTROLEDITOR_H
2 #define CONTROLEDITOR_H
3 
4 #include "ControlEditorBase.h"
5 #include <wx/wrapsizer.h>
6 #include <wx/dcclient.h>
7 #include <wx/dcscreen.h>
8 #include <wx/graphics.h>
9 #include <GL/gl.h>
10 #include <GL/glu.h>
11 
12 #include <wx/progdlg.h>
13 
14 #include "IOControl.h"
15 #include "ControlSystemTest.h"
16 
17 class FileHanding;
18 class Camera;
19 class Element;
20 class ControlElement;
21 class TransferFunction;
22 class ConnectionLine;
23 class Sum;
24 class Multiplier;
25 class Limiter;
26 class RateLimiter;
27 class Exponential;
28 class Constant;
29 class Gain;
30 
33 
34 class ChartView;
35 class ElementDataObject;
36 
37 enum ControlElementButtonID { ID_IO = 0, ID_TF, ID_SUM, ID_CONST, ID_LIMITER, ID_GAIN, ID_MULT, ID_EXP, ID_RATELIM };
38 
39 class ControlElementButton : public wxWindow
40 {
41  public:
42  ControlElementButton(wxWindow* parent, wxString label, wxImage image, wxWindowID id = wxID_ANY);
44 
45  protected:
46  virtual void OnPaint(wxPaintEvent& event);
47  virtual void OnMouseEnter(wxMouseEvent& event);
48  virtual void OnMouseLeave(wxMouseEvent& event);
49  virtual void OnLeftClickDown(wxMouseEvent& event);
50  virtual void OnLeftClickUp(wxMouseEvent& event);
51 
52  wxString m_label;
53  wxFont m_font;
54  wxPoint m_labelPosition;
55 
56  wxImage m_image;
57  wxSize m_imageSize;
58  wxPoint m_imagePosition;
59 
60  int m_borderSize = 2;
61  bool m_mouseAbove = false;
62  bool m_selected = false;
63 
64  wxSize m_buttonSize;
65 };
66 
68 {
69  public:
70  enum ControlEditorMode {
71  MODE_EDIT = 0,
72  MODE_MOVE_ELEMENT,
73  MODE_MOVE_LINE,
74  MODE_DRAG,
75  MODE_DRAG_INSERT,
76  MODE_INSERT,
77  MODE_INSERT_LINE,
78  MODE_SELECTION_RECT,
79  MODE_PASTE,
80  MODE_DRAG_PASTE
81  };
82 
83  ControlEditor(wxWindow* parent,
84  int ioflags = IOControl::IN_TERMINAL_VOLTAGE | IOControl::IN_VELOCITY | IOControl::OUT_FIELD_VOLTAGE |
85  IOControl::OUT_MEC_POWER);
86  virtual ~ControlEditor();
87 
88  virtual void AddElement(ControlElementButtonID id);
89  virtual void Redraw() { m_glCanvas->Refresh(); }
90  virtual void RotateSelectedElements(bool clockwise);
91  virtual void DeleteSelectedElements();
92  virtual void CheckConnections();
93  virtual std::vector<ConnectionLine*> GetConnectionLineList() const { return m_connectionList; }
94  virtual std::vector<ControlElement*> GetControlElementList() const { return m_elementList; }
95  virtual void SetElementsList(std::vector<ControlElement*> elementList) { m_elementList = elementList; }
96  virtual void SetConnectionsList(std::vector<ConnectionLine*> connectionList) { m_connectionList = connectionList; }
97  virtual void SetControlContainer(ControlElementContainer* ctrlContainer) { m_ctrlContainer = ctrlContainer; }
98  protected:
99  virtual void OnClose(wxCloseEvent& event);
100  virtual void OnTestClick(wxCommandEvent& event);
101  virtual void OnButtonOKClick(wxCommandEvent& event) { Close(); }
102  virtual void OnImportClick(wxCommandEvent& event);
103  virtual void OnExportClick(wxCommandEvent& event);
104  virtual void OnKeyDown(wxKeyEvent& event);
105  virtual void OnIdle(wxIdleEvent& event);
106  virtual void OnScroll(wxMouseEvent& event);
107  virtual void OnDoubleClick(wxMouseEvent& event);
108  virtual void OnLeftClickDown(wxMouseEvent& event);
109  virtual void OnLeftClickUp(wxMouseEvent& event);
110  virtual void OnMiddleDown(wxMouseEvent& event);
111  virtual void OnMiddleUp(wxMouseEvent& event);
112  virtual void OnMouseMotion(wxMouseEvent& event);
113  virtual void OnPaint(wxPaintEvent& event);
114  virtual void LeftClickDown(wxMouseEvent& event);
115 
116  void BuildControlElementPanel();
117  void SetViewport();
118  void ConsolidateTexts();
119  void SetLastElementID();
120 
121  std::vector<ConnectionLine*>::iterator DeleteLineFromList(std::vector<ConnectionLine*>::iterator& it);
122 
123  wxGLContext* m_glContext = NULL;
124  Camera* m_camera = NULL;
125 
126  ControlEditorMode m_mode = MODE_EDIT;
127 
128  wxRect2DDouble m_selectionRect;
129  wxPoint2DDouble m_startSelRect;
130 
131  std::vector<ControlElement*> m_elementList;
132  std::vector<ConnectionLine*> m_connectionList;
133 
134  ControlElementContainer* m_ctrlContainer = NULL;
135 
136  bool m_firstDraw = true;
137  int m_ioFlags;
138 
139  int m_lastElementID = 0;
140 
141  int m_inputType = 0;
142  double m_startTime = 1.0;
143  double m_slope = 1.0;
144  double m_timeStep = 1e-4;
145  double m_simTime = 10.0;
146 };
147 #endif // CONTROLEDITOR_H
Definition: Multiplier.h:8
+
Definition: Element.h:88
+
Definition: ControlElementSolver.h:20
+
Definition: Sum.h:9
+
Definition: Gain.h:11
+
Definition: FileHanding.h:19
+
Definition: Limiter.h:8
+
Definition: Camera.h:6
+
Definition: ControlEditor.h:39
+
Definition: ControlEditorBase.h:47
+
Definition: Exponential.h:8
+
Definition: ElementDataObject.h:12
+
Definition: ChartView.h:16
+
Definition: RateLimiter.h:8
+
Definition: ControlElementContainer.h:20
+
Definition: ConnectionLine.h:6
+
Definition: TransferFunction.h:11
+
Definition: ControlEditor.h:67
+
Definition: ControlElement.h:53
+
Definition: Constant.h:11
+
+ + + + diff --git a/docs/doxygen/html/_control_editor_base_8h_source.html b/docs/doxygen/html/_control_editor_base_8h_source.html new file mode 100644 index 0000000..2fd979d --- /dev/null +++ b/docs/doxygen/html/_control_editor_base_8h_source.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Project/ControlEditorBase.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ControlEditorBase.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: ControlEditor.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_CONTROLEDITOR_BASE_CLASSES_H
8 #define _PSP_PROJECT_CONTROLEDITOR_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/frame.h>
14 #include <wx/iconbndl.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/toolbar.h>
18 #include <wx/aui/framemanager.h>
19 #include <wx/aui/dockart.h>
20 #include <wx/panel.h>
21 #include <wx/glcanvas.h>
22 #include <wx/button.h>
23 #include <wx/dialog.h>
24 #include <wx/notebook.h>
25 #include <wx/imaglist.h>
26 #include <wx/stattext.h>
27 #include <wx/choice.h>
28 #include <wx/arrstr.h>
29 #include <wx/textctrl.h>
30 #if wxVERSION_NUMBER >= 2900
31 #include <wx/persist.h>
32 #include <wx/persist/toplevel.h>
33 #include <wx/persist/bookctrl.h>
34 #include <wx/persist/treebook.h>
35 #endif
36 
37 #ifdef WXC_FROM_DIP
38 #undef WXC_FROM_DIP
39 #endif
40 #if wxVERSION_NUMBER >= 3100
41 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
42 #else
43 #define WXC_FROM_DIP(x) x
44 #endif
45 
46 
47 class ControlEditorBase : public wxFrame
48 {
49 public:
50  enum {
51  ID_RIBBON_EXPORT = 10001,
52  ID_RIBBON_IMPORT = 10002,
53  };
54 protected:
55  wxToolBar* m_toolbarMain;
56  wxAuiManager* m_auimgr;
57  wxPanel* m_panelControlElements;
58  wxPanel* m_panelWorkspace;
59  wxGLCanvas* m_glCanvas;
60  wxPanel* m_panelButtons;
61  wxButton* m_buttonTest;
62  wxButton* m_buttonOK;
63 
64 protected:
65  virtual void OnKeyDown(wxKeyEvent& event) { event.Skip(); }
66  virtual void OnClose(wxCloseEvent& event) { event.Skip(); }
67  virtual void OnImportClick(wxCommandEvent& event) { event.Skip(); }
68  virtual void OnExportClick(wxCommandEvent& event) { event.Skip(); }
69  virtual void OnPaint(wxPaintEvent& event) { event.Skip(); }
70  virtual void OnLeftClickDown(wxMouseEvent& event) { event.Skip(); }
71  virtual void OnLeftClickUp(wxMouseEvent& event) { event.Skip(); }
72  virtual void OnDoubleClick(wxMouseEvent& event) { event.Skip(); }
73  virtual void OnMiddleDown(wxMouseEvent& event) { event.Skip(); }
74  virtual void OnMiddleUp(wxMouseEvent& event) { event.Skip(); }
75  virtual void OnMouseMotion(wxMouseEvent& event) { event.Skip(); }
76  virtual void OnScroll(wxMouseEvent& event) { event.Skip(); }
77  virtual void OnIdle(wxIdleEvent& event) { event.Skip(); }
78  virtual void OnTestClick(wxCommandEvent& event) { event.Skip(); }
79  virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
80 
81 public:
82  wxToolBar* GetToolbarMain() { return m_toolbarMain; }
83  wxPanel* GetPanelControlElements() { return m_panelControlElements; }
84  wxGLCanvas* GetGlCanvas() { return m_glCanvas; }
85  wxPanel* GetPanelWorkspace() { return m_panelWorkspace; }
86  wxButton* GetButtonTest() { return m_buttonTest; }
87  wxButton* GetButtonOK() { return m_buttonOK; }
88  wxPanel* GetPanelButtons() { return m_panelButtons; }
89  wxAuiManager* GetAuimgr() { return m_auimgr; }
90  ControlEditorBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Control editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(800,600), long style = wxDEFAULT_FRAME_STYLE);
91  virtual ~ControlEditorBase();
92 };
93 
94 
95 class ControlSystemTestBase : public wxDialog
96 {
97 protected:
98  wxNotebook* m_notebook;
99  wxPanel* m_panelGeneral;
100  wxStaticText* m_staticTextInput;
101  wxChoice* m_choiceInput;
102  wxStaticText* m_staticTextStartTime;
103  wxTextCtrl* m_textCtrlStartTime;
104  wxStaticText* m_staticTextSec_1;
105  wxStaticText* m_staticTextSlope;
106  wxTextCtrl* m_textCtrlSlope;
107  wxStaticText* m_staticTextStep;
108  wxTextCtrl* m_textCtrlTimeStep;
109  wxStaticText* m_staticTextSimTime;
110  wxTextCtrl* m_textCtrlSimTime;
111  wxStaticText* m_staticTextSec_2;
112  wxButton* m_buttonRun;
113  wxButton* m_buttonCancel;
114 
115 protected:
116  virtual void OnRunButtonClick(wxCommandEvent& event) { event.Skip(); }
117  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
118 
119 public:
120  wxStaticText* GetStaticTextInput() { return m_staticTextInput; }
121  wxChoice* GetChoiceInput() { return m_choiceInput; }
122  wxStaticText* GetStaticTextStartTime() { return m_staticTextStartTime; }
123  wxTextCtrl* GetTextCtrlStartTime() { return m_textCtrlStartTime; }
124  wxStaticText* GetStaticTextSec_1() { return m_staticTextSec_1; }
125  wxStaticText* GetStaticTextSlope() { return m_staticTextSlope; }
126  wxTextCtrl* GetTextCtrlSlope() { return m_textCtrlSlope; }
127  wxStaticText* GetStaticTextStep() { return m_staticTextStep; }
128  wxTextCtrl* GetTextCtrlTimeStep() { return m_textCtrlTimeStep; }
129  wxStaticText* GetStaticTextSimTime() { return m_staticTextSimTime; }
130  wxTextCtrl* GetTextCtrlSimTime() { return m_textCtrlSimTime; }
131  wxStaticText* GetStaticTextSec_2() { return m_staticTextSec_2; }
132  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
133  wxNotebook* GetNotebook() { return m_notebook; }
134  wxButton* GetButtonRun() { return m_buttonRun; }
135  wxButton* GetButtonCancel() { return m_buttonCancel; }
136  ControlSystemTestBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Control system test"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
137  virtual ~ControlSystemTestBase();
138 };
139 
140 #endif
Definition: ControlEditorBase.h:95
+
Definition: ControlEditorBase.h:47
+
+ + + + diff --git a/docs/doxygen/html/_control_element_8h_source.html b/docs/doxygen/html/_control_element_8h_source.html new file mode 100644 index 0000000..65a41ed --- /dev/null +++ b/docs/doxygen/html/_control_element_8h_source.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Project/ControlElement.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ControlElement.h
+
+
+
1 #ifndef CONTROLELEMENT_H
2 #define CONTROLELEMENT_H
3 
4 #include "Element.h"
5 
6 class Node
7 {
8  public:
9  enum NodeType { NODE_IN = 0, NODE_OUT };
10 
11  Node(wxPoint2DDouble position = wxPoint2DDouble(0, 0), NodeType nodeType = NODE_IN, double borderSize = 0.0);
12  ~Node();
13 
14  wxRect2DDouble GetRect() const { return m_rect; }
15  void SetRect(wxRect2DDouble rect) { m_rect = rect; }
16  wxPoint2DDouble GetPosition() const;
17  void SetPosition(wxPoint2DDouble position);
18 
19  NodeType GetNodeType() const { return m_nodeType; }
20  void SetNodeType(NodeType nodeType) { m_nodeType = nodeType; }
21  double GetRadius() const { return m_radius; }
22  std::vector<wxPoint2DDouble> GetInTrianglePts() const { return m_triPts; }
23  double GetAngle() const { return m_angle; }
24  void SetAngle(double angle) { m_angle = angle; }
25  void Rotate(bool clockwise = true);
26 
27  void RotateTriPt(double angle);
28 
29  void StartMove(wxPoint2DDouble position);
30  void Move(wxPoint2DDouble position);
31  bool Contains(wxPoint2DDouble position) const;
32 
33  bool IsConnected() const { return m_connected; }
34  void SetConnected(bool connected = true) { m_connected = connected; }
35  int GetID() const { return m_id; }
36  void SetID(int id) { m_id = id; }
37  protected:
38  int m_id = -1;
39 
40  wxRect2DDouble m_rect;
41  NodeType m_nodeType;
42 
43  bool m_connected = false;
44 
45  wxPoint2DDouble m_moveStartPt;
46  wxPoint2DDouble m_movePos;
47 
48  double m_radius = 3.0;
49  std::vector<wxPoint2DDouble> m_triPts;
50  double m_angle = 0.0;
51 };
52 
53 class ControlElement : public Element
54 {
55  public:
56  ControlElement(int id);
57  ~ControlElement();
58 
59  virtual void StartMove(wxPoint2DDouble position);
60  virtual void Move(wxPoint2DDouble position);
61 
62  void SetNodeList(std::vector<Node*> nodeList) { m_nodeList = nodeList; }
63  std::vector<Node*> GetNodeList() const { return m_nodeList; }
64  virtual void DrawNodes() const;
65  virtual void ReplaceNode(Node* oldNode, Node* newNode);
66  virtual void UpdateText() {}
67  virtual bool IsSolved() const { return m_solved; }
68  virtual void SetSolved(bool solved = true) { m_solved = solved; }
69  virtual bool Solve(double input, double timeStep);
70  virtual double GetOutput() const { return m_output; }
71  virtual void SetOutput(double output) { m_output = output; }
72  protected:
73  std::vector<Node*> m_nodeList;
74  bool m_solved = false;
75  double m_output = 0.0;
76 };
77 
78 #endif // CONTROLELEMENT_H
Definition: Element.h:88
+
Definition: ControlElement.h:6
+
Class to manage color of OpenGL.
+
Definition: ControlElement.h:53
+
+ + + + diff --git a/docs/doxygen/html/_control_element_container_8h_source.html b/docs/doxygen/html/_control_element_container_8h_source.html new file mode 100644 index 0000000..71676d6 --- /dev/null +++ b/docs/doxygen/html/_control_element_container_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/ControlElementContainer.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ControlElementContainer.h
+
+
+
1 #ifndef CONTROLELEMENTCONTAINER_H
2 #define CONTROLELEMENTCONTAINER_H
3 
4 #include <vector>
5 
6 class ControlEditor;
7 class ControlElement;
8 
9 #include "ConnectionLine.h"
10 #include "Constant.h"
11 #include "Exponential.h"
12 #include "Gain.h"
13 #include "IOControl.h"
14 #include "Limiter.h"
15 #include "Multiplier.h"
16 #include "RateLimiter.h"
17 #include "Sum.h"
18 #include "TransferFunction.h"
19 
21 {
22  public:
25 
26  virtual void FillContainer(ControlEditor* editor);
27  virtual void FillContainer(std::vector<ControlElement*> controlElementList,
28  std::vector<ConnectionLine*> connectionLineList);
29  virtual void GetContainerCopy(std::vector<ControlElement*>& controlElementList,
30  std::vector<ConnectionLine*>& connectionLineList);
31  virtual void ClearContainer();
32 
33  std::vector<ControlElement*> GetControlElementsList() const { return m_ctrlElementsList; }
34  std::vector<ConnectionLine*> GetConnectionLineList() const { return m_cLineList; }
35  std::vector<Constant*> GetConstantList() const { return m_constantList; }
36  std::vector<Exponential*> GetExponentialList() const { return m_exponentialList; }
37  std::vector<Gain*> GetGainList() const { return m_gainList; }
38  std::vector<IOControl*> GetIOControlList() const { return m_ioControlList; }
39  std::vector<Limiter*> GetLimiterList() const { return m_limiterList; }
40  std::vector<Multiplier*> GetMultiplierList() const { return m_multiplierList; }
41  std::vector<RateLimiter*> GetRateLimiterList() const { return m_rateLimiterList; }
42  std::vector<Sum*> GetSumList() const { return m_sumList; }
43  std::vector<TransferFunction*> GetTFList() const { return m_tfList; }
44  protected:
45  std::vector<ControlElement*> m_ctrlElementsList;
46  std::vector<Constant*> m_constantList;
47 
48  std::vector<ConnectionLine*> m_cLineList;
49  std::vector<Exponential*> m_exponentialList;
50  std::vector<Gain*> m_gainList;
51  std::vector<IOControl*> m_ioControlList;
52  std::vector<Limiter*> m_limiterList;
53  std::vector<Multiplier*> m_multiplierList;
54  std::vector<RateLimiter*> m_rateLimiterList;
55  std::vector<Sum*> m_sumList;
56  std::vector<TransferFunction*> m_tfList;
57 };
58 
59 #endif // CONTROLELEMENTCONTAINER_H
Definition: ControlElementContainer.h:20
+
Definition: ControlEditor.h:67
+
Definition: ControlElement.h:53
+
+ + + + diff --git a/docs/doxygen/html/_control_element_solver_8h_source.html b/docs/doxygen/html/_control_element_solver_8h_source.html new file mode 100644 index 0000000..c2296c8 --- /dev/null +++ b/docs/doxygen/html/_control_element_solver_8h_source.html @@ -0,0 +1,93 @@ + + + + + + + +PSP-UFU: Project/ControlElementSolver.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ControlElementSolver.h
+
+
+
1 #ifndef CONTROLELEMENTSOLVER_H
2 #define CONTROLELEMENTSOLVER_H
3 
4 #include <wx/window.h>
5 #include <vector>
6 
8 class ControlEditor;
9 class ConnectionLine;
10 class Constant;
11 class Exponential;
12 class Gain;
13 class IOControl;
14 class Limiter;
15 class Multiplier;
16 class RateLimiter;
17 class Sum;
18 class TransferFunction;
19 
21 {
22  public:
24  ControlElementSolver(ControlEditor* controlEditor,
25  double timeStep = 1e-3,
26  double integrationError = 1e-3,
27  bool startAllZero = true,
28  double input = 0.0);
30  double timeStep = 1e-3,
31  double integrationError = 1e-3,
32  bool startAllZero = true,
33  double input = 0.0,
34  wxWindow* parent = NULL);
35  virtual ~ControlElementSolver() {}
36  virtual bool InitializeValues(double input, bool startAllZero);
37  virtual void SolveNextStep(double input);
38  virtual std::vector<double> GetSolutions() { return m_solutions; }
39  virtual double GetLastSolution() { return m_solutions[m_solutions.size() - 1]; }
40  virtual bool IsOK() const { return m_isOK; }
41  protected:
42  void Initialize(wxWindow* parent, double timeStep, double integrationError, bool startAllZero, double input);
43  void FillAllConnectedChildren(ConnectionLine* parent);
44  ConnectionLine* SolveNextElement(ConnectionLine* currentLine);
45 
46  ControlElementContainer* m_ctrlContainer = NULL;
47  double m_timeStep;
48  double m_integrationError;
49  std::vector<double> m_solutions;
50  bool m_isOK = false;
51 
52  IOControl* m_inputControl = NULL;
53  IOControl* m_outputControl = NULL;
54 };
55 
56 #endif // CONTROLELEMENTSOLVER_H
Definition: Multiplier.h:8
+
Definition: ControlElementSolver.h:20
+
Definition: Sum.h:9
+
Definition: Gain.h:11
+
Definition: Limiter.h:8
+
Definition: IOControl.h:11
+
Definition: Exponential.h:8
+
Definition: RateLimiter.h:8
+
Definition: ControlElementContainer.h:20
+
Definition: ConnectionLine.h:6
+
Definition: TransferFunction.h:11
+
Definition: ControlEditor.h:67
+
Definition: Constant.h:11
+
+ + + + diff --git a/docs/doxygen/html/_control_system_test_8h_source.html b/docs/doxygen/html/_control_system_test_8h_source.html new file mode 100644 index 0000000..45868b0 --- /dev/null +++ b/docs/doxygen/html/_control_system_test_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/ControlSystemTest.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ControlSystemTest.h
+
+
+
1 #ifndef CONTROLSYSTEMTEST_H
2 #define CONTROLSYSTEMTEST_H
3 
4 #include "ControlEditorBase.h"
5 
6 class ControlEditor;
7 
9 {
10 public:
11  ControlSystemTest(ControlEditor* parent, int* inputType, double* startTime, double* slope, double* timeStep, double* simTime);
12  virtual ~ControlSystemTest();
13 
14 protected:
15  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
16  virtual void OnRunButtonClick(wxCommandEvent& event);
17  int* m_inputType = NULL;
18  double* m_startTime = NULL;
19  double* m_slope = NULL;
20  double* m_timeStep = NULL;
21  double* m_simTime = NULL;
22 };
23 #endif // CONTROLSYSTEMTEST_H
Definition: ControlEditorBase.h:95
+
Definition: ControlEditor.h:67
+
Definition: ControlSystemTest.h:8
+
+ + + + diff --git a/docs/doxygen/html/_data_report_8h_source.html b/docs/doxygen/html/_data_report_8h_source.html new file mode 100644 index 0000000..b02c1f4 --- /dev/null +++ b/docs/doxygen/html/_data_report_8h_source.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Project/DataReport.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
DataReport.h
+
+
+
1 #ifndef DATAREPORT_H
2 #define DATAREPORT_H
3 
4 #include "DataReportBase.h"
5 
6 class Workspace;
8 
9 class DataReport : public DataReportBase
10 {
11  public:
12  enum GridSelection {
13  GRID_ALL = 0,
14  GRID_PF,
15  GRID_PFBUSES,
16  GRID_PFBRANCHES,
17  GRID_FAULT,
18  GRID_FAULTBUSES,
19  GRID_FAULTBRANCHES,
20  GRID_FAULTGENERATORS,
21  };
22 
23  DataReport(wxWindow* parent, Workspace* workspace);
24  virtual ~DataReport();
25 
26  virtual void SetHeaders();
27  virtual void CreateGrids();
28  virtual void FillValues(GridSelection gridToFill = GRID_ALL);
29  virtual void SetRowsColours(wxGrid* grid, int rowStart = 1);
30 
31  protected:
32  virtual void OnFaulrGridChanged(wxGridEvent& event);
33  virtual void OnFaultBranchesGridChanged(wxGridEvent& event);
34  virtual void OnFaultBusesGridChanged(wxGridEvent& event);
35  virtual void OnFaultGeneratorsGridChanged(wxGridEvent& event);
36  virtual void OnPFBranchesGridChanged(wxGridEvent& event);
37  virtual void OnPowerFlowGridChanged(wxGridEvent& event);
38  virtual void OnPFBusGridChanged(wxGridEvent& event);
39  Workspace* m_workspace = NULL;
40  bool m_changingValues = false;
41 
42  // Headers choices
43  wxArrayString m_voltageChoices;
44  wxArrayString m_activePowerChoices;
45  wxArrayString m_reactivePowerChoices;
46  wxArrayString m_resistanceChoices;
47  wxArrayString m_indReactanceChoices;
48  wxArrayString m_capSusceptanceChoices;
49  wxArrayString m_currentChoices;
50 
51  // Colors
52  wxColour m_headerColour;
53  wxColour m_offlineColour;
54  wxColour m_oddRowColour;
55  wxColour m_evenRowColour;
56 };
57 #endif // DATAREPORT_H
Definition: DataReportBase.h:38
+
Definition: DataReport.h:9
+
Definition: ElectricCalculation.h:49
+
Definition: Workspace.h:56
+
+ + + + diff --git a/docs/doxygen/html/_data_report_base_8h_source.html b/docs/doxygen/html/_data_report_base_8h_source.html new file mode 100644 index 0000000..f89db52 --- /dev/null +++ b/docs/doxygen/html/_data_report_base_8h_source.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Project/DataReportBase.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
DataReportBase.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: DataReport.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_DATAREPORT_BASE_CLASSES_H
8 #define _PSP_PROJECT_DATAREPORT_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/frame.h>
14 #include <wx/iconbndl.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/notebook.h>
18 #include <wx/panel.h>
19 #include <wx/imaglist.h>
20 #include <wx/grid.h>
21 #if wxVERSION_NUMBER >= 2900
22 #include <wx/persist.h>
23 #include <wx/persist/toplevel.h>
24 #include <wx/persist/bookctrl.h>
25 #include <wx/persist/treebook.h>
26 #endif
27 
28 #ifdef WXC_FROM_DIP
29 #undef WXC_FROM_DIP
30 #endif
31 #if wxVERSION_NUMBER >= 3100
32 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
33 #else
34 #define WXC_FROM_DIP(x) x
35 #endif
36 
37 
38 class DataReportBase : public wxFrame
39 {
40 protected:
41  wxNotebook* m_notebookDataReport;
42  wxPanel* m_panelPowerFlowData;
43  wxNotebook* m_notebookPowerFlow;
44  wxPanel* m_panelPowerFlow;
45  wxGrid* m_gridPowerFlow;
46  wxPanel* m_panelPFBuses;
47  wxGrid* m_gridPFBuses;
48  wxPanel* m_panelPFBranches;
49  wxGrid* m_gridPFBranches;
50  wxPanel* m_panelFaultData;
51  wxNotebook* m_notebookFault;
52  wxPanel* m_panelFault;
53  wxGrid* m_gridFault;
54  wxPanel* m_panelFaultBuses;
55  wxGrid* m_gridFaultBuses;
56  wxPanel* m_panelFaultBranches;
57  wxGrid* m_gridFaultBranches;
58  wxPanel* m_panelFaultGenerators;
59  wxGrid* m_gridFaultGenerators;
60 
61 protected:
62  virtual void OnPowerFlowGridChanged(wxGridEvent& event) { event.Skip(); }
63  virtual void OnPFBusGridChanged(wxGridEvent& event) { event.Skip(); }
64  virtual void OnPFBranchesGridChanged(wxGridEvent& event) { event.Skip(); }
65  virtual void OnFaulrGridChanged(wxGridEvent& event) { event.Skip(); }
66  virtual void OnFaultBusesGridChanged(wxGridEvent& event) { event.Skip(); }
67  virtual void OnFaultBranchesGridChanged(wxGridEvent& event) { event.Skip(); }
68  virtual void OnFaultGeneratorsGridChanged(wxGridEvent& event) { event.Skip(); }
69 
70 public:
71  wxGrid* GetGridPowerFlow() { return m_gridPowerFlow; }
72  wxPanel* GetPanelPowerFlow() { return m_panelPowerFlow; }
73  wxGrid* GetGridPFBuses() { return m_gridPFBuses; }
74  wxPanel* GetPanelPFBuses() { return m_panelPFBuses; }
75  wxGrid* GetGridPFBranches() { return m_gridPFBranches; }
76  wxPanel* GetPanelPFBranches() { return m_panelPFBranches; }
77  wxNotebook* GetNotebookPowerFlow() { return m_notebookPowerFlow; }
78  wxPanel* GetPanelPowerFlowData() { return m_panelPowerFlowData; }
79  wxGrid* GetGridFault() { return m_gridFault; }
80  wxPanel* GetPanelFault() { return m_panelFault; }
81  wxGrid* GetGridFaultBuses() { return m_gridFaultBuses; }
82  wxPanel* GetPanelFaultBuses() { return m_panelFaultBuses; }
83  wxGrid* GetGridFaultBranches() { return m_gridFaultBranches; }
84  wxPanel* GetPanelFaultBranches() { return m_panelFaultBranches; }
85  wxGrid* GetGridFaultGenerators() { return m_gridFaultGenerators; }
86  wxPanel* GetPanelFaultGenerators() { return m_panelFaultGenerators; }
87  wxNotebook* GetNotebookFault() { return m_notebookFault; }
88  wxPanel* GetPanelFaultData() { return m_panelFaultData; }
89  wxNotebook* GetNotebookDataReport() { return m_notebookDataReport; }
90  DataReportBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Data report"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_FRAME_STYLE);
91  virtual ~DataReportBase();
92 };
93 
94 #endif
Definition: DataReportBase.h:38
+
+ + + + diff --git a/docs/doxygen/html/_degrees_and_radians_8h_source.html b/docs/doxygen/html/_degrees_and_radians_8h_source.html new file mode 100644 index 0000000..77aee90 --- /dev/null +++ b/docs/doxygen/html/_degrees_and_radians_8h_source.html @@ -0,0 +1,80 @@ + + + + + + + +PSP-UFU: Project/DegreesAndRadians.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
DegreesAndRadians.h
+
+
+
1 #ifndef DEGREESANDRADIANS_H
2 #define DEGREESANDRADIANS_H
3 
4 #include<wx/math.h>
5 
6 // Convert between degrees and radians.
7 inline double wxDegToRad(double deg) { return (deg * M_PI) / 180.0; }
8 inline double wxRadToDeg(double rad) { return (rad * 180.0) / M_PI; }
9 
10 #endif // DEGREESANDRADIANS_H
+ + + + diff --git a/docs/doxygen/html/_electric_calculation_8h.html b/docs/doxygen/html/_electric_calculation_8h.html new file mode 100644 index 0000000..acd6669 --- /dev/null +++ b/docs/doxygen/html/_electric_calculation_8h.html @@ -0,0 +1,136 @@ + + + + + + + +PSP-UFU: Project/ElectricCalculation.h File Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
ElectricCalculation.h File Reference
+
+
+ +

Base class of electric calculations, with general methods. +More...

+
#include <vector>
+#include <complex>
+#include "Element.h"
+#include "PowerElement.h"
+#include "Bus.h"
+#include "Capacitor.h"
+#include "IndMotor.h"
+#include "Inductor.h"
+#include "Line.h"
+#include "Load.h"
+#include "SyncGenerator.h"
+#include "SyncMotor.h"
+#include "Transformer.h"
+#include "PropertiesData.h"
+
+

Go to the source code of this file.

+ + + + + + +

+Classes

struct  ReactiveLimits
 
class  ElectricCalculation
 
+ + + + + + + +

+Enumerations

enum  BusType { BUS_SLACK = 0, +BUS_PV, +BUS_PQ + }
 
enum  ReactiveLimitsType {
+  RL_UNLIMITED = 0, +RL_LIMITED, +RL_UNLIMITED_SOURCE, +RL_MAX_REACHED, +
+  RL_MIN_REACHED, +RL_NONE_REACHED +
+ }
 
enum  YBusSequence { POSITIVE_SEQ = 0, +NEGATIVE_SEQ, +ZERO_SEQ + }
 
+

Detailed Description

+

Base class of electric calculations, with general methods.

+
+ + + + diff --git a/docs/doxygen/html/_electric_calculation_8h_source.html b/docs/doxygen/html/_electric_calculation_8h_source.html new file mode 100644 index 0000000..6e89f17 --- /dev/null +++ b/docs/doxygen/html/_electric_calculation_8h_source.html @@ -0,0 +1,94 @@ + + + + + + + +PSP-UFU: Project/ElectricCalculation.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ElectricCalculation.h
+
+
+Go to the documentation of this file.
1 #ifndef ELECTRICCALCULATION_H
2 #define ELECTRICCALCULATION_H
3 
4 #include <vector>
5 #include <complex>
6 
7 #include "Element.h"
8 #include "PowerElement.h"
9 #include "Bus.h"
10 #include "Capacitor.h"
11 #include "IndMotor.h"
12 #include "Inductor.h"
13 #include "Line.h"
14 #include "Load.h"
15 #include "SyncGenerator.h"
16 #include "SyncMotor.h"
17 #include "Transformer.h"
18 
19 #include "PropertiesData.h"
20 
21 enum BusType { BUS_SLACK = 0, BUS_PV, BUS_PQ };
22 
23 enum ReactiveLimitsType {
24  RL_UNLIMITED = 0, // The bus can generate any ammount of reactive power.
25  RL_LIMITED, // The bus reactive power generation is limited.
26  RL_UNLIMITED_SOURCE, // The bus have at least one source of infinite reative power.
27  RL_MAX_REACHED, // Max limit reached
28  RL_MIN_REACHED, // Min limit reached
29  RL_NONE_REACHED // No limits reached
30 };
31 
32 enum YBusSequence { POSITIVE_SEQ = 0, NEGATIVE_SEQ, ZERO_SEQ };
33 
35  double maxLimit = 0.0;
36  double minLimit = 0.0;
37  ReactiveLimitsType maxLimitType = RL_UNLIMITED;
38  ReactiveLimitsType minLimitType = RL_UNLIMITED;
39  ReactiveLimitsType limitReached = RL_NONE_REACHED;
40 };
41 
50 {
51  public:
56 
61 
66  virtual void GetElementsFromList(std::vector<Element*> elementList);
67 
76  virtual bool GetYBus(std::vector<std::vector<std::complex<double> > >& yBus,
77  double systemPowerBase,
78  YBusSequence sequence = POSITIVE_SEQ,
79  bool includeSyncMachines = false,
80  bool allLoadsAsImpedances = false);
81 
88  virtual bool InvertMatrix(std::vector<std::vector<std::complex<double> > > matrix,
89  std::vector<std::vector<std::complex<double> > >& inverse);
90 
99  virtual void UpdateElementsPowerFlow(std::vector<std::complex<double> > voltage,
100  std::vector<std::complex<double> > power,
101  std::vector<BusType> busType,
102  std::vector<ReactiveLimits> reactiveLimit,
103  double systemPowerBase);
104 
105  void ABCtoDQ0(std::complex<double> complexValue, double angle, double& dValue, double& qValue);
106  void DQ0toABC(double dValue, double qValue, double angle, std::complex<double>& complexValue);
107 
108  std::vector<std::complex<double> > GaussianElimination(std::vector<std::vector<std::complex<double> > > matrix,
109  std::vector<std::complex<double> > array);
110 
111  Machines::SyncMachineModel GetMachineModel(SyncGenerator* generator);
112 
113  std::vector<std::complex<double> > ComplexMatrixTimesVector(std::vector<std::vector<std::complex<double> > > matrix,
114  std::vector<std::complex<double> > vector);
115 
116  void GetLUDecomposition(std::vector<std::vector<std::complex<double> > > matrix,
117  std::vector<std::vector<std::complex<double> > >& matrixL,
118  std::vector<std::vector<std::complex<double> > >& matrixU);
119 
120  std::vector<std::complex<double> > LUEvaluate(std::vector<std::vector<std::complex<double> > > u,
121  std::vector<std::vector<std::complex<double> > > l,
122  std::vector<std::complex<double> > b);
123 
128  const std::vector<Bus*> GetBusList() const { return m_busList; }
133  const std::vector<Capacitor*> GetCapacitorList() const { return m_capacitorList; }
138  const std::vector<IndMotor*> GetIndMotorList() const { return m_indMotorList; }
143  const std::vector<Inductor*> GetInductorList() const { return m_inductorList; }
148  const std::vector<Line*> GetLineList() const { return m_lineList; }
153  const std::vector<Load*> GetLoadList() const { return m_loadList; }
158  const std::vector<SyncGenerator*> GetSyncGeneratorList() const { return m_syncGeneratorList; }
163  const std::vector<SyncMotor*> GetSyncMotorList() const { return m_syncMotorList; }
168  const std::vector<Transformer*> GetTransformerList() const { return m_transformerList; }
169  protected:
170  std::vector<PowerElement*> m_powerElementList;
171  std::vector<Bus*> m_busList;
172  std::vector<Capacitor*> m_capacitorList;
173  std::vector<IndMotor*> m_indMotorList;
174  std::vector<Inductor*> m_inductorList;
175  std::vector<Line*> m_lineList;
176  std::vector<Load*> m_loadList;
177  std::vector<SyncGenerator*> m_syncGeneratorList;
178  std::vector<SyncMotor*> m_syncMotorList;
179  std::vector<Transformer*> m_transformerList;
180 };
181 
182 #endif // ELECTRICCALCULATION_H
const std::vector< Transformer * > GetTransformerList() const
Get the transformers of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:168
+
const std::vector< IndMotor * > GetIndMotorList() const
Get the induction motors of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:138
+
Definition: ElectricCalculation.h:34
+
Definition: SyncGenerator.h:110
+
const std::vector< Bus * > GetBusList() const
Get the buses of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:128
+
const std::vector< SyncGenerator * > GetSyncGeneratorList() const
Get the synchronous generators of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:158
+
const std::vector< Inductor * > GetInductorList() const
Get the inductors of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:143
+
Class to manage color of OpenGL.
+
const std::vector< Capacitor * > GetCapacitorList() const
Get the capacitors of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:133
+
const std::vector< Load * > GetLoadList() const
Get the loads of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:153
+
Switching data of power elements.
+
const std::vector< SyncMotor * > GetSyncMotorList() const
Get the synchronous motors of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:163
+
Definition: ElectricCalculation.h:49
+
const std::vector< Line * > GetLineList() const
Get the lines of the system (use GetElementsFromList first).
Definition: ElectricCalculation.h:148
+
+ + + + diff --git a/docs/doxygen/html/_electromechanical_8h_source.html b/docs/doxygen/html/_electromechanical_8h_source.html new file mode 100644 index 0000000..a6bdcd1 --- /dev/null +++ b/docs/doxygen/html/_electromechanical_8h_source.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Project/Electromechanical.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Electromechanical.h
+
+
+
1 #ifndef ELECTROMECHANICAL_H
2 #define ELECTROMECHANICAL_H
3 
4 #include "ElectricCalculation.h"
5 
6 #include <wx/progdlg.h>
7 
9 
11 {
12  public:
13  Electromechanical(wxWindow* parent, std::vector<Element*> elementList, SimulationData data);
15 
16  bool RunStabilityCalculation();
17  wxString GetErrorMessage() const { return m_errorMsg; }
18  std::vector<double> GetTimeVector() const { return m_timeVector; }
19  std::vector<double> m_wErrorVector;
20  std::vector<double> m_deltaErrorVector;
21  std::vector<double> m_transEdErrorVector;
22  std::vector<double> m_transEqErrorVector;
23  std::vector<double> m_numItVector;
24 
25  protected:
26  void SetEventTimeList();
27  bool HasEvent(double currentTime);
28  void SetEvent(double currentTime);
29  inline bool EventTrigger(double eventTime, double currentTime);
30 
31  double GetPowerValue(double value, ElectricalUnit unit);
32 
33  void InsertSyncMachinesOnYBus();
34  std::complex<double> GetSyncMachineAdmittance(SyncGenerator* generator);
35  bool InitializeDynamicElements();
36  void CalculateMachinesCurrents();
37  void CalculateIntegrationConstants(SyncGenerator* syncGenerator, double id, double iq, double k = 1.0);
38  bool SolveSynchronousMachines();
39  void SetSyncMachinesModel();
40  double CalculateSyncMachineIntVariables(SyncGenerator* syncGenerator, double id, double iq, double pe, double k = 1.0);
41  void CalculateSyncMachineNonIntVariables(SyncGenerator* syncGenerator, double& id, double& iq, double& pe, double k = 1.0);
42  void CalculateReferenceSpeed();
43 
44  void SaveData();
45 
46  wxWindow* m_parent = NULL;
47  wxString m_errorMsg = _("Unknown error");
48 
49  double m_systemFreq = 60.0;
50  double m_refSpeed = 2.0 * M_PI * 60.0;
51  bool m_useCOI = false;
52 
53  std::vector<std::vector<std::complex<double> > > m_yBus;
54  std::vector<std::vector<std::complex<double> > > m_yBusU;
55  std::vector<std::vector<std::complex<double> > > m_yBusL;
56 
57  std::vector<std::complex<double> > m_vBus;
58  std::vector<std::complex<double> > m_iBus;
59 
60  double m_powerSystemBase = 100e6;
61  double m_simTime = 10.0;
62  double m_plotTime = 1e-2;
63  double m_timeStep = 1e-2;
64  double m_ctrlTimeStepMultiplier = 0.1;
65  double m_tolerance = 1e-8;
66  int m_maxIterations = 100;
67 
68  std::vector<double> m_eventTimeList;
69  std::vector<bool> m_eventOccurrenceList;
70 
71  std::vector<double> m_timeVector;
72 
73  // tests
74  double m_wError = 0.0;
75  double m_numIt = 0;
76 };
77 
78 #endif // ELECTROMECHANICAL_H
Definition: ControlElementSolver.h:20
+
Base class of electric calculations, with general methods.
+
Definition: SyncGenerator.h:110
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PropertiesData.h:11
+
Definition: Electromechanical.h:10
+
Definition: ElectricCalculation.h:49
+
+ + + + diff --git a/docs/doxygen/html/_element_8h.html b/docs/doxygen/html/_element_8h.html new file mode 100644 index 0000000..c2a8092 --- /dev/null +++ b/docs/doxygen/html/_element_8h.html @@ -0,0 +1,195 @@ + + + + + + + +PSP-UFU: Project/Element.h File Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
Element.h File Reference
+
+
+ +

Class to manage color of OpenGL. +More...

+
#include <wx/msgdlg.h>
+#include <wx/geometry.h>
+#include <wx/cursor.h>
+#include <wx/menu.h>
+#include <GL/gl.h>
+#include <complex>
+
+

Go to the source code of this file.

+ + + + + + +

+Classes

class  OpenGLColour
 
class  Element
 
+ + + + + + + +

+Enumerations

enum  PickboxID {
+  ID_PB_NONE = 0, +ID_PB_RIGHT, +ID_PB_LEFT, +ID_PB_RIGHT_BOTTOM, +
+  ID_PB_RIGHT_TOP, +ID_PB_LEFT_BOTTOM, +ID_PB_LEFT_TOP +
+ }
 ID of the pickbox. More...
 
enum  ContextMenuID {
+  ID_EDIT_ELEMENT = 0, +ID_LINE_ADD_NODE, +ID_LINE_REMOVE_NODE, +ID_ROTATE_CLOCK, +
+  ID_ROTATE_COUNTERCLOCK, +ID_DELETE +
+ }
 ID of contex menu itens. More...
 
+

Detailed Description

+

Class to manage color of OpenGL.

+

Enumeration Type Documentation

+ +

◆ ContextMenuID

+ +
+
+ + + + +
enum ContextMenuID
+
+ +

ID of contex menu itens.

+ + + + + + + +
Enumerator
ID_EDIT_ELEMENT 

Edit element

+
ID_LINE_ADD_NODE 

Add node on power lines

+
ID_LINE_REMOVE_NODE 

Remove power line node

+
ID_ROTATE_CLOCK 

Rotate the element clockwise

+
ID_ROTATE_COUNTERCLOCK 

Rotate the element counter-clockwise

+
ID_DELETE 

Delete the element

+
+ +
+
+ +

◆ PickboxID

+ +
+
+ + + + +
enum PickboxID
+
+ +

ID of the pickbox.

+ + + + + + + + +
Enumerator
ID_PB_NONE 

No pickbox

+
ID_PB_RIGHT 

Right pickbox

+
ID_PB_LEFT 

Left pickbox

+
ID_PB_RIGHT_BOTTOM 

Right-bottom pickbox

+
ID_PB_RIGHT_TOP 

Right-top pickbox

+
ID_PB_LEFT_BOTTOM 

Left-bottom pickbox

+
ID_PB_LEFT_TOP 

Left-top pickbox

+
+ +
+
+
+ + + + diff --git a/docs/doxygen/html/_element_8h_source.html b/docs/doxygen/html/_element_8h_source.html new file mode 100644 index 0000000..e2f5cba --- /dev/null +++ b/docs/doxygen/html/_element_8h_source.html @@ -0,0 +1,144 @@ + + + + + + + +PSP-UFU: Project/Element.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Element.h
+
+
+Go to the documentation of this file.
1 #ifndef ELEMENT_H
2 #define ELEMENT_H
3 
4 #include <wx/msgdlg.h>
5 #include <wx/geometry.h>
6 #include <wx/cursor.h>
7 #include <wx/menu.h>
8 #include <GL/gl.h>
9 
10 #include <complex>
11 
12 //#include <wx/log.h>
13 
18 enum PickboxID {
19  ID_PB_NONE = 0,
26 };
27 
39 };
40 
49 {
50 public:
54  OpenGLColour();
55 
63  OpenGLColour(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
64 
68  virtual ~OpenGLColour() {}
69 
77  void SetRGBA(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
78 
83  const GLdouble* GetRGBA() const { return rgba; }
84 protected:
85  GLdouble rgba[4];
86 };
87 
88 class Element
89 {
90 public:
94  Element();
95 
99  virtual ~Element();
100 
105  void SetDragging(bool dragging = true) { m_dragging = dragging; }
106 
111  void SetHeight(double height) { m_height = height; }
112 
117  void SetPosition(const wxPoint2DDouble position);
118 
123  void SetSelected(bool selected = true) { m_selected = selected; }
124 
129  void SetWidth(double width) { m_width = width; }
130 
135  void SetAngle(double angle) { m_angle = angle; }
136 
141  void ShowPickbox(bool showPickbox = true) { m_showPickbox = showPickbox; }
142 
147  void SetBorderSize(double borderSize) { m_borderSize = borderSize; }
148 
153  bool SetOnline(bool online = true);
154 
159  virtual void SetPointList(std::vector<wxPoint2DDouble> pointList) { m_pointList = pointList; }
160 
165  wxRect2DDouble GetRect() const { return m_rect; }
166 
171  wxPoint2DDouble GetPosition() const { return m_position; }
172 
177  bool IsDragging() const { return m_dragging; }
178 
183  double GetHeight() const { return m_height; }
184 
189  bool IsSelected() const { return m_selected; }
190 
195  double GetWidth() const { return m_width; }
196 
201  double GetAngle() const { return m_angle; }
202 
207  double GetRotationAngle() const { return m_rotationAngle; }
208 
213  bool IsPickboxShown() const { return m_showPickbox; }
214 
219  bool IsOnline() const { return m_online; }
220 
225  virtual std::vector<wxPoint2DDouble> GetPointList() const { return m_pointList; }
226 
234  virtual bool AddParent(Element* parent, wxPoint2DDouble position) { return false; }
235 
240  virtual void AddParent(Element* parent) { m_parentList.push_back(parent); }
241 
246  virtual bool Contains(wxPoint2DDouble position) const = 0;
247 
252  virtual bool Intersects(wxRect2DDouble rect) const = 0;
253 
258  virtual Element* GetCopy() { return NULL; }
259 
264  virtual void SetID(int id) { m_elementID = id; }
265 
270  virtual int GetID() const { return m_elementID; }
271 
276  virtual void AddChild(Element* child);
277 
282  virtual void RemoveChild(Element* child);
283 
289  virtual void ReplaceChild(Element* oldChild, Element* newChild);
290 
295  virtual wxString GetTipText() const { return wxEmptyString; }
296 
302  virtual void Draw(wxPoint2DDouble translation, double scale) const {}
303 
308  virtual void Rotate(bool clockwise = true) {}
309 
315  virtual bool GetContextMenu(wxMenu& menu) { return false; }
316 
321  virtual void AddPoint(wxPoint2DDouble point) {}
322 
327  virtual void StartMove(wxPoint2DDouble position);
328 
334  virtual void Move(wxPoint2DDouble position);
335 
341  virtual void MoveNode(Element* parent, wxPoint2DDouble position) {}
342 
348  virtual bool NodeContains(wxPoint2DDouble position) { return false; }
349 
353  virtual void UpdateNodes() {}
354 
361  virtual bool SetNodeParent(Element* parent) { return false; }
362 
367  virtual void RemoveParent(Element* parent) {}
368 
374  virtual void ReplaceParent(Element* oldParent, Element* newParent);
375 
381  virtual void RotateNode(Element* parent, bool clockwise = true) {}
382 
389  virtual bool PickboxContains(wxPoint2DDouble position) { return false; }
390 
395  virtual void MovePickbox(wxPoint2DDouble position) {}
396 
401  virtual wxCursor GetBestPickboxCursor() const { return wxCURSOR_ARROW; }
402 
406  virtual void ResetPickboxes() { m_activePickboxID = ID_PB_NONE; }
407 
411  virtual void ResetNodes() { m_activeNodeID = 0; }
412 
420  virtual wxPoint2DDouble
421  WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX = 0.0, double offsetY = 0.0) const;
422 
431  virtual wxPoint2DDouble WorldToScreen(wxPoint2DDouble position,
432  wxPoint2DDouble translation,
433  double scale,
434  double offsetX = 0.0,
435  double offsetY = 0.0) const;
436 
444  virtual bool
445  RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const;
446 
454  virtual void DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode = GL_LINE_LOOP) const;
455  virtual void DrawArc(wxPoint2DDouble position,
456  double radius,
457  double initAngle,
458  double finalAngle,
459  int numSegments,
460  GLenum mode = GL_LINE_LOOP) const;
461 
469  virtual void DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode = GL_QUADS) const;
470 
476  virtual void DrawRectangle(wxPoint2DDouble* points, GLenum mode = GL_QUADS) const;
477 
483  virtual void DrawTriangle(std::vector<wxPoint2DDouble> points, GLenum mode = GL_TRIANGLES) const;
484 
490  virtual void DrawPoint(wxPoint2DDouble position, double size) const;
491 
497  virtual void DrawLine(std::vector<wxPoint2DDouble> points, GLenum mode = GL_LINE_STRIP) const;
498 
503  virtual void DrawPickbox(wxPoint2DDouble position) const;
504 
511  virtual wxPoint2DDouble RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees = true) const;
512 
517  virtual std::vector<Element*> GetParentList() const { return m_parentList; }
518 
523  virtual std::vector<Element*> GetChildList() const { return m_childList; }
524 
525  // virtual wxPoint2DDouble GetMoveStartPosition() const { return m_moveStartPt; }
526  // virtual wxPoint2DDouble GetMovePosition() const { return m_movePos; }
527 
533  virtual void CalculateBoundaries(wxPoint2DDouble& leftUp, wxPoint2DDouble& rightBottom) const;
534 
539  virtual void GeneralMenuItens(wxMenu& menu);
540 
547  virtual bool ShowForm(wxWindow* parent, Element* element) { return false; }
548 
556  static bool DoubleFromString(wxWindow* parent, wxString strValue, double& value, wxString errorMsg);
557 
565  static bool IntFromString(wxWindow* parent, wxString strValue, int& value, wxString errorMsg);
566 
572  static wxString StringFromDouble(double value, int minDecimal = 1);
573 
580  virtual double PointToLineDistance(wxPoint2DDouble point, int* segmentNumber = NULL) const;
581 
582 protected:
583  int m_elementID = 0;
584  std::vector<Element*> m_parentList;
585  std::vector<Element*> m_childList;
586 
587  wxRect2DDouble m_rect;
588  wxPoint2DDouble m_position;
589  double m_width = 0.0;
590  double m_height = 0.0;
591  double m_angle = 0.0;
592  double m_borderSize = 2.0;
593  double m_rotationAngle = 45.0;
594  double m_switchSize = 10.0;
595 
596  std::vector<wxRect2DDouble> m_switchRect;
597 
598  bool m_selected = false;
599  bool m_dragging = false;
600  bool m_showPickbox = false;
601 
602  int m_activePickboxID = ID_PB_NONE;
603  int m_activeNodeID = 0;
604 
605  std::vector<wxPoint2DDouble> m_pointList;
606  std::vector<wxPoint2DDouble> m_movePts;
607 
608  wxPoint2DDouble m_moveStartPt;
609  wxPoint2DDouble m_movePos;
610 
611  bool m_online = true;
612 
613  OpenGLColour m_selectionColour;
614 };
615 
616 #endif // ELEMENT_H
double GetAngle() const
Get the element angle.
Definition: Element.h:201
+
void ShowPickbox(bool showPickbox=true)
Set if the pickbox is shown.
Definition: Element.h:141
+
virtual void AddPoint(wxPoint2DDouble point)
Add point to the list of points that connect the element to the bus.
Definition: Element.h:321
+
Definition: Element.h:88
+
void SetSelected(bool selected=true)
Set element selection.
Definition: Element.h:123
+
virtual std::vector< Element * > GetParentList() const
Get the parent list.
Definition: Element.h:517
+
void SetWidth(double width)
Set element width.
Definition: Element.h:129
+
virtual std::vector< Element * > GetChildList() const
Get the Child list.
Definition: Element.h:523
+
virtual void ResetPickboxes()
Remove the pickboxes.
Definition: Element.h:406
+
Definition: Element.h:33
+
virtual bool NodeContains(wxPoint2DDouble position)
Check if a node contains a point. If contains, set the attributes related to node movement...
Definition: Element.h:348
+
ContextMenuID
ID of contex menu itens.
Definition: Element.h:32
+
virtual bool PickboxContains(wxPoint2DDouble position)
Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be c...
Definition: Element.h:389
+
virtual void UpdateNodes()
Update the nodes according to the parents. If a parent is removed, use this method.
Definition: Element.h:353
+
virtual void SetPointList(std::vector< wxPoint2DDouble > pointList)
Set the list of points that connect the element to the bus.
Definition: Element.h:159
+
Definition: Element.h:37
+
void SetRGBA(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
Set the colour in RGBA. The colour values must be between 0.0 and 1.0.
Definition: Element.cpp:350
+
virtual void MoveNode(Element *parent, wxPoint2DDouble position)
Move a node. StartMove(wxPoint2DDouble position) before start moving.
Definition: Element.h:341
+
Definition: Element.h:22
+
virtual bool AddParent(Element *parent, wxPoint2DDouble position)
Add a parent to the element. This method must be used on power elements that connect to a bus...
Definition: Element.h:234
+
Definition: Element.h:34
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Element.h:302
+
bool IsPickboxShown() const
Checks if the pickbox is shown.
Definition: Element.h:213
+
bool IsOnline() const
Checks if the element is online or offline.
Definition: Element.h:219
+
wxRect2DDouble GetRect() const
Get the element rectangle.
Definition: Element.h:165
+
OpenGLColour()
Default construnctor. Use SetRGBA(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)...
Definition: Element.cpp:358
+
void SetAngle(double angle)
Set element angle.
Definition: Element.h:135
+
double GetWidth() const
Get the element width.
Definition: Element.h:195
+
virtual wxString GetTipText() const
Get the tip text.
Definition: Element.h:295
+
virtual ~OpenGLColour()
Destructor.
Definition: Element.h:68
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Element.h:308
+
Definition: Element.h:38
+
Definition: Element.h:25
+
Definition: Element.h:23
+
virtual bool GetContextMenu(wxMenu &menu)
Get the element contex menu.
Definition: Element.h:315
+
double GetHeight() const
Get the element height.
Definition: Element.h:183
+
virtual std::vector< wxPoint2DDouble > GetPointList() const
Get the list of points that connect the element to bus.
Definition: Element.h:225
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Element.h:547
+
virtual void AddParent(Element *parent)
Add a parent to the element.
Definition: Element.h:240
+
virtual void MovePickbox(wxPoint2DDouble position)
Move the pickbox.
Definition: Element.h:395
+
Definition: Element.h:36
+
Definition: Element.h:35
+
virtual wxCursor GetBestPickboxCursor() const
Get the best cursor to shown to the user when the mouse is above a pickbox.
Definition: Element.h:401
+
void SetBorderSize(double borderSize)
Set the size of the border (shown in selected elements).
Definition: Element.h:147
+
PickboxID
ID of the pickbox.
Definition: Element.h:18
+
bool IsSelected() const
Checks if the element is selected.
Definition: Element.h:189
+
Definition: Element.h:48
+
virtual void RotateNode(Element *parent, bool clockwise=true)
Rotate a node.
Definition: Element.h:381
+
Definition: Element.h:21
+
Definition: Element.h:24
+
virtual void SetID(int id)
Set the element ID.
Definition: Element.h:264
+
virtual bool SetNodeParent(Element *parent)
Set a perent to the node. If all conditions are met, a new parent are added to the element and the po...
Definition: Element.h:361
+
virtual int GetID() const
Get the element ID.
Definition: Element.h:270
+
virtual void RemoveParent(Element *parent)
Remove a parent.
Definition: Element.h:367
+
Definition: Element.h:20
+
bool IsDragging() const
Checks if the element is being dragged.
Definition: Element.h:177
+
wxPoint2DDouble GetPosition() const
Get the element position.
Definition: Element.h:171
+
virtual void ResetNodes()
Remove the active nodes.
Definition: Element.h:411
+
void SetDragging(bool dragging=true)
Set if the element are being dragged.
Definition: Element.h:105
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Element.h:258
+
double GetRotationAngle() const
Get the angle of rotation.
Definition: Element.h:207
+
void SetHeight(double height)
Set element height.
Definition: Element.h:111
+
Definition: Element.h:19
+
const GLdouble * GetRGBA() const
Get colour in RGBA.
Definition: Element.h:83
+
+ + + + diff --git a/docs/doxygen/html/_element_data_object_8h_source.html b/docs/doxygen/html/_element_data_object_8h_source.html new file mode 100644 index 0000000..fc1d8d1 --- /dev/null +++ b/docs/doxygen/html/_element_data_object_8h_source.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Project/ElementDataObject.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ElementDataObject.h
+
+
+
1 #ifndef ELEMENTDATAOBJECT_H
2 #define ELEMENTDATAOBJECT_H
3 
4 #include "Workspace.h"
5 #include <wx/dataobj.h>
6 
7 struct ElementsLists {
8  std::vector<Element*> elementList;
9  std::vector<Bus*> parentList;
10 };
11 
12 class ElementDataObject : public wxDataObjectSimple
13 {
14 public:
16  ElementDataObject(std::vector<Element*> elementList);
18 
19  size_t GetDataSize() const override;
20  bool GetDataHere(void* buf) const override;
21  bool SetData(size_t len, const void* buf) override;
22 
23  ElementsLists* GetElementsLists() { return m_elementsLists; }
24 
25 protected:
26  ElementsLists* m_elementsLists = NULL;
27 };
28 
29 #endif // ELEMENTDATAOBJECT_H
Definition: ElementDataObject.h:7
+
Definition: ElementDataObject.h:12
+
+ + + + diff --git a/docs/doxygen/html/_element_form_8h_source.html b/docs/doxygen/html/_element_form_8h_source.html new file mode 100644 index 0000000..69cd619 --- /dev/null +++ b/docs/doxygen/html/_element_form_8h_source.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Project/ElementForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ElementForm.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: ElementForm.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_ELEMENTFORM_BASE_CLASSES_H
8 #define _PSP_PROJECT_ELEMENTFORM_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/dialog.h>
14 #include <wx/iconbndl.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/notebook.h>
18 #include <wx/panel.h>
19 #include <wx/imaglist.h>
20 #include <wx/stattext.h>
21 #include <wx/textctrl.h>
22 #include <wx/choice.h>
23 #include <wx/arrstr.h>
24 #include <wx/checkbox.h>
25 #include <wx/button.h>
26 #include <wx/statbox.h>
27 #include <wx/statline.h>
28 #include <wx/propgrid/manager.h>
29 #include <wx/propgrid/property.h>
30 #include <wx/propgrid/advprops.h>
31 #include <wx/listctrl.h>
32 #if wxVERSION_NUMBER >= 2900
33 #include <wx/persist.h>
34 #include <wx/persist/toplevel.h>
35 #include <wx/persist/bookctrl.h>
36 #include <wx/persist/treebook.h>
37 #endif
38 
39 #ifdef WXC_FROM_DIP
40 #undef WXC_FROM_DIP
41 #endif
42 #if wxVERSION_NUMBER >= 3100
43 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
44 #else
45 #define WXC_FROM_DIP(x) x
46 #endif
47 
48 
49 class BusFormBase : public wxDialog
50 {
51 protected:
52  wxNotebook* m_notebook;
53  wxPanel* m_panelGeneral;
54  wxStaticText* m_staticTextName;
55  wxTextCtrl* m_textCtrlName;
56  wxStaticText* m_staticTextNomVoltage;
57  wxTextCtrl* m_textCtrlNomVoltage;
58  wxChoice* m_choiceNomVoltage;
59  wxCheckBox* m_checkBoxCtrlVoltage;
60  wxTextCtrl* m_textCtrlCtrlVoltage;
61  wxChoice* m_choiceCtrlVoltage;
62  wxCheckBox* m_checkBoxSlackBus;
63  wxPanel* m_panelFault;
64  wxCheckBox* m_checkBoxFault;
65  wxStaticText* m_staticTextFaultType;
66  wxChoice* m_choiceFaultType;
67  wxStaticText* m_staticTextFaultPlace;
68  wxChoice* m_choiceFaultPlace;
69  wxStaticText* m_staticTextFaultResistance;
70  wxTextCtrl* m_textCtrlFaultResistance;
71  wxStaticText* m_staticTextPU_1;
72  wxStaticText* m_staticTextReactance;
73  wxTextCtrl* m_textCtrlFaultReactance;
74  wxStaticText* m_staticTextPU_2;
75  wxPanel* m_panelStability;
76  wxCheckBox* m_checkBoxPlotData;
77  wxCheckBox* m_checkBoxStabFault;
78  wxStaticText* m_staticTextStabFaultTime;
79  wxTextCtrl* m_textCtrlStabFaultTime;
80  wxStaticText* m_staticTextS_1;
81  wxStaticText* m_staticTextStabFaultLength;
82  wxTextCtrl* m_textCtrlStabFaultLength;
83  wxStaticText* m_staticTextS_2;
84  wxStaticText* m_staticTextStabFaultResistance;
85  wxTextCtrl* m_textCtrlStabFaultResistance;
86  wxStaticText* m_staticTextPU_3;
87  wxStaticText* m_staticTextStabFaultReactance;
88  wxTextCtrl* m_textCtrlStabFaultReactance;
89  wxStaticText* m_staticTextPU_4;
90  wxButton* m_buttonOK;
91  wxButton* m_ButtonCancel;
92 
93 protected:
94  virtual void OnNominalVoltageChoice(wxCommandEvent& event) { event.Skip(); }
95  virtual void OnControlledVoltageClick(wxCommandEvent& event) { event.Skip(); }
96  virtual void OnInsertFaultClick(wxCommandEvent& event) { event.Skip(); }
97  virtual void OnFaultTypeChoice(wxCommandEvent& event) { event.Skip(); }
98  virtual void OnInsertStabFaultClick(wxCommandEvent& event) { event.Skip(); }
99  virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
100  virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
101 
102 public:
103  wxStaticText* GetStaticTextName() { return m_staticTextName; }
104  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
105  wxStaticText* GetStaticTextNomVoltage() { return m_staticTextNomVoltage; }
106  wxTextCtrl* GetTextCtrlNomVoltage() { return m_textCtrlNomVoltage; }
107  wxChoice* GetChoiceNomVoltage() { return m_choiceNomVoltage; }
108  wxCheckBox* GetCheckBoxCtrlVoltage() { return m_checkBoxCtrlVoltage; }
109  wxTextCtrl* GetTextCtrlCtrlVoltage() { return m_textCtrlCtrlVoltage; }
110  wxChoice* GetChoiceCtrlVoltage() { return m_choiceCtrlVoltage; }
111  wxCheckBox* GetCheckBoxSlackBus() { return m_checkBoxSlackBus; }
112  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
113  wxCheckBox* GetCheckBoxFault() { return m_checkBoxFault; }
114  wxStaticText* GetStaticTextFaultType() { return m_staticTextFaultType; }
115  wxChoice* GetChoiceFaultType() { return m_choiceFaultType; }
116  wxStaticText* GetStaticTextFaultPlace() { return m_staticTextFaultPlace; }
117  wxChoice* GetChoiceFaultPlace() { return m_choiceFaultPlace; }
118  wxStaticText* GetStaticTextFaultResistance() { return m_staticTextFaultResistance; }
119  wxTextCtrl* GetTextCtrlFaultResistance() { return m_textCtrlFaultResistance; }
120  wxStaticText* GetStaticTextPU_1() { return m_staticTextPU_1; }
121  wxStaticText* GetStaticTextReactance() { return m_staticTextReactance; }
122  wxTextCtrl* GetTextCtrlFaultReactance() { return m_textCtrlFaultReactance; }
123  wxStaticText* GetStaticTextPU_2() { return m_staticTextPU_2; }
124  wxPanel* GetPanelFault() { return m_panelFault; }
125  wxCheckBox* GetCheckBoxPlotData() { return m_checkBoxPlotData; }
126  wxCheckBox* GetCheckBoxStabFault() { return m_checkBoxStabFault; }
127  wxStaticText* GetStaticTextStabFaultTime() { return m_staticTextStabFaultTime; }
128  wxTextCtrl* GetTextCtrlStabFaultTime() { return m_textCtrlStabFaultTime; }
129  wxStaticText* GetStaticTextS_1() { return m_staticTextS_1; }
130  wxStaticText* GetStaticTextStabFaultLength() { return m_staticTextStabFaultLength; }
131  wxTextCtrl* GetTextCtrlStabFaultLength() { return m_textCtrlStabFaultLength; }
132  wxStaticText* GetStaticTextS_2() { return m_staticTextS_2; }
133  wxStaticText* GetStaticTextStabFaultResistance() { return m_staticTextStabFaultResistance; }
134  wxTextCtrl* GetTextCtrlStabFaultResistance() { return m_textCtrlStabFaultResistance; }
135  wxStaticText* GetStaticTextPU_3() { return m_staticTextPU_3; }
136  wxStaticText* GetStaticTextStabFaultReactance() { return m_staticTextStabFaultReactance; }
137  wxTextCtrl* GetTextCtrlStabFaultReactance() { return m_textCtrlStabFaultReactance; }
138  wxStaticText* GetStaticTextPU_4() { return m_staticTextPU_4; }
139  wxPanel* GetPanelStability() { return m_panelStability; }
140  wxNotebook* GetNotebook() { return m_notebook; }
141  wxButton* GetButtonOK() { return m_buttonOK; }
142  wxButton* GetButtonCancel() { return m_ButtonCancel; }
143  BusFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Bus"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
144  virtual ~BusFormBase();
145 };
146 
147 
148 class SyncMachineFormBase : public wxDialog
149 {
150 protected:
151  wxNotebook* m_notebook;
152  wxPanel* m_panelGeneral;
153  wxStaticText* m_staticTextName;
154  wxTextCtrl* m_textCtrlName;
155  wxStaticText* m_staticTextNominalPower;
156  wxTextCtrl* m_textCtrlnominalPower;
157  wxChoice* m_choiceNominalPower;
158  wxStaticText* m_staticTextActivePower;
159  wxTextCtrl* m_textCtrlActivePower;
160  wxChoice* m_choiceActivePower;
161  wxStaticText* m_staticTextReactivePower;
162  wxTextCtrl* m_textCtrlReactivePower;
163  wxChoice* m_choiceReactivePower;
164  wxCheckBox* m_checkBoxMaxReactive;
165  wxTextCtrl* m_textCtrlMaxRectivePower;
166  wxChoice* m_choiceMaxRectivePower;
167  wxCheckBox* m_checkBoxMinReactive;
168  wxTextCtrl* m_textCtrlMinRectivePower;
169  wxChoice* m_choiceMinRectivePower;
170  wxCheckBox* m_checkBoxUseMachinePower;
171  wxPanel* m_panelFault;
172  wxStaticText* m_staticTextPosResistance;
173  wxTextCtrl* m_textCtrlPosResistance;
174  wxStaticText* m_staticTextPosReactance;
175  wxTextCtrl* m_textCtrlPosReactance;
176  wxStaticText* m_staticTextNegResistance;
177  wxTextCtrl* m_textCtrlNegResistance;
178  wxStaticText* m_staticTextNegReactance;
179  wxTextCtrl* m_textCtrlNegReactance;
180  wxStaticText* m_staticTextZeroResistance;
181  wxTextCtrl* m_textCtrlZeroResistance;
182  wxStaticText* m_staticTextZeroReactance;
183  wxTextCtrl* m_textCtrlZeroReactance;
184  wxStaticText* m_staticTextGrdResistance;
185  wxTextCtrl* m_textCtrlGrdResistance;
186  wxStaticText* m_staticTextGrdReactance;
187  wxTextCtrl* m_textCtrlGrdReactance;
188  wxCheckBox* m_checkBoxGroundNeutral;
189  wxButton* m_buttonStab;
190  wxButton* m_buttonOK;
191  wxButton* m_ButtonCancel;
192 
193 protected:
194  virtual void OnCheckMaxReactive(wxCommandEvent& event) { event.Skip(); }
195  virtual void OnCheckMinReactive(wxCommandEvent& event) { event.Skip(); }
196  virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
197  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
198  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
199 
200 public:
201  wxStaticText* GetStaticTextName() { return m_staticTextName; }
202  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
203  wxStaticText* GetStaticTextNominalPower() { return m_staticTextNominalPower; }
204  wxTextCtrl* GetTextCtrlnominalPower() { return m_textCtrlnominalPower; }
205  wxChoice* GetChoiceNominalPower() { return m_choiceNominalPower; }
206  wxStaticText* GetStaticTextActivePower() { return m_staticTextActivePower; }
207  wxTextCtrl* GetTextCtrlActivePower() { return m_textCtrlActivePower; }
208  wxChoice* GetChoiceActivePower() { return m_choiceActivePower; }
209  wxStaticText* GetStaticTextReactivePower() { return m_staticTextReactivePower; }
210  wxTextCtrl* GetTextCtrlReactivePower() { return m_textCtrlReactivePower; }
211  wxChoice* GetChoiceReactivePower() { return m_choiceReactivePower; }
212  wxCheckBox* GetCheckBoxMaxReactive() { return m_checkBoxMaxReactive; }
213  wxTextCtrl* GetTextCtrlMaxRectivePower() { return m_textCtrlMaxRectivePower; }
214  wxChoice* GetChoiceMaxRectivePower() { return m_choiceMaxRectivePower; }
215  wxCheckBox* GetCheckBoxMinReactive() { return m_checkBoxMinReactive; }
216  wxTextCtrl* GetTextCtrlMinRectivePower() { return m_textCtrlMinRectivePower; }
217  wxChoice* GetChoiceMinRectivePower() { return m_choiceMinRectivePower; }
218  wxCheckBox* GetCheckBoxUseMachinePower() { return m_checkBoxUseMachinePower; }
219  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
220  wxStaticText* GetStaticTextPosResistance() { return m_staticTextPosResistance; }
221  wxTextCtrl* GetTextCtrlPosResistance() { return m_textCtrlPosResistance; }
222  wxStaticText* GetStaticTextPosReactance() { return m_staticTextPosReactance; }
223  wxTextCtrl* GetTextCtrlPosReactance() { return m_textCtrlPosReactance; }
224  wxStaticText* GetStaticTextNegResistance() { return m_staticTextNegResistance; }
225  wxTextCtrl* GetTextCtrlNegResistance() { return m_textCtrlNegResistance; }
226  wxStaticText* GetStaticTextNegReactance() { return m_staticTextNegReactance; }
227  wxTextCtrl* GetTextCtrlNegReactance() { return m_textCtrlNegReactance; }
228  wxStaticText* GetStaticTextZeroResistance() { return m_staticTextZeroResistance; }
229  wxTextCtrl* GetTextCtrlZeroResistance() { return m_textCtrlZeroResistance; }
230  wxStaticText* GetStaticTextZeroReactance() { return m_staticTextZeroReactance; }
231  wxTextCtrl* GetTextCtrlZeroReactance() { return m_textCtrlZeroReactance; }
232  wxStaticText* GetStaticTextGrdResistance() { return m_staticTextGrdResistance; }
233  wxTextCtrl* GetTextCtrlGrdResistance() { return m_textCtrlGrdResistance; }
234  wxStaticText* GetStaticTextGrdReactance() { return m_staticTextGrdReactance; }
235  wxTextCtrl* GetTextCtrlGrdReactance() { return m_textCtrlGrdReactance; }
236  wxCheckBox* GetCheckBoxGroundNeutral() { return m_checkBoxGroundNeutral; }
237  wxPanel* GetPanelFault() { return m_panelFault; }
238  wxNotebook* GetNotebook() { return m_notebook; }
239  wxButton* GetButtonStab() { return m_buttonStab; }
240  wxButton* GetButtonOK() { return m_buttonOK; }
241  wxButton* GetButtonCancel() { return m_ButtonCancel; }
242  SyncMachineFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Generator"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
243  virtual ~SyncMachineFormBase();
244 };
245 
246 
247 class GeneratorStabFormBase : public wxDialog
248 {
249 protected:
250  wxCheckBox* m_checkBoxPlotSyncMachine;
251  wxStaticText* m_staticTextInertia;
252  wxTextCtrl* m_textCtrlInertia;
253  wxStaticText* m_staticTextS_1;
254  wxStaticText* m_staticTextDamping;
255  wxTextCtrl* m_textCtrlDamping;
256  wxStaticText* m_staticTextPU_1;
257  wxCheckBox* m_checkBoxUseAVR;
258  wxButton* m_buttonEditAVR;
259  wxCheckBox* m_checkBoxUseSG;
260  wxButton* m_buttonEditSG;
261  wxStaticLine* m_staticLine_1;
262  wxStaticText* m_staticTextRa;
263  wxTextCtrl* m_textCtrlRa;
264  wxStaticText* m_staticTextPU_2;
265  wxStaticText* m_staticTextXp;
266  wxTextCtrl* m_textCtrlXp;
267  wxStaticText* m_staticTextPU_9;
268  wxStaticText* m_staticTextSat;
269  wxTextCtrl* m_textCtrlSat;
270  wxStaticText* m_staticTextPU_10;
271  wxStaticText* m_staticTextSyncXd;
272  wxTextCtrl* m_textCtrlSyncXd;
273  wxStaticText* m_staticTextPU_3;
274  wxStaticText* m_staticTextSyncXq;
275  wxTextCtrl* m_textCtrlSyncXq;
276  wxStaticText* m_staticTextPU_4;
277  wxStaticText* m_staticTextTranXd;
278  wxTextCtrl* m_textCtrlTranXd;
279  wxStaticText* m_staticTextPU_5;
280  wxStaticText* m_staticTextTranXq;
281  wxTextCtrl* m_textCtrlTranXq;
282  wxStaticText* m_staticTextPU_6;
283  wxStaticText* m_staticTextTranTd0;
284  wxTextCtrl* m_textCtrlTranTd0;
285  wxStaticText* m_staticTextS_2;
286  wxStaticText* m_staticTextTranTq0;
287  wxTextCtrl* m_textCtrlTranTq0;
288  wxStaticText* m_staticTextS_3;
289  wxStaticText* m_staticTextSubXd;
290  wxTextCtrl* m_textCtrlSubXd;
291  wxStaticText* m_staticTextPU_7;
292  wxStaticText* m_staticTextSubXq;
293  wxTextCtrl* m_textCtrlSubXq;
294  wxStaticText* m_staticTextPU_8;
295  wxStaticText* m_staticTextSubTd0;
296  wxTextCtrl* m_textCtrlSubTd0;
297  wxStaticText* m_staticTextS_4;
298  wxStaticText* m_staticTextSubTq0;
299  wxTextCtrl* m_textCtrlSubTq0;
300  wxStaticText* m_staticTextS_5;
301  wxButton* m_buttonSwitching;
302  wxButton* m_buttonOK;
303  wxButton* m_ButtonCancel;
304 
305 protected:
306  virtual void UseAVRClick(wxCommandEvent& event) { event.Skip(); }
307  virtual void OnEditAVRButtonClick(wxCommandEvent& event) { event.Skip(); }
308  virtual void UseSGClick(wxCommandEvent& event) { event.Skip(); }
309  virtual void OnSpeedGovernorButtonClick(wxCommandEvent& event) { event.Skip(); }
310  virtual void OnSwitchingButtonClick(wxCommandEvent& event) { event.Skip(); }
311  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
312  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
313 
314 public:
315  wxCheckBox* GetCheckBoxPlotSyncMachine() { return m_checkBoxPlotSyncMachine; }
316  wxStaticText* GetStaticTextInertia() { return m_staticTextInertia; }
317  wxTextCtrl* GetTextCtrlInertia() { return m_textCtrlInertia; }
318  wxStaticText* GetStaticTextS_1() { return m_staticTextS_1; }
319  wxStaticText* GetStaticTextDamping() { return m_staticTextDamping; }
320  wxTextCtrl* GetTextCtrlDamping() { return m_textCtrlDamping; }
321  wxStaticText* GetStaticTextPU_1() { return m_staticTextPU_1; }
322  wxCheckBox* GetCheckBoxUseAVR() { return m_checkBoxUseAVR; }
323  wxButton* GetButtonEditAVR() { return m_buttonEditAVR; }
324  wxCheckBox* GetCheckBoxUseSG() { return m_checkBoxUseSG; }
325  wxButton* GetButtonEditSG() { return m_buttonEditSG; }
326  wxStaticLine* GetStaticLine_1() { return m_staticLine_1; }
327  wxStaticText* GetStaticTextRa() { return m_staticTextRa; }
328  wxTextCtrl* GetTextCtrlRa() { return m_textCtrlRa; }
329  wxStaticText* GetStaticTextPU_2() { return m_staticTextPU_2; }
330  wxStaticText* GetStaticTextXp() { return m_staticTextXp; }
331  wxTextCtrl* GetTextCtrlXp() { return m_textCtrlXp; }
332  wxStaticText* GetStaticTextPU_9() { return m_staticTextPU_9; }
333  wxStaticText* GetStaticTextSat() { return m_staticTextSat; }
334  wxTextCtrl* GetTextCtrlSat() { return m_textCtrlSat; }
335  wxStaticText* GetStaticTextPU_10() { return m_staticTextPU_10; }
336  wxStaticText* GetStaticTextSyncXd() { return m_staticTextSyncXd; }
337  wxTextCtrl* GetTextCtrlSyncXd() { return m_textCtrlSyncXd; }
338  wxStaticText* GetStaticTextPU_3() { return m_staticTextPU_3; }
339  wxStaticText* GetStaticTextSyncXq() { return m_staticTextSyncXq; }
340  wxTextCtrl* GetTextCtrlSyncXq() { return m_textCtrlSyncXq; }
341  wxStaticText* GetStaticTextPU_4() { return m_staticTextPU_4; }
342  wxStaticText* GetStaticTextTranXd() { return m_staticTextTranXd; }
343  wxTextCtrl* GetTextCtrlTranXd() { return m_textCtrlTranXd; }
344  wxStaticText* GetStaticTextPU_5() { return m_staticTextPU_5; }
345  wxStaticText* GetStaticTextTranXq() { return m_staticTextTranXq; }
346  wxTextCtrl* GetTextCtrlTranXq() { return m_textCtrlTranXq; }
347  wxStaticText* GetStaticTextPU_6() { return m_staticTextPU_6; }
348  wxStaticText* GetStaticTextTranTd0() { return m_staticTextTranTd0; }
349  wxTextCtrl* GetTextCtrlTranTd0() { return m_textCtrlTranTd0; }
350  wxStaticText* GetStaticTextS_2() { return m_staticTextS_2; }
351  wxStaticText* GetStaticTextTranTq0() { return m_staticTextTranTq0; }
352  wxTextCtrl* GetTextCtrlTranTq0() { return m_textCtrlTranTq0; }
353  wxStaticText* GetStaticTextS_3() { return m_staticTextS_3; }
354  wxStaticText* GetStaticTextSubXd() { return m_staticTextSubXd; }
355  wxTextCtrl* GetTextCtrlSubXd() { return m_textCtrlSubXd; }
356  wxStaticText* GetStaticTextPU_7() { return m_staticTextPU_7; }
357  wxStaticText* GetStaticTextSubXq() { return m_staticTextSubXq; }
358  wxTextCtrl* GetTextCtrlSubXq() { return m_textCtrlSubXq; }
359  wxStaticText* GetStaticTextPU_8() { return m_staticTextPU_8; }
360  wxStaticText* GetStaticTextSubTd0() { return m_staticTextSubTd0; }
361  wxTextCtrl* GetTextCtrlSubTd0() { return m_textCtrlSubTd0; }
362  wxStaticText* GetStaticTextS_4() { return m_staticTextS_4; }
363  wxStaticText* GetStaticTextSubTq0() { return m_staticTextSubTq0; }
364  wxTextCtrl* GetTextCtrlSubTq0() { return m_textCtrlSubTq0; }
365  wxStaticText* GetStaticTextS_5() { return m_staticTextS_5; }
366  wxButton* GetButtonSwitching() { return m_buttonSwitching; }
367  wxButton* GetButtonOK() { return m_buttonOK; }
368  wxButton* GetButtonCancel() { return m_ButtonCancel; }
369  GeneratorStabFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Generator: Stability"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
370  virtual ~GeneratorStabFormBase();
371 };
372 
373 
374 class LineFormBase : public wxDialog
375 {
376 protected:
377  wxNotebook* m_notebook;
378  wxPanel* m_panelGeneral;
379  wxStaticText* m_staticTextName;
380  wxTextCtrl* m_textCtrlName;
381  wxStaticText* m_staticTextNominalVoltage;
382  wxStaticText* m_staticTextNominalVoltageValue;
383  wxStaticText* m_staticTextNominalPower;
384  wxTextCtrl* m_textCtrlNominalPower;
385  wxChoice* m_choiceNominalPower;
386  wxStaticText* m_staticTextResistance;
387  wxTextCtrl* m_textCtrlResistance;
388  wxChoice* m_choiceResistance;
389  wxStaticText* m_staticTextReactance;
390  wxTextCtrl* m_textCtrlReactance;
391  wxChoice* m_choiceReactance;
392  wxStaticText* m_staticTextSusceptance;
393  wxTextCtrl* m_textCtrlSusceptance;
394  wxChoice* m_choiceSusceptance;
395  wxStaticText* m_staticTextLineSize;
396  wxTextCtrl* m_textCtrlLineSize;
397  wxStaticText* m_staticTextKM;
398  wxCheckBox* m_checkUseLinePower;
399  wxPanel* m_panelFault;
400  wxStaticText* m_staticTextZeroResistance;
401  wxTextCtrl* m_textCtrlZeroResistance;
402  wxStaticText* m_staticTextZeroReactance;
403  wxTextCtrl* m_textCtrlZeroReactance;
404  wxStaticText* m_staticTextZeroSusceptance;
405  wxTextCtrl* m_textCtrlZeroSusceptance;
406  wxButton* m_buttonStability;
407  wxButton* m_buttonOK;
408  wxButton* m_buttonCancel;
409 
410 protected:
411  virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
412  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
413  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
414 
415 public:
416  wxStaticText* GetStaticTextName() { return m_staticTextName; }
417  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
418  wxStaticText* GetStaticTextNominalVoltage() { return m_staticTextNominalVoltage; }
419  wxStaticText* GetStaticTextNominalVoltageValue() { return m_staticTextNominalVoltageValue; }
420  wxStaticText* GetStaticTextNominalPower() { return m_staticTextNominalPower; }
421  wxTextCtrl* GetTextCtrlNominalPower() { return m_textCtrlNominalPower; }
422  wxChoice* GetChoiceNominalPower() { return m_choiceNominalPower; }
423  wxStaticText* GetStaticTextResistance() { return m_staticTextResistance; }
424  wxTextCtrl* GetTextCtrlResistance() { return m_textCtrlResistance; }
425  wxChoice* GetChoiceResistance() { return m_choiceResistance; }
426  wxStaticText* GetStaticTextReactance() { return m_staticTextReactance; }
427  wxTextCtrl* GetTextCtrlReactance() { return m_textCtrlReactance; }
428  wxChoice* GetChoiceReactance() { return m_choiceReactance; }
429  wxStaticText* GetStaticTextSusceptance() { return m_staticTextSusceptance; }
430  wxTextCtrl* GetTextCtrlSusceptance() { return m_textCtrlSusceptance; }
431  wxChoice* GetChoiceSusceptance() { return m_choiceSusceptance; }
432  wxStaticText* GetStaticTextLineSize() { return m_staticTextLineSize; }
433  wxTextCtrl* GetTextCtrlLineSize() { return m_textCtrlLineSize; }
434  wxStaticText* GetStaticTextKM() { return m_staticTextKM; }
435  wxCheckBox* GetCheckUseLinePower() { return m_checkUseLinePower; }
436  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
437  wxStaticText* GetStaticTextZeroResistance() { return m_staticTextZeroResistance; }
438  wxTextCtrl* GetTextCtrlZeroResistance() { return m_textCtrlZeroResistance; }
439  wxStaticText* GetStaticTextZeroReactance() { return m_staticTextZeroReactance; }
440  wxTextCtrl* GetTextCtrlZeroReactance() { return m_textCtrlZeroReactance; }
441  wxStaticText* GetStaticTextZeroSusceptance() { return m_staticTextZeroSusceptance; }
442  wxTextCtrl* GetTextCtrlZeroSusceptance() { return m_textCtrlZeroSusceptance; }
443  wxPanel* GetPanelFault() { return m_panelFault; }
444  wxNotebook* GetNotebook() { return m_notebook; }
445  wxButton* GetButtonStability() { return m_buttonStability; }
446  wxButton* GetButtonOK() { return m_buttonOK; }
447  wxButton* GetButtonCancel() { return m_buttonCancel; }
448  LineFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Line"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
449  virtual ~LineFormBase();
450 };
451 
452 
453 class TransformerFormBase : public wxDialog
454 {
455 protected:
456  wxNotebook* m_notebook;
457  wxPanel* m_panelGeneral;
458  wxStaticText* m_staticTextName;
459  wxTextCtrl* m_textCtrlName;
460  wxStaticText* m_staticTextNominalVoltage;
461  wxStaticText* m_staticTextNominalVoltageValue;
462  wxStaticText* m_staticTextBaseVoltage;
463  wxChoice* m_choiceBaseVoltage;
464  wxStaticText* m_staticTextNominalPower;
465  wxTextCtrl* m_textCtrlNominalPower;
466  wxChoice* m_choiceNominalPower;
467  wxStaticText* m_staticTextResistance;
468  wxTextCtrl* m_textCtrlResistance;
469  wxChoice* m_choiceResistance;
470  wxStaticText* m_staticTextReactance;
471  wxTextCtrl* m_textCtrlReactance;
472  wxChoice* m_choiceReactance;
473  wxStaticLine* m_staticLine_1;
474  wxStaticText* m_staticTextConnection;
475  wxChoice* m_choiceConnection;
476  wxStaticText* m_staticTextTurnsRatio;
477  wxTextCtrl* m_textCtrlTurnRatio;
478  wxStaticText* m_staticTextPhaseShift;
479  wxTextCtrl* m_textCtrlPhaseShift;
480  wxStaticText* m_staticTextDeg;
481  wxCheckBox* m_checkUseTransformerPower;
482  wxPanel* m_panelFault;
483  wxStaticText* m_staticTextZeroResistance;
484  wxTextCtrl* m_textCtrlZeroResistance;
485  wxStaticText* m_staticTextZeroReactance;
486  wxTextCtrl* m_textCtrlZeroReactance;
487  wxStaticText* m_staticTextPrimResistance;
488  wxTextCtrl* m_textCtrlPrimResistance;
489  wxStaticText* m_staticTextPrimReactance;
490  wxTextCtrl* m_textCtrlPrimReactance;
491  wxStaticText* m_staticTextSecResistance;
492  wxTextCtrl* m_textCtrlSecResistance;
493  wxStaticText* m_staticTextSecReactance;
494  wxTextCtrl* m_textCtrlSecReactance;
495  wxButton* m_buttonStability;
496  wxButton* m_buttonOK;
497  wxButton* m_buttonCancel;
498 
499 protected:
500  virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
501  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
502  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
503 
504 public:
505  wxStaticText* GetStaticTextName() { return m_staticTextName; }
506  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
507  wxStaticText* GetStaticTextNominalVoltage() { return m_staticTextNominalVoltage; }
508  wxStaticText* GetStaticTextNominalVoltageValue() { return m_staticTextNominalVoltageValue; }
509  wxStaticText* GetStaticTextBaseVoltage() { return m_staticTextBaseVoltage; }
510  wxChoice* GetChoiceBaseVoltage() { return m_choiceBaseVoltage; }
511  wxStaticText* GetStaticTextNominalPower() { return m_staticTextNominalPower; }
512  wxTextCtrl* GetTextCtrlNominalPower() { return m_textCtrlNominalPower; }
513  wxChoice* GetChoiceNominalPower() { return m_choiceNominalPower; }
514  wxStaticText* GetStaticTextResistance() { return m_staticTextResistance; }
515  wxTextCtrl* GetTextCtrlResistance() { return m_textCtrlResistance; }
516  wxChoice* GetChoiceResistance() { return m_choiceResistance; }
517  wxStaticText* GetStaticTextReactance() { return m_staticTextReactance; }
518  wxTextCtrl* GetTextCtrlReactance() { return m_textCtrlReactance; }
519  wxChoice* GetChoiceReactance() { return m_choiceReactance; }
520  wxStaticLine* GetStaticLine_1() { return m_staticLine_1; }
521  wxStaticText* GetStaticTextConnection() { return m_staticTextConnection; }
522  wxChoice* GetChoiceConnection() { return m_choiceConnection; }
523  wxStaticText* GetStaticTextTurnsRatio() { return m_staticTextTurnsRatio; }
524  wxTextCtrl* GetTextCtrlTurnRatio() { return m_textCtrlTurnRatio; }
525  wxStaticText* GetStaticTextPhaseShift() { return m_staticTextPhaseShift; }
526  wxTextCtrl* GetTextCtrlPhaseShift() { return m_textCtrlPhaseShift; }
527  wxStaticText* GetStaticTextDeg() { return m_staticTextDeg; }
528  wxCheckBox* GetCheckUseTransformerPower() { return m_checkUseTransformerPower; }
529  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
530  wxStaticText* GetStaticTextZeroResistance() { return m_staticTextZeroResistance; }
531  wxTextCtrl* GetTextCtrlZeroResistance() { return m_textCtrlZeroResistance; }
532  wxStaticText* GetStaticTextZeroReactance() { return m_staticTextZeroReactance; }
533  wxTextCtrl* GetTextCtrlZeroReactance() { return m_textCtrlZeroReactance; }
534  wxStaticText* GetStaticTextPrimResistance() { return m_staticTextPrimResistance; }
535  wxTextCtrl* GetTextCtrlPrimResistance() { return m_textCtrlPrimResistance; }
536  wxStaticText* GetStaticTextPrimReactance() { return m_staticTextPrimReactance; }
537  wxTextCtrl* GetTextCtrlPrimReactance() { return m_textCtrlPrimReactance; }
538  wxStaticText* GetStaticTextSecResistance() { return m_staticTextSecResistance; }
539  wxTextCtrl* GetTextCtrlSecResistance() { return m_textCtrlSecResistance; }
540  wxStaticText* GetStaticTextSecReactance() { return m_staticTextSecReactance; }
541  wxTextCtrl* GetTextCtrlSecReactance() { return m_textCtrlSecReactance; }
542  wxPanel* GetPanelFault() { return m_panelFault; }
543  wxNotebook* GetNotebook() { return m_notebook; }
544  wxButton* GetButtonStability() { return m_buttonStability; }
545  wxButton* GetButtonOK() { return m_buttonOK; }
546  wxButton* GetButtonCancel() { return m_buttonCancel; }
547  TransformerFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Transformer"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
548  virtual ~TransformerFormBase();
549 };
550 
551 
552 class LoadFormBase : public wxDialog
553 {
554 protected:
555  wxNotebook* m_notebook;
556  wxPanel* m_panelGeneral;
557  wxStaticText* m_staticTextName;
558  wxTextCtrl* m_textCtrlName;
559  wxStaticText* m_staticTextActivePower;
560  wxTextCtrl* m_textCtrlActivePower;
561  wxChoice* m_choiceActivePower;
562  wxStaticText* m_staticTextReactivePower;
563  wxTextCtrl* m_textCtrlReactivePower;
564  wxChoice* m_choiceReactivePower;
565  wxStaticText* m_staticTextType;
566  wxChoice* m_choiceType;
567  wxButton* m_buttonStabButton;
568  wxButton* m_buttonOK;
569  wxButton* m_ButtonCancel;
570 
571 protected:
572  virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
573  virtual void OnOnButtonClick(wxCommandEvent& event) { event.Skip(); }
574  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
575 
576 public:
577  wxStaticText* GetStaticTextName() { return m_staticTextName; }
578  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
579  wxStaticText* GetStaticTextActivePower() { return m_staticTextActivePower; }
580  wxTextCtrl* GetTextCtrlActivePower() { return m_textCtrlActivePower; }
581  wxChoice* GetChoiceActivePower() { return m_choiceActivePower; }
582  wxStaticText* GetStaticTextReactivePower() { return m_staticTextReactivePower; }
583  wxTextCtrl* GetTextCtrlReactivePower() { return m_textCtrlReactivePower; }
584  wxChoice* GetChoiceReactivePower() { return m_choiceReactivePower; }
585  wxStaticText* GetStaticTextType() { return m_staticTextType; }
586  wxChoice* GetChoiceType() { return m_choiceType; }
587  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
588  wxNotebook* GetNotebook() { return m_notebook; }
589  wxButton* GetButtonStabButton() { return m_buttonStabButton; }
590  wxButton* GetButtonOK() { return m_buttonOK; }
591  wxButton* GetButtonCancel() { return m_ButtonCancel; }
592  LoadFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Load"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
593  virtual ~LoadFormBase();
594 };
595 
596 
597 class ReactiveShuntElementFormBase : public wxDialog
598 {
599 protected:
600  wxNotebook* m_notebook;
601  wxPanel* m_panelGeneral;
602  wxStaticText* m_staticTextName;
603  wxTextCtrl* m_textCtrlName;
604  wxStaticText* m_staticTextReactivePower;
605  wxTextCtrl* m_textCtrlReactivePower;
606  wxChoice* m_choiceReactivePower;
607  wxButton* m_buttonStabButton;
608  wxButton* m_buttonOK;
609  wxButton* m_buttonCancel;
610 
611 protected:
612  virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
613  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
614  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
615 
616 public:
617  wxStaticText* GetStaticTextName() { return m_staticTextName; }
618  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
619  wxStaticText* GetStaticTextReactivePower() { return m_staticTextReactivePower; }
620  wxTextCtrl* GetTextCtrlReactivePower() { return m_textCtrlReactivePower; }
621  wxChoice* GetChoiceReactivePower() { return m_choiceReactivePower; }
622  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
623  wxNotebook* GetNotebook() { return m_notebook; }
624  wxButton* GetButtonStabButton() { return m_buttonStabButton; }
625  wxButton* GetButtonOK() { return m_buttonOK; }
626  wxButton* GetButtonCancel() { return m_buttonCancel; }
627  ReactiveShuntElementFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Reactive shunt element"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
628  virtual ~ReactiveShuntElementFormBase();
629 };
630 
631 
632 class SwitchingFormBase : public wxDialog
633 {
634 protected:
635  wxPropertyGridManager* m_pgMgrSwitchingsProp;
636  wxPGProperty* m_pgPropTitle;
637  wxPGProperty* m_pgPropType;
638  wxPGProperty* m_pgPropTime;
639  wxButton* m_buttonInsert;
640  wxButton* m_buttonRemove;
641  wxButton* m_buttonUp;
642  wxButton* m_buttonDown;
643  wxStaticText* m_staticTextSwList;
644  wxListCtrl* m_listCtrlSwitchings;
645  wxButton* m_buttonOK;
646  wxButton* m_buttonCancel;
647 
648 protected:
649  virtual void OnChangeProperties(wxPropertyGridEvent& event) { event.Skip(); }
650  virtual void OnInsertButtonClick(wxCommandEvent& event) { event.Skip(); }
651  virtual void OnRemoveButtonClick(wxCommandEvent& event) { event.Skip(); }
652  virtual void OnUpButtonClick(wxCommandEvent& event) { event.Skip(); }
653  virtual void OnDownButtonClick(wxCommandEvent& event) { event.Skip(); }
654  virtual void OnSelectItem(wxListEvent& event) { event.Skip(); }
655  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
656  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
657 
658 public:
659  wxPropertyGridManager* GetPgMgrSwitchingsProp() { return m_pgMgrSwitchingsProp; }
660  wxButton* GetButtonInsert() { return m_buttonInsert; }
661  wxButton* GetButtonRemove() { return m_buttonRemove; }
662  wxButton* GetButtonUp() { return m_buttonUp; }
663  wxButton* GetButtonDown() { return m_buttonDown; }
664  wxStaticText* GetStaticTextSwList() { return m_staticTextSwList; }
665  wxListCtrl* GetListCtrlSwitchings() { return m_listCtrlSwitchings; }
666  wxButton* GetButtonOK() { return m_buttonOK; }
667  wxButton* GetButtonCancel() { return m_buttonCancel; }
668  SwitchingFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Switching"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
669  virtual ~SwitchingFormBase();
670 };
671 
672 
673 class IndMotorFormBase : public wxDialog
674 {
675 protected:
676  wxNotebook* m_notebook;
677  wxPanel* m_panelGeneral;
678  wxStaticText* m_staticTextName;
679  wxTextCtrl* m_textCtrlName;
680  wxStaticText* m_staticTextActivePower;
681  wxTextCtrl* m_textCtrlActivePower;
682  wxChoice* m_choiceActivePower;
683  wxStaticText* m_staticTextReactivePower;
684  wxTextCtrl* m_textCtrlReactivePower;
685  wxChoice* m_choiceReactivePower;
686  wxButton* m_buttonStabButton;
687  wxButton* m_buttonOK;
688  wxButton* m_ButtonCancel;
689 
690 protected:
691  virtual void OnStabilityButtonClick(wxCommandEvent& event) { event.Skip(); }
692  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
693  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
694 
695 public:
696  wxStaticText* GetStaticTextName() { return m_staticTextName; }
697  wxTextCtrl* GetTextCtrlName() { return m_textCtrlName; }
698  wxStaticText* GetStaticTextActivePower() { return m_staticTextActivePower; }
699  wxTextCtrl* GetTextCtrlActivePower() { return m_textCtrlActivePower; }
700  wxChoice* GetChoiceActivePower() { return m_choiceActivePower; }
701  wxStaticText* GetStaticTextReactivePower() { return m_staticTextReactivePower; }
702  wxTextCtrl* GetTextCtrlReactivePower() { return m_textCtrlReactivePower; }
703  wxChoice* GetChoiceReactivePower() { return m_choiceReactivePower; }
704  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
705  wxNotebook* GetNotebook() { return m_notebook; }
706  wxButton* GetButtonStabButton() { return m_buttonStabButton; }
707  wxButton* GetButtonOK() { return m_buttonOK; }
708  wxButton* GetButtonCancel() { return m_ButtonCancel; }
709  IndMotorFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Motor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
710  virtual ~IndMotorFormBase();
711 };
712 
713 
714 class TextFormBase : public wxDialog
715 {
716 protected:
717  wxNotebook* m_notebook;
718  wxPanel* m_panelGeneral;
719  wxStaticText* m_staticTextElement;
720  wxChoice* m_choiceElement;
721  wxStaticText* m_staticTextName;
722  wxChoice* m_choiceName;
723  wxStaticText* m_staticTextType;
724  wxChoice* m_choiceTextType;
725  wxStaticText* m_staticTextFromBus;
726  wxChoice* m_choiceTextFromBus;
727  wxStaticText* m_staticTextToBus;
728  wxChoice* m_choiceTextToBus;
729  wxStaticText* m_staticTextUnit;
730  wxChoice* m_choiceTextUnit;
731  wxStaticText* m_staticTextDecimal;
732  wxTextCtrl* m_textCtrlDecimal;
733  wxStaticText* m_staticTextPreview;
734  wxTextCtrl* m_textCtrlPreview;
735  wxButton* m_buttonOK;
736  wxButton* m_ButtonCancel;
737 
738 protected:
739  virtual void OnElementChoiceSelected(wxCommandEvent& event) { event.Skip(); }
740  virtual void OnNameChoiceSelected(wxCommandEvent& event) { event.Skip(); }
741  virtual void OnTypeChoiceSelected(wxCommandEvent& event) { event.Skip(); }
742  virtual void OnFromBusChoiceSelected(wxCommandEvent& event) { event.Skip(); }
743  virtual void OnToBusChoiceSelected(wxCommandEvent& event) { event.Skip(); }
744  virtual void OnUnitChoiceSelected(wxCommandEvent& event) { event.Skip(); }
745  virtual void OnTextEnter(wxCommandEvent& event) { event.Skip(); }
746  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
747  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
748 
749 public:
750  wxStaticText* GetStaticTextElement() { return m_staticTextElement; }
751  wxChoice* GetChoiceElement() { return m_choiceElement; }
752  wxStaticText* GetStaticTextName() { return m_staticTextName; }
753  wxChoice* GetChoiceName() { return m_choiceName; }
754  wxStaticText* GetStaticTextType() { return m_staticTextType; }
755  wxChoice* GetChoiceTextType() { return m_choiceTextType; }
756  wxStaticText* GetStaticTextFromBus() { return m_staticTextFromBus; }
757  wxChoice* GetChoiceTextFromBus() { return m_choiceTextFromBus; }
758  wxStaticText* GetStaticTextToBus() { return m_staticTextToBus; }
759  wxChoice* GetChoiceTextToBus() { return m_choiceTextToBus; }
760  wxStaticText* GetStaticTextUnit() { return m_staticTextUnit; }
761  wxChoice* GetChoiceTextUnit() { return m_choiceTextUnit; }
762  wxStaticText* GetStaticTextDecimal() { return m_staticTextDecimal; }
763  wxTextCtrl* GetTextCtrlDecimal() { return m_textCtrlDecimal; }
764  wxStaticText* GetStaticTextPreview() { return m_staticTextPreview; }
765  wxTextCtrl* GetTextCtrlPreview() { return m_textCtrlPreview; }
766  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
767  wxNotebook* GetNotebook() { return m_notebook; }
768  wxButton* GetButtonOK() { return m_buttonOK; }
769  wxButton* GetButtonCancel() { return m_ButtonCancel; }
770  TextFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Text"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
771  virtual ~TextFormBase();
772 };
773 
774 
775 class TransferFunctionFormBase : public wxDialog
776 {
777 protected:
778  wxNotebook* m_notebook;
779  wxPanel* m_panelGeneral;
780  wxStaticText* m_staticTextNumerator;
781  wxTextCtrl* m_textCtrlNumerator;
782  wxStaticText* m_staticTextDenominator;
783  wxTextCtrl* m_textCtrlDenominator;
784  wxButton* m_buttonOK;
785  wxButton* m_ButtonCancel;
786 
787 protected:
788  virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); }
789  virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); }
790 
791 public:
792  wxStaticText* GetStaticTextNumerator() { return m_staticTextNumerator; }
793  wxTextCtrl* GetTextCtrlNumerator() { return m_textCtrlNumerator; }
794  wxStaticText* GetStaticTextDenominator() { return m_staticTextDenominator; }
795  wxTextCtrl* GetTextCtrlDenominator() { return m_textCtrlDenominator; }
796  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
797  wxNotebook* GetNotebook() { return m_notebook; }
798  wxButton* GetButtonOK() { return m_buttonOK; }
799  wxButton* GetButtonCancel() { return m_ButtonCancel; }
800  TransferFunctionFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Transfer function"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
801  virtual ~TransferFunctionFormBase();
802 };
803 
804 
805 class SumFormBase : public wxDialog
806 {
807 protected:
808  wxNotebook* m_notebook;
809  wxPanel* m_panelGeneral;
810  wxStaticText* m_staticTextSigns;
811  wxTextCtrl* m_textCtrlSigns;
812  wxButton* m_buttonOK;
813  wxButton* m_ButtonCancel;
814 
815 protected:
816  virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); }
817  virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); }
818 
819 public:
820  wxStaticText* GetStaticTextSigns() { return m_staticTextSigns; }
821  wxTextCtrl* GetTextCtrlSigns() { return m_textCtrlSigns; }
822  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
823  wxNotebook* GetNotebook() { return m_notebook; }
824  wxButton* GetButtonOK() { return m_buttonOK; }
825  wxButton* GetButtonCancel() { return m_ButtonCancel; }
826  SumFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Sum"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
827  virtual ~SumFormBase();
828 };
829 
830 
831 class LimiterFormBase : public wxDialog
832 {
833 protected:
834  wxNotebook* m_notebook;
835  wxPanel* m_panelGeneral;
836  wxStaticText* m_staticTextUpLimiter;
837  wxTextCtrl* m_textCtrlUpLimit;
838  wxStaticText* m_staticTextLowLimit;
839  wxTextCtrl* m_textCtrlLowLimit;
840  wxButton* m_buttonOK;
841  wxButton* m_ButtonCancel;
842 
843 protected:
844  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
845  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
846 
847 public:
848  wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; }
849  wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; }
850  wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; }
851  wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; }
852  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
853  wxNotebook* GetNotebook() { return m_notebook; }
854  wxButton* GetButtonOK() { return m_buttonOK; }
855  wxButton* GetButtonCancel() { return m_ButtonCancel; }
856  LimiterFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Limiter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
857  virtual ~LimiterFormBase();
858 };
859 
860 
861 class RateLimiterFormBase : public wxDialog
862 {
863 protected:
864  wxNotebook* m_notebook;
865  wxPanel* m_panelGeneral;
866  wxStaticText* m_staticTextUpLimiter;
867  wxTextCtrl* m_textCtrlUpLimit;
868  wxStaticText* m_staticTextLowLimit;
869  wxTextCtrl* m_textCtrlLowLimit;
870  wxButton* m_buttonOK;
871  wxButton* m_ButtonCancel;
872 
873 protected:
874  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
875  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
876 
877 public:
878  wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; }
879  wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; }
880  wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; }
881  wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; }
882  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
883  wxNotebook* GetNotebook() { return m_notebook; }
884  wxButton* GetButtonOK() { return m_buttonOK; }
885  wxButton* GetButtonCancel() { return m_ButtonCancel; }
886  RateLimiterFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Rate limiter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
887  virtual ~RateLimiterFormBase();
888 };
889 
890 
891 class ExponentialFormBase : public wxDialog
892 {
893 protected:
894  wxNotebook* m_notebook;
895  wxPanel* m_panelGeneral;
896  wxStaticText* m_staticTextExp;
897  wxStaticText* m_staticTextAValue;
898  wxTextCtrl* m_textCtrlAValue;
899  wxStaticText* m_staticTextBValue;
900  wxTextCtrl* m_textCtrlBValue;
901  wxButton* m_buttonOK;
902  wxButton* m_buttonCancel;
903 
904 protected:
905  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
906  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
907 
908 public:
909  wxStaticText* GetStaticTextExp() { return m_staticTextExp; }
910  wxStaticText* GetStaticTextAValue() { return m_staticTextAValue; }
911  wxTextCtrl* GetTextCtrlAValue() { return m_textCtrlAValue; }
912  wxStaticText* GetStaticTextBValue() { return m_staticTextBValue; }
913  wxTextCtrl* GetTextCtrlBValue() { return m_textCtrlBValue; }
914  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
915  wxNotebook* GetNotebook() { return m_notebook; }
916  wxButton* GetButtonOK() { return m_buttonOK; }
917  wxButton* GetButtonCancel() { return m_buttonCancel; }
918  ExponentialFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Exponential"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
919  virtual ~ExponentialFormBase();
920 };
921 
922 
923 class ConstantFormBase : public wxDialog
924 {
925 protected:
926  wxNotebook* m_notebook;
927  wxPanel* m_panelGeneral;
928  wxStaticText* m_staticTextValue;
929  wxTextCtrl* m_textCtrlValue;
930  wxButton* m_buttonOK;
931  wxButton* m_buttonCancel;
932 
933 protected:
934  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
935  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
936 
937 public:
938  wxStaticText* GetStaticTextValue() { return m_staticTextValue; }
939  wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; }
940  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
941  wxNotebook* GetNotebook() { return m_notebook; }
942  wxButton* GetButtonOK() { return m_buttonOK; }
943  wxButton* GetButtonCancel() { return m_buttonCancel; }
944  ConstantFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Constant"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
945  virtual ~ConstantFormBase();
946 };
947 
948 
949 class GainFormBase : public wxDialog
950 {
951 protected:
952  wxNotebook* m_notebook;
953  wxPanel* m_panelGeneral;
954  wxStaticText* m_staticTextValue;
955  wxTextCtrl* m_textCtrlValue;
956  wxButton* m_buttonOK;
957  wxButton* m_buttonCancel;
958 
959 protected:
960  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
961  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
962 
963 public:
964  wxStaticText* GetStaticTextValue() { return m_staticTextValue; }
965  wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; }
966  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
967  wxNotebook* GetNotebook() { return m_notebook; }
968  wxButton* GetButtonOK() { return m_buttonOK; }
969  wxButton* GetButtonCancel() { return m_buttonCancel; }
970  GainFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Gain"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
971  virtual ~GainFormBase();
972 };
973 
974 
975 class IOControlFormBase : public wxDialog
976 {
977 protected:
978  wxNotebook* m_notebook;
979  wxPanel* m_panelGeneral;
980  wxCheckBox* m_checkBoxInput;
981  wxChoice* m_choiceInput;
982  wxCheckBox* m_checkBoxOutput;
983  wxChoice* m_choiceOutput;
984  wxButton* m_buttonOK;
985  wxButton* m_ButtonCancel;
986 
987 protected:
988  virtual void OnInputChecked(wxCommandEvent& event) { event.Skip(); }
989  virtual void OnOutputChecked(wxCommandEvent& event) { event.Skip(); }
990  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
991  virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
992 
993 public:
994  wxCheckBox* GetCheckBoxInput() { return m_checkBoxInput; }
995  wxChoice* GetChoiceInput() { return m_choiceInput; }
996  wxCheckBox* GetCheckBoxOutput() { return m_checkBoxOutput; }
997  wxChoice* GetChoiceOutput() { return m_choiceOutput; }
998  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
999  wxNotebook* GetNotebook() { return m_notebook; }
1000  wxButton* GetButtonOK() { return m_buttonOK; }
1001  wxButton* GetButtonCancel() { return m_ButtonCancel; }
1002  IOControlFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Input / Output"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
1003  virtual ~IOControlFormBase();
1004 };
1005 
1006 #endif
Definition: ElementForm.h:975
+
Definition: ElementForm.h:374
+
Definition: ElementForm.h:148
+
Definition: ElementForm.h:597
+
Definition: ElementForm.h:673
+
Definition: ElementForm.h:49
+
Definition: ElementForm.h:632
+
Definition: ElementForm.h:891
+
Definition: ElementForm.h:949
+
Definition: ElementForm.h:453
+
Definition: ElementForm.h:831
+
Definition: ElementForm.h:775
+
Definition: ElementForm.h:923
+
Definition: ElementForm.h:861
+
Definition: ElementForm.h:247
+
Definition: ElementForm.h:552
+
Definition: ElementForm.h:805
+
Definition: ElementForm.h:714
+
+ + + + diff --git a/docs/doxygen/html/_element_plot_data_8h_source.html b/docs/doxygen/html/_element_plot_data_8h_source.html new file mode 100644 index 0000000..b1a0ece --- /dev/null +++ b/docs/doxygen/html/_element_plot_data_8h_source.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Project/ElementPlotData.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ElementPlotData.h
+
+
+
1 #ifndef ELEMENTPLOTDATA_H
2 #define ELEMENTPLOTDATA_H
3 
4 #include <wx/treectrl.h>
5 #include <wx/colour.h>
6 #include <wx/pen.h>
7 
8 #include <vector>
9 
10 class PlotData : public wxTreeItemData
11 {
12  public:
13  PlotData() {}
14  ~PlotData() {}
15  void SetAxis(int axis) { m_axis = axis; }
16  void SetColour(const wxColour& colour) { m_colour = colour; }
17  void SetName(const wxString& name) { m_name = name; }
18  void SetPenType(const wxPenStyle& penType) { m_penType = penType; }
19  void SetPlot(bool plot) { m_plot = plot; }
20  void SetThick(int thick) { m_thick = thick; }
21  void SetValues(const std::vector<double>& values) { m_values = values; }
22  int GetAxis() const { return m_axis; }
23  wxColour GetColour() const { return m_colour; }
24  wxString GetName() const { return m_name; }
25  wxPenStyle GetPenType() const { return m_penType; }
26  bool IsPlot() const { return m_plot; }
27  int GetThick() const { return m_thick; }
28  std::vector<double> GetValues() const { return m_values; }
29  protected:
30  std::vector<double> m_values;
31  wxString m_name;
32  bool m_plot;
33  wxColour m_colour;
34  int m_thick;
35  wxPenStyle m_penType;
36  int m_axis;
37 };
38 
40 {
41  public:
42  enum CurveType {
43  CT_BUS = 0,
44  CT_SYNC_GENERATOR,
45  CT_SYNC_COMPENSATOR,
46  CT_TRANSFORMER,
47  CT_LINE,
48  CT_IND_MOTOR,
49  CT_SHUNT_INDUCTOR,
50  CT_SHUNT_CAPACITOR,
51  CT_LOAD,
52  CT_TEST,
53  NUM_ELEMENTS,
54  CT_TIME
55  };
56  ElementPlotData() {};
57  ElementPlotData(wxString name, CurveType curveType);
58  ~ElementPlotData();
59 
60  wxString GetName() const { return m_name; }
61  void SetName(wxString name) { m_name = name; }
62  CurveType GetCurveType() const { return m_curveType; }
63  void SetCurveType(CurveType type) { m_curveType = type; }
64  PlotData* GetPlotData(int index) const { return m_elementData[index]; }
65  void AddData(std::vector<double> values, wxString name);
66 
67  int GetElementDataNumber() const { return static_cast<int>(m_elementData.size()); }
68  std::vector<double> GetValues(int index) const { return m_elementData[index]->GetValues(); }
69  void SetValues(int index, std::vector<double> values) { m_elementData[index]->SetValues(values); }
70  void SetPlot(int index, bool plot = true) { m_elementData[index]->SetPlot(plot); }
71  wxString GetDataName(int index) const { return m_elementData[index]->GetName(); }
72  void SetDataName(int index, wxString name) { m_elementData[index]->SetName(name); }
73  wxColour GetColour(int index) const { return m_elementData[index]->GetColour(); }
74  void SetColour(int index, wxColour colour) { m_elementData[index]->SetColour(colour); }
75  int GetThick(int index) const { return m_elementData[index]->GetThick(); }
76  void SetThick(int index, int thick) { m_elementData[index]->SetThick(thick); }
77  wxPenStyle GetPenType(int index) const { return m_elementData[index]->GetPenType(); }
78  void SetPenType(int index, wxPenStyle penType) { m_elementData[index]->SetPenType(penType); }
79  int GetAxis(int index) const { return m_elementData[index]->GetAxis(); }
80  void SetAxis(int index, int axis) { m_elementData[index]->SetAxis(axis); }
81  protected:
82  wxString m_name;
83  CurveType m_curveType;
84  std::vector<PlotData*> m_elementData;
85 };
86 
87 #endif // ELEMENTPLOTDATA_H
Definition: ElementPlotData.h:39
+
Definition: ElementPlotData.h:10
+
+ + + + diff --git a/docs/doxygen/html/_exponential_8h_source.html b/docs/doxygen/html/_exponential_8h_source.html new file mode 100644 index 0000000..e934622 --- /dev/null +++ b/docs/doxygen/html/_exponential_8h_source.html @@ -0,0 +1,90 @@ + + + + + + + +PSP-UFU: Project/Exponential.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Exponential.h
+
+
+
1 #ifndef EXPONENTIAL_H
2 #define EXPONENTIAL_H
3 
4 #include "ControlElement.h"
5 
6 class ExponentialForm;
7 
8 class Exponential : public ControlElement
9 {
10 public:
11  Exponential(int id);
12  ~Exponential();
13 
14  virtual void Draw(wxPoint2DDouble translation, double scale) const;
15  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
16  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
17  virtual bool ShowForm(wxWindow* parent, Element* element);
18  virtual void Rotate(bool clockwise = true);
19 
20  virtual void UpdatePoints();
21 
22  virtual void GetValues(double& aValue, double &bValue);
23  virtual void SetValues(double aValue, double bValue);
24 
25  virtual bool Solve(double input, double timeStep);
26 
27  virtual Element* GetCopy();
28 
29 protected:
30  double m_aValue = 0.001;
31  double m_bValue = 5.0;
32 
33 };
34 
35 #endif // EXPONENTIAL_H
Definition: Element.h:88
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Exponential.h:15
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Exponential.cpp:67
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Exponential.cpp:56
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Exponential.cpp:17
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Exponential.cpp:121
+
Definition: Exponential.h:8
+
Definition: ExponentialForm.h:7
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Exponential.h:16
+
Definition: ControlElement.h:53
+
+ + + + diff --git a/docs/doxygen/html/_exponential_form_8h_source.html b/docs/doxygen/html/_exponential_form_8h_source.html new file mode 100644 index 0000000..39550c7 --- /dev/null +++ b/docs/doxygen/html/_exponential_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/ExponentialForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ExponentialForm.h
+
+
+
1 #ifndef EXPONENTIALFORM_H
2 #define EXPONENTIALFORM_H
3 #include "ElementForm.h"
4 
5 class Exponential;
6 
8 {
9  public:
10  ExponentialForm(wxWindow* parent, Exponential* exponential);
11  virtual ~ExponentialForm();
12  virtual bool ValidateData();
13 
14  protected:
15  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
16  virtual void OnOKButtonClick(wxCommandEvent& event);
17 
18  wxWindow* m_parent = NULL;
19  Exponential* m_exponential = NULL;
20 };
21 #endif // EXPONENTIALFORM_H
Definition: ElementForm.h:891
+
Definition: Exponential.h:8
+
Definition: ExponentialForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_fault_8h.html b/docs/doxygen/html/_fault_8h.html new file mode 100644 index 0000000..4ba4364 --- /dev/null +++ b/docs/doxygen/html/_fault_8h.html @@ -0,0 +1,96 @@ + + + + + + + +PSP-UFU: Project/Fault.h File Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
Fault.h File Reference
+
+
+ +

Calculate the fault of the system and update the elements data. +More...

+ +

Go to the source code of this file.

+ + + + +

+Classes

class  Fault
 
+

Detailed Description

+

Calculate the fault of the system and update the elements data.

+
+ + + + diff --git a/docs/doxygen/html/_fault_8h_source.html b/docs/doxygen/html/_fault_8h_source.html new file mode 100644 index 0000000..5a8c2b3 --- /dev/null +++ b/docs/doxygen/html/_fault_8h_source.html @@ -0,0 +1,89 @@ + + + + + + + +PSP-UFU: Project/Fault.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Fault.h
+
+
+Go to the documentation of this file.
1 #ifndef FAULT_H
2 #define FAULT_H
3 
4 #include "ElectricCalculation.h"
13 class Fault : public ElectricCalculation
14 {
15 public:
20  Fault(std::vector<Element*> elementList);
21 
25  Fault();
26 
30  ~Fault();
31 
36  virtual bool RunFaultCalculation(double systemPowerBase);
37 
42  virtual bool RunSCPowerCalcutation(double systemPowerBase);
43 
48  virtual void UpdateElementsFault(double systemPowerBase);
49 
54  virtual wxString GetErrorMessage() { return m_errorMsg; }
55 
56 protected:
57  wxString m_errorMsg = "";
58 
59  double m_systemPowerBase;
60 
61  std::vector<std::vector<std::complex<double> > > m_zBusPos;
62  std::vector<std::vector<std::complex<double> > > m_zBusNeg;
63  std::vector<std::vector<std::complex<double> > > m_zBusZero;
64 
65  std::vector<std::complex<double> > m_posFaultVoltagePos;
66  std::vector<std::complex<double> > m_posFaultVoltageNeg;
67  std::vector<std::complex<double> > m_posFaultVoltageZero;
68 
69  std::complex<double> m_fCurrentA;
70  std::complex<double> m_fCurrentB;
71  std::complex<double> m_fCurrentC;
72 
73  std::vector<std::complex<double> > m_posFaultVoltageA;
74  std::vector<std::complex<double> > m_posFaultVoltageB;
75  std::vector<std::complex<double> > m_posFaultVoltageC;
76 };
77 
78 #endif // FAULT_H
Base class of electric calculations, with general methods.
+
virtual wxString GetErrorMessage()
Get the error message generated in RunFaultCalculation(double systemPowerBase).
Definition: Fault.h:54
+
virtual bool RunFaultCalculation(double systemPowerBase)
Calculate the fault of the system. Return true if was possible the calculation.
Definition: Fault.cpp:9
+
Fault()
Default contructor. Use GetElementsFromList(std::vector<Element*> elementList).
Definition: Fault.cpp:6
+
Definition: Fault.h:13
+
virtual bool RunSCPowerCalcutation(double systemPowerBase)
Calculate the short-circuit power of the system. Return true if was possible the calculation.
Definition: Fault.cpp:382
+
~Fault()
Destructor.
Definition: Fault.cpp:8
+
Definition: ElectricCalculation.h:49
+
virtual void UpdateElementsFault(double systemPowerBase)
Update the data of the elements.
Definition: Fault.cpp:176
+
+ + + + diff --git a/docs/doxygen/html/_file_handing_8h_source.html b/docs/doxygen/html/_file_handing_8h_source.html new file mode 100644 index 0000000..61a4c34 --- /dev/null +++ b/docs/doxygen/html/_file_handing_8h_source.html @@ -0,0 +1,86 @@ + + + + + + + +PSP-UFU: Project/FileHanding.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
FileHanding.h
+
+
+
1 #ifndef FILEHANDING_H
2 #define FILEHANDING_H
3 
4 #include <wx/string.h>
5 #include <fstream>
6 #include <sstream>
7 
8 #include "Workspace.h"
9 #include "ControlEditor.h"
10 #include "ControlElementContainer.h"
11 #include "ElectricCalculation.h"
12 #include "Text.h"
13 
14 #include "rapidXML/rapidxml.hpp"
15 // Modified: http://stackoverflow.com/questions/14113923/rapidxml-print-header-has-undefined-methods
16 #include "rapidXML/rapidxml_print.hpp"
17 #include "rapidXML/rapidxml_utils.hpp"
18 
20 {
21 public:
22  FileHanding();
23  FileHanding(Workspace* workspace);
24  FileHanding(ControlEditor* controlEditor);
25  ~FileHanding();
26 
27  void SetWorkspace(Workspace* workspace) { m_workspace = workspace; }
28  void SetControlEditor(ControlEditor* controlEditor) { m_controlEditor = controlEditor; }
29 
30  void SaveProject(wxFileName path);
31  bool OpenProject(wxFileName path);
32 
33  void SaveControl(wxFileName path);
34  bool OpenControl(wxFileName path, std::vector<ControlElement*>& ctrlElementList, std::vector<ConnectionLine*>& ctrlConnectionList);
35 
36  void SaveControlElements(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementsNode, ControlElementContainer* ctrlContainer = NULL);
37  bool OpenControlElements(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* elementsNode, ControlElementContainer* ctrlContainer = NULL);
38 
39 protected:
40  Workspace* m_workspace = NULL;
41  ControlEditor* m_controlEditor = NULL;
42 
43  rapidxml::xml_node<>* AppendNode(rapidxml::xml_document<>& doc,
44  rapidxml::xml_node<>* parentNode,
45  const char* name,
46  rapidxml::node_type nodeType = rapidxml::node_element);
47  void SetNodeValue(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* node, wxString value);
48  void SetNodeValue(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* node, int value);
49  void SetNodeValue(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* node, double value);
50  void SetNodeAttribute(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* node, const char* atrName, wxString value);
51  void SetNodeAttribute(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* node, const char* atrName, int value);
52  void SetNodeAttribute(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* node, const char* atrName, double value);
53  double GetNodeValueDouble(rapidxml::xml_node<>* parent, const char* nodeName);
54  int GetNodeValueInt(rapidxml::xml_node<>* parent, const char* nodeName);
55  int GetAttributeValueInt(rapidxml::xml_node<>* parent, const char* nodeName, const char* atrName);
56  int GetAttributeValueInt(rapidxml::xml_node<>* node, const char* atrName);
57 
58  void SaveControlNodes(rapidxml::xml_document<>& doc, rapidxml::xml_node<>* nodesN, std::vector<Node*> nodeList);
59  ControlElement* GetControlElementFromID(std::vector<ControlElement*> elementList, int id);
60  bool OpenControlNodeList(rapidxml::xml_node<>* elementNode, std::vector<Node*>& nodeVector);
61 };
62 
63 #endif // FILEHANDING_H
Definition: FileHanding.h:19
+
Base class of electric calculations, with general methods.
+
Definition: ControlElementContainer.h:20
+
Definition: ControlEditor.h:67
+
Definition: ControlElement.h:53
+
Definition: Workspace.h:56
+
+ + + + diff --git a/docs/doxygen/html/_gain_8h_source.html b/docs/doxygen/html/_gain_8h_source.html new file mode 100644 index 0000000..26ed5a0 --- /dev/null +++ b/docs/doxygen/html/_gain_8h_source.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: Project/Gain.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Gain.h
+
+
+
1 #ifndef GAIN_H
2 #define GAIN_H
3 
4 #include "ControlElement.h"
5 
6 #include <wx/dcscreen.h>
7 #include "wxGLString.h"
8 
9 class GainForm;
10 
11 class Gain : public ControlElement
12 {
13  public:
14  Gain(int id);
15  ~Gain();
16 
17  virtual void Draw(wxPoint2DDouble translation, double scale) const;
18  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
19  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
20  virtual bool ShowForm(wxWindow* parent, Element* element);
21  virtual void Rotate(bool clockwise = true);
22  virtual void Move(wxPoint2DDouble position);
23  virtual void UpdateText() { SetValue(m_value); }
24  virtual void SetValue(double value);
25  virtual double GetValue() const { return m_value; }
26  virtual void UpdatePoints();
27 
28  virtual bool Solve(double input, double timeStep);
29 
30  virtual Element* GetCopy();
31 
32  protected:
33  double m_value = 1.0;
34 
35  wxGLString* m_glStringValue = NULL;
36  int m_fontSize = 10;
37 
38  std::vector<wxPoint2DDouble> m_triPts;
39 };
40 
41 #endif // GAIN_H
virtual void Move(wxPoint2DDouble position)
Move the element other position.
Definition: Gain.cpp:165
+
Definition: Element.h:88
+
Definition: Gain.h:11
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Gain.cpp:177
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Gain.h:19
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Gain.cpp:71
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Gain.cpp:82
+
Definition: GainForm.h:7
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Gain.h:18
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Gain.cpp:18
+
Definition: ControlElement.h:53
+
Definition: wxGLString.h:77
+
+ + + + diff --git a/docs/doxygen/html/_gain_form_8h_source.html b/docs/doxygen/html/_gain_form_8h_source.html new file mode 100644 index 0000000..d6dfff1 --- /dev/null +++ b/docs/doxygen/html/_gain_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/GainForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
GainForm.h
+
+
+
1 #ifndef GAINFORM_H
2 #define GAINFORM_H
3 #include "ElementForm.h"
4 
5 class Gain;
6 
7 class GainForm : public GainFormBase
8 {
9  public:
10  GainForm(wxWindow* parent, Gain* gain);
11  virtual ~GainForm();
12 
13  virtual bool ValidateData();
14 
15  protected:
16  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
17  virtual void OnOKButtonClick(wxCommandEvent& event);
18 
19  wxWindow* m_parent;
20  Gain* m_gain;
21 };
22 #endif // GAINFORM_H
Definition: Gain.h:11
+
Definition: ElementForm.h:949
+
Definition: GainForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_general_properties_form_8h_source.html b/docs/doxygen/html/_general_properties_form_8h_source.html new file mode 100644 index 0000000..b2c3b1e --- /dev/null +++ b/docs/doxygen/html/_general_properties_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/GeneralPropertiesForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
GeneralPropertiesForm.h
+
+
+
1 #ifndef GENERALPROPERTIESFORM_H
2 #define GENERALPROPERTIESFORM_H
3 
4 #include "PropertiesForm.h"
5 
6 #include <wx/textfile.h>
7 #include <wx/msgdlg.h>
8 
9 class PropertiesData;
10 
12 {
13 public:
14  GeneralPropertiesForm(wxWindow* parent, PropertiesData* properties);
15  virtual ~GeneralPropertiesForm();
16 
17 protected:
18  virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
19  virtual void OnButtonOKClick(wxCommandEvent& event);
20  virtual bool ValidateData();
21 
22  PropertiesData* m_properties = NULL;
23 };
24 #endif // GENERALPROPERTIESFORM_H
Definition: PropertiesData.h:40
+
Definition: GeneralPropertiesForm.h:11
+
Definition: PropertiesForm.h:48
+
+ + + + diff --git a/docs/doxygen/html/_generator_stab_form_8h_source.html b/docs/doxygen/html/_generator_stab_form_8h_source.html new file mode 100644 index 0000000..316d9f3 --- /dev/null +++ b/docs/doxygen/html/_generator_stab_form_8h_source.html @@ -0,0 +1,86 @@ + + + + + + + +PSP-UFU: Project/GeneratorStabForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
GeneratorStabForm.h
+
+
+
1 #ifndef GENERATORSTABFORM_H
2 #define GENERATORSTABFORM_H
3 
4 #include "ElementForm.h"
5 
6 class SwitchingForm;
7 class SyncGenerator;
8 class ControlEditor;
10 
12 {
13  public:
14  GeneratorStabForm(wxWindow* parent, SyncGenerator* syncGenerator);
15  virtual ~GeneratorStabForm();
16 
17  protected:
18  virtual void UseAVRClick(wxCommandEvent& event);
19  virtual void UseSGClick(wxCommandEvent& event);
20  virtual void OnCancelButtonClick(wxCommandEvent& event);
21  virtual void OnEditAVRButtonClick(wxCommandEvent& event);
22  virtual void OnOKButtonClick(wxCommandEvent& event);
23  virtual void OnSpeedGovernorButtonClick(wxCommandEvent& event);
24  virtual void OnSwitchingButtonClick(wxCommandEvent& event);
25 
26  virtual bool ValidateData();
27 
28  SyncGenerator* m_syncGenerator = NULL;
29  wxWindow* m_parent = NULL;
30 };
31 #endif // GENERATORSTABFORM_H
Definition: SwitchingForm.h:8
+
Definition: SyncGenerator.h:110
+
Definition: GeneratorStabForm.h:11
+
Definition: ControlElementContainer.h:20
+
Definition: ElementForm.h:247
+
Definition: ControlEditor.h:67
+
+ + + + diff --git a/docs/doxygen/html/_graphical_element_8h_source.html b/docs/doxygen/html/_graphical_element_8h_source.html new file mode 100644 index 0000000..ce200a5 --- /dev/null +++ b/docs/doxygen/html/_graphical_element_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/GraphicalElement.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
GraphicalElement.h
+
+
+
1 #ifndef GRAPHICALELEMENT_H
2 #define GRAPHICALELEMENT_H
3 
4 #include "Element.h"
5 
6 class GraphicalElement : public Element
7 {
8 public:
11 
12 };
13 
14 #endif // GRAPHICALELEMENT_H
Definition: GraphicalElement.h:6
+
Definition: Element.h:88
+
Class to manage color of OpenGL.
+
+ + + + diff --git a/docs/doxygen/html/_i_o_control_8h_source.html b/docs/doxygen/html/_i_o_control_8h_source.html new file mode 100644 index 0000000..2604347 --- /dev/null +++ b/docs/doxygen/html/_i_o_control_8h_source.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Project/IOControl.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
IOControl.h
+
+
+
1 #ifndef IOCONTROL_H
2 #define IOCONTROL_H
3 
4 #include "ControlElement.h"
5 
6 #include <wx/dcscreen.h>
7 #include "wxGLString.h"
8 
9 class IOControlForm;
10 
11 class IOControl : public ControlElement
12 {
13  public:
14  enum IOFlags {
15  IN_TERMINAL_VOLTAGE = 1 << 0,
16  IN_VELOCITY = 1 << 1,
17  IN_ACTIVE_POWER = 1 << 2,
18  IN_REACTIVE_POWER = 1 << 3,
19  OUT_FIELD_VOLTAGE = 1 << 4,
20  OUT_MEC_POWER = 1 << 5
21  };
22 
23  IOControl(int ioFlags, int id);
24  ~IOControl();
25 
26  virtual void Draw(wxPoint2DDouble translation, double scale) const;
27  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
28  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
29  virtual bool ShowForm(wxWindow* parent, Element* element);
30  virtual void Rotate(bool clockwise = true);
31  virtual void UpdateText() { SetValue(m_value); }
32  virtual wxString GenerateText();
33  virtual void UpdatePoints();
34 
35  virtual IOFlags GetValue() const { return m_value; }
36  virtual void SetValue(IOFlags value);
37  virtual int GetIOFlags() const { return m_ioFlags; }
38  virtual Node::NodeType GetType() { return m_ioNodeType; }
39 
40  virtual Element* GetCopy();
41  protected:
42  IOFlags m_value;
43  int m_ioFlags;
44 
45  Node::NodeType m_ioNodeType = Node::NODE_IN;
46 
47  wxGLString* m_glStringValue = NULL;
48  int m_fontSize = 10;
49 };
50 
51 #endif // IOCONTROL_H
Definition: Element.h:88
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: IOControl.h:27
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: IOControl.cpp:116
+
Definition: IOControl.h:11
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: IOControl.h:28
+
virtual Element * GetCopy()
Get a the element copy.
Definition: IOControl.cpp:226
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: IOControl.cpp:105
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: IOControl.cpp:19
+
Definition: IOControlForm.h:7
+
Definition: ControlElement.h:53
+
Definition: wxGLString.h:77
+
+ + + + diff --git a/docs/doxygen/html/_i_o_control_form_8h_source.html b/docs/doxygen/html/_i_o_control_form_8h_source.html new file mode 100644 index 0000000..32f8731 --- /dev/null +++ b/docs/doxygen/html/_i_o_control_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/IOControlForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
IOControlForm.h
+
+
+
1 #ifndef IOCONTROLFORM_H
2 #define IOCONTROLFORM_H
3 
4 #include "ElementForm.h"
5 #include "IOControl.h"
6 
8 {
9  public:
10  IOControlForm(wxWindow* parent, IOControl* ioControl);
11  virtual ~IOControlForm();
12 
13  virtual bool ValidateData();
14 
15  protected:
16  virtual void OnInputChecked(wxCommandEvent& event);
17  virtual void OnOutputChecked(wxCommandEvent& event);
18  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); };
19  virtual void OnOKButtonClick(wxCommandEvent& event);
20 
21  wxWindow* m_parent;
22  IOControl* m_ioControl;
23 
24  std::vector<IOControl::IOFlags> m_inputFlags;
25  std::vector<IOControl::IOFlags> m_outputFlags;
26 };
27 #endif // IOCONTROLFORM_H
Definition: ElementForm.h:975
+
Definition: IOControl.h:11
+
Definition: IOControlForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_ind_motor_8h_source.html b/docs/doxygen/html/_ind_motor_8h_source.html new file mode 100644 index 0000000..0967dd7 --- /dev/null +++ b/docs/doxygen/html/_ind_motor_8h_source.html @@ -0,0 +1,88 @@ + + + + + + + +PSP-UFU: Project/IndMotor.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
IndMotor.h
+
+
+
1 #ifndef INDMOTOR_H
2 #define INDMOTOR_H
3 
4 #include "Machines.h"
5 
6 class IndMotorForm;
7 
9 {
10  wxString name;
11  double activePower = 100.0;
12  ElectricalUnit activePowerUnit = UNIT_MW;
13  double reactivePower = 0.0;
14  ElectricalUnit reactivePowerUnit = UNIT_MVAr;
15 };
16 
17 class IndMotor : public Machines
18 {
19  public:
20  IndMotor();
21  IndMotor(wxString name);
22  ~IndMotor();
23 
24  virtual Element* GetCopy();
25  virtual void DrawSymbol() const;
26  virtual bool GetContextMenu(wxMenu& menu);
27  virtual wxString GetTipText() const;
28  virtual bool ShowForm(wxWindow* parent, Element* element);
29  virtual IndMotorElectricalData GetElectricalData() { return m_electricalData; }
30  virtual IndMotorElectricalData GetPUElectricalData(double systemPowerBase);
31  virtual void SetElectricalData(IndMotorElectricalData electricalData) { m_electricalData = electricalData; }
32  protected:
33  IndMotorElectricalData m_electricalData;
34 };
35 
36 #endif // INDMOTOR_H
Definition: IndMotor.h:8
+
Definition: Element.h:88
+
Definition: PowerElement.h:19
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:25
+
Definition: IndMotor.h:17
+
Definition: Machines.h:9
+
Definition: IndMotorForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_ind_motor_form_8h_source.html b/docs/doxygen/html/_ind_motor_form_8h_source.html new file mode 100644 index 0000000..73d9616 --- /dev/null +++ b/docs/doxygen/html/_ind_motor_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/IndMotorForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
IndMotorForm.h
+
+
+
1 #ifndef INDMOTORFORM_H
2 #define INDMOTORFORM_H
3 #include "ElementForm.h"
4 
5 class IndMotor;
6 
8 {
9  public:
10  IndMotorForm(wxWindow* parent, IndMotor* indMotor);
11  virtual ~IndMotorForm();
12  virtual bool ValidateData();
13 
14  protected:
15  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); };
16  virtual void OnOKButtonClick(wxCommandEvent& event);
17  virtual void OnStabilityButtonClick(wxCommandEvent& event);
18 
19  wxWindow* m_parent = NULL;
20  IndMotor* m_indMotor = NULL;
21 };
22 #endif // INDMOTORFORM_H
Definition: ElementForm.h:673
+
Definition: IndMotor.h:17
+
Definition: IndMotorForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_inductor_8h_source.html b/docs/doxygen/html/_inductor_8h_source.html new file mode 100644 index 0000000..a803fe8 --- /dev/null +++ b/docs/doxygen/html/_inductor_8h_source.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Project/Inductor.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Inductor.h
+
+
+
1 #ifndef INDUCTOR_H
2 #define INDUCTOR_H
3 
4 #include "Shunt.h"
5 
7 
9  wxString name;
10  double reactivePower = 100.0;
11  ElectricalUnit reactivePowerUnit = UNIT_MVAr;
12 };
13 
14 class Inductor : public Shunt
15 {
16  public:
17  Inductor();
18  Inductor(wxString name);
19  ~Inductor();
20 
21  virtual Element* GetCopy();
22  virtual bool AddParent(Element* parent, wxPoint2DDouble position);
23  virtual void Draw(wxPoint2DDouble translation, double scale) const;
24  virtual bool Contains(wxPoint2DDouble position) const;
25  virtual bool Intersects(wxRect2DDouble rect) const;
26  virtual void Rotate(bool clockwise = true);
27  virtual bool GetContextMenu(wxMenu& menu);
28  virtual wxString GetTipText() const;
29  virtual bool ShowForm(wxWindow* parent, Element* element);
30  virtual InductorElectricalData GetElectricalData() { return m_electricalData; }
31  virtual InductorElectricalData GetPUElectricalData(double systemPowerBase);
32  virtual void SetElectricalData(InductorElectricalData electricalData) { m_electricalData = electricalData; }
33  protected:
34  InductorElectricalData m_electricalData;
35 };
36 
37 #endif // INDUCTOR_H
Definition: Element.h:88
+
Definition: Inductor.h:8
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:25
+
Definition: Inductor.h:14
+
Definition: Shunt.h:7
+
Definition: ReactiveShuntElementForm.h:10
+
+ + + + diff --git a/docs/doxygen/html/_limiter_8h_source.html b/docs/doxygen/html/_limiter_8h_source.html new file mode 100644 index 0000000..ee59de7 --- /dev/null +++ b/docs/doxygen/html/_limiter_8h_source.html @@ -0,0 +1,90 @@ + + + + + + + +PSP-UFU: Project/Limiter.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Limiter.h
+
+
+
1 #ifndef LIMITER_H
2 #define LIMITER_H
3 
4 #include "ControlElement.h"
5 
6 class LimiterForm;
7 
8 class Limiter : public ControlElement
9 {
10 public:
11  Limiter(int id);
12  ~Limiter();
13 
14  virtual void Draw(wxPoint2DDouble translation, double scale) const;
15  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
16  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
17  virtual bool ShowForm(wxWindow* parent, Element* element);
18  virtual void Rotate(bool clockwise = true);
19  virtual bool Solve(double input, double timeStep);
20 
21  virtual void UpdatePoints();
22 
23  double GetUpLimit() const { return m_upLimit; }
24  double GetLowLimit() const { return m_lowLimit; }
25 
26  void SetUpLimit(double upLimit) { m_upLimit = upLimit; }
27  void SetLowLimit(double lowLimit) { m_lowLimit = lowLimit; }
28 
29  virtual Element* GetCopy();
30 
31 protected:
32  double m_upLimit = 5.0;
33  double m_lowLimit = -5.0;
34 };
35 
36 #endif // LIMITER_H
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Limiter.cpp:17
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Limiter.cpp:100
+
Definition: Element.h:88
+
Definition: Limiter.h:8
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Limiter.h:15
+
Definition: LimiterForm.h:7
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Limiter.h:16
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Limiter.cpp:55
+
Definition: ControlElement.h:53
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Limiter.cpp:44
+
+ + + + diff --git a/docs/doxygen/html/_limiter_form_8h_source.html b/docs/doxygen/html/_limiter_form_8h_source.html new file mode 100644 index 0000000..427b6ff --- /dev/null +++ b/docs/doxygen/html/_limiter_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/LimiterForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
LimiterForm.h
+
+
+
1 #ifndef LIMITERFORM_H
2 #define LIMITERFORM_H
3 #include "ElementForm.h"
4 
5 class Limiter;
6 
8 {
9  public:
10  LimiterForm(wxWindow* parent, Limiter* limiter);
11  virtual ~LimiterForm();
12  virtual bool ValidateData();
13 
14  protected:
15  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
16  virtual void OnOKButtonClick(wxCommandEvent& event);
17 
18  wxWindow* m_parent = NULL;
19  Limiter* m_limiter = NULL;
20 };
21 #endif // LIMITERFORM_H
Definition: Limiter.h:8
+
Definition: ElementForm.h:831
+
Definition: LimiterForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_line_8h_source.html b/docs/doxygen/html/_line_8h_source.html new file mode 100644 index 0000000..505a290 --- /dev/null +++ b/docs/doxygen/html/_line_8h_source.html @@ -0,0 +1,90 @@ + + + + + + + +PSP-UFU: Project/Line.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Line.h
+
+
+
1 #ifndef LINE_H
2 #define LINE_H
3 
4 #include "LineForm.h"
5 #include "Branch.h"
6 
8  // General
9  wxString name = "";
10  double nominalVoltage = 138.0;
11  ElectricalUnit nominalVoltageUnit = UNIT_kV;
12  double nominalPower = 100.0;
13  ElectricalUnit nominalPowerUnit = UNIT_MVA;
14  double resistance = 0.0;
15  ElectricalUnit resistanceUnit = UNIT_PU;
16  double indReactance = 1.0;
17  ElectricalUnit indReactanceUnit = UNIT_PU;
18  double capSusceptance = 0.0;
19  ElectricalUnit capSusceptanceUnit = UNIT_PU;
20  double lineSize = 100.0;
21  bool useLinePower = false;
22 
23  // Power flow (p.u.)
24  std::complex<double> current[2] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0)};
25  std::complex<double> powerFlow[2] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0)};
26 
27  // Fault
28  double zeroResistance = 0.0;
29  double zeroIndReactance = 1.0;
30  double zeroCapSusceptance = 0.0;
31  // p.u. fault data
32  std::complex<double> faultCurrent[2][3];
33 };
34 
35 class Line : public Branch
36 {
37  public:
38  Line();
39  Line(wxString name);
40  ~Line();
41  virtual bool Contains(wxPoint2DDouble position) const;
42  virtual void Draw(wxPoint2DDouble translation, double scale) const;
43  virtual void Move(wxPoint2DDouble position);
44  virtual void StartMove(wxPoint2DDouble position);
45  virtual void MoveNode(Element* parent, wxPoint2DDouble position);
46  virtual bool SetNodeParent(Element* parent);
47  virtual wxCursor GetBestPickboxCursor() const { return wxCURSOR_SIZING; }
48  virtual Element* GetCopy();
49  virtual bool AddParent(Element* parent, wxPoint2DDouble position);
50  virtual bool Intersects(wxRect2DDouble rect) const;
51  virtual void MovePickbox(wxPoint2DDouble position);
52  virtual bool PickboxContains(wxPoint2DDouble position);
53  virtual void AddPoint(wxPoint2DDouble point);
54  virtual bool GetContextMenu(wxMenu& menu);
55  virtual wxString GetTipText() const;
56  virtual void RemoveNode(wxPoint2DDouble point);
57  virtual void AddNode(wxPoint2DDouble point);
58  virtual void RotateNode(Element* parent, bool clockwise = true);
59  virtual void CalculateBoundaries(wxPoint2DDouble& leftUp, wxPoint2DDouble& rightBottom) const;
60  virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection);
61  virtual bool ShowForm(wxWindow* parent, Element* element);
62  virtual LineElectricalData GetElectricalData() const { return m_electricalData; }
63  virtual LineElectricalData GetPUElectricalData(double systemBasePower);
64  virtual void SetElectricalData(LineElectricalData electricalData) { m_electricalData = electricalData; }
65  virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit);
66  virtual void SetPointList(std::vector<wxPoint2DDouble> pointList);
67 
68  protected:
69  void UpdatePowerFlowArrowsPosition();
70  LineElectricalData m_electricalData;
71 };
72 
73 #endif // LINE_H
Definition: Element.h:88
+
Definition: PowerElement.h:14
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:12
+
virtual wxCursor GetBestPickboxCursor() const
Get the best cursor to shown to the user when the mouse is above a pickbox.
Definition: Line.h:47
+
Definition: PowerElement.h:22
+
Definition: Line.h:35
+
Definition: Line.h:7
+
PowerFlowDirection
Direction of power flow arrows.
Definition: PowerElement.h:61
+
Definition: Branch.h:7
+
+ + + + diff --git a/docs/doxygen/html/_line_form_8h_source.html b/docs/doxygen/html/_line_form_8h_source.html new file mode 100644 index 0000000..a8d6a43 --- /dev/null +++ b/docs/doxygen/html/_line_form_8h_source.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Project/LineForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
LineForm.h
+
+
+
1 #ifndef LINEFORM_H
2 #define LINEFORM_H
3 #include "ElementForm.h"
4 
5 class Line;
6 class SwitchingForm;
7 
8 class LineForm : public LineFormBase
9 {
10 public:
11  LineForm(wxWindow* parent, Line* line);
12  virtual ~LineForm();
13 protected:
14  virtual void OnCancelButtonClick(wxCommandEvent& event);
15  virtual void OnOKButtonClick(wxCommandEvent& event);
16  virtual void OnStabilityButtonClick(wxCommandEvent& event);
17  virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);
18  virtual bool ValidateData();
19 
20  wxWindow* m_parent = NULL;
21  Line* m_line = NULL;
22 
23 };
24 #endif // LINEFORM_H
Definition: LineForm.h:8
+
Definition: SwitchingForm.h:8
+
Definition: ElementForm.h:374
+
Definition: Line.h:35
+
+ + + + diff --git a/docs/doxygen/html/_load_8h_source.html b/docs/doxygen/html/_load_8h_source.html new file mode 100644 index 0000000..0466773 --- /dev/null +++ b/docs/doxygen/html/_load_8h_source.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Project/Load.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Load.h
+
+
+
1 #ifndef LOAD_H
2 #define LOAD_H
3 
4 #include "LoadForm.h"
5 #include "Shunt.h"
6 
7 enum LoadType
8 {
9  CONST_POWER = 0,
10  CONST_IMPEDANCE
11 };
12 
14 {
15  wxString name;
16  double activePower = 100.0;
17  ElectricalUnit activePowerUnit = UNIT_MW;
18  double reactivePower = 0.0;
19  ElectricalUnit reactivePowerUnit = UNIT_MVAr;
20  LoadType loadType = CONST_POWER;
21 };
22 
23 class Load : public Shunt
24 {
25  public:
26  Load();
27  Load(wxString name);
28  ~Load();
29 
30  virtual Element* GetCopy();
31  virtual bool AddParent(Element* parent, wxPoint2DDouble position);
32  virtual void Draw(wxPoint2DDouble translation, double scale) const;
33  virtual void Rotate(bool clockwise = true);
34  virtual bool GetContextMenu(wxMenu& menu);
35  virtual wxString GetTipText() const;
36  virtual bool ShowForm(wxWindow* parent, Element* element);
37  LoadElectricalData GetElectricalData() { return m_electricalData; }
38  LoadElectricalData GetPUElectricalData(double systemPowerBase);
39  void SetElectricalData(LoadElectricalData electricalData) { m_electricalData = electricalData; }
40 
41  protected:
42  std::vector<wxPoint2DDouble> m_triangPts;
43  LoadElectricalData m_electricalData;
44 };
45 
46 #endif // LOAD_H
Definition: Element.h:88
+
Definition: PowerElement.h:19
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:25
+
Definition: Load.h:23
+
Definition: Load.h:13
+
Definition: Shunt.h:7
+
+ + + + diff --git a/docs/doxygen/html/_load_form_8h_source.html b/docs/doxygen/html/_load_form_8h_source.html new file mode 100644 index 0000000..98b0546 --- /dev/null +++ b/docs/doxygen/html/_load_form_8h_source.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Project/LoadForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
LoadForm.h
+
+
+
1 #ifndef LOADFORM_H
2 #define LOADFORM_H
3 #include "ElementForm.h"
4 
5 class Load;
6 class SwitchingForm;
7 
8 class LoadForm : public LoadFormBase
9 {
10  public:
11  LoadForm(wxWindow* parent, Load* load);
12  virtual ~LoadForm();
13 
14  virtual bool ValidateData();
15 
16  protected:
17  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); };
18  virtual void OnOnButtonClick(wxCommandEvent& event);
19  virtual void OnStabilityButtonClick(wxCommandEvent& event);
20 
21  wxWindow* m_parent = NULL;
22  Load* m_load = NULL;
23 };
24 #endif // LOADFORM_H
Definition: SwitchingForm.h:8
+
Definition: Load.h:23
+
Definition: ElementForm.h:552
+
Definition: LoadForm.h:8
+
+ + + + diff --git a/docs/doxygen/html/_machines_8h_source.html b/docs/doxygen/html/_machines_8h_source.html new file mode 100644 index 0000000..2e0b9e8 --- /dev/null +++ b/docs/doxygen/html/_machines_8h_source.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: Project/Machines.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Machines.h
+
+
+
1 #ifndef MACHINES_H
2 #define MACHINES_H
3 
4 #include "PowerElement.h"
5 
8 
9 class Machines : public PowerElement
10 {
11  public:
12  enum SyncMachineModel { SM_MODEL_1 = 0, SM_MODEL_2, SM_MODEL_3, SM_MODEL_4, SM_MODEL_5 };
13 
14  Machines();
15  ~Machines();
16 
17  virtual bool AddParent(Element* parent, wxPoint2DDouble position);
18  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
19  virtual void Draw(wxPoint2DDouble translation, double scale) const;
20  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
21  virtual void Move(wxPoint2DDouble position);
22  virtual void MoveNode(Element* element, wxPoint2DDouble position);
23  virtual void StartMove(wxPoint2DDouble position);
24  virtual void RotateNode(Element* parent, bool clockwise = true);
25  virtual void RemoveParent(Element* parent);
26  virtual bool NodeContains(wxPoint2DDouble position);
27  virtual bool SetNodeParent(Element* parent);
28  virtual void UpdateNodes();
29  virtual void Rotate(bool clockwise = true);
30  virtual void DrawSymbol() const {}
31  virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection);
32 
33  protected:
34  void UpdateSwitchesPosition();
35  void UpdatePowerFlowArrowsPosition();
36  bool m_inserted = false;
37 };
38 
39 #endif // MACHINES_H
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Machines.h:18
+
virtual void StartMove(wxPoint2DDouble position)
Update the element attributes related to the movement.
Definition: Machines.cpp:129
+
Definition: Element.h:88
+
Definition: ControlElementSolver.h:20
+
virtual void Move(wxPoint2DDouble position)
Move the element other position.
Definition: Machines.cpp:94
+
virtual bool NodeContains(wxPoint2DDouble position)
Check if a node contains a point. If contains, set the attributes related to node movement...
Definition: Machines.cpp:158
+
virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection)
Set the direction of the power flow.
Definition: Machines.cpp:250
+
virtual void RotateNode(Element *parent, bool clockwise=true)
Rotate a node.
Definition: Machines.cpp:136
+
virtual bool AddParent(Element *parent, wxPoint2DDouble position)
Add a parent to the element. This method must be used on power elements that connect to a bus...
Definition: Machines.cpp:8
+
virtual bool SetNodeParent(Element *parent)
Set a perent to the node. If all conditions are met, a new parent are added to the element and the po...
Definition: Machines.cpp:172
+
virtual void UpdateNodes()
Update the nodes according to the parents. If a parent is removed, use this method.
Definition: Machines.cpp:199
+
Definition: ControlElementContainer.h:20
+
Switching data of power elements.
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Machines.cpp:215
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Machines.cpp:37
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Machines.h:20
+
Definition: Machines.h:9
+
PowerFlowDirection
Direction of power flow arrows.
Definition: PowerElement.h:61
+
virtual void RemoveParent(Element *parent)
Remove a parent.
Definition: Machines.cpp:148
+
Definition: PowerElement.h:100
+
virtual void MoveNode(Element *element, wxPoint2DDouble position)
Move a node. StartMove(wxPoint2DDouble position) before start moving.
Definition: Machines.cpp:107
+
+ + + + diff --git a/docs/doxygen/html/_main_frame_8h_source.html b/docs/doxygen/html/_main_frame_8h_source.html new file mode 100644 index 0000000..7e66be0 --- /dev/null +++ b/docs/doxygen/html/_main_frame_8h_source.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Project/MainFrame.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
MainFrame.h
+
+
+
1 #ifndef MAINFRAME_H
2 #define MAINFRAME_H
3 
4 #include <wx/menu.h>
5 #include <wx/msgdlg.h>
6 #include <wx/filedlg.h>
7 
8 #include "MainFrameBase.h"
9 
10 class MainFrameBase;
12 class Workspace;
13 class FileHanding;
16 class PropertiesData;
17 class ChartView;
18 class DataReport;
19 class AboutForm;
20 
21 enum {
22  ID_ADDMENU_BUS = 20000,
23  ID_ADDMENU_LINE,
24  ID_ADDMENU_TRANSFORMER,
25  ID_ADDMENU_GENERATOR,
26  ID_ADDMENU_LOAD,
27  ID_ADDMENU_CAPACITOR,
28  ID_ADDMENU_INDUCTOR,
29  ID_ADDMENU_INDMOTOR,
30  ID_ADDMENU_SYNCCOMP
31 };
32 
33 class MainFrame : public MainFrameBase
34 {
35  public:
36  MainFrame();
37  MainFrame(wxWindow* parent, wxLocale* locale, PropertiesData* initProperties);
38  ~MainFrame();
39 
40  protected:
41  virtual void OnGeneralSettingsClick(wxRibbonButtonBarEvent& event);
42  virtual void OnSimulationSettingsClick(wxRibbonButtonBarEvent& event);
43  virtual void OnRotClockClick(wxRibbonButtonBarEvent& event);
44  virtual void OnRotCounterClockClick(wxRibbonButtonBarEvent& event);
45  virtual void NotebookPageClosed(wxAuiNotebookEvent& event);
46  virtual void NotebookPageClosing(wxAuiNotebookEvent& event);
47  virtual void OnAboutClick(wxRibbonButtonBarEvent& event);
48  virtual void OnAddElementDropdown(wxRibbonButtonBarEvent& event);
49  virtual void OnChartsClick(wxRibbonButtonBarEvent& event);
50  virtual void OnCloseClick(wxRibbonButtonBarEvent& event);
51  virtual void OnCopyClick(wxRibbonButtonBarEvent& event);
52  virtual void OnDataReportClick(wxRibbonButtonBarEvent& event);
53  virtual void OnDeleteClick(wxRibbonButtonBarEvent& event);
54  virtual void OnDisableSolutionClick(wxRibbonButtonBarEvent& event);
55  virtual void OnDragClick(wxRibbonButtonBarEvent& event);
56  virtual void OnEnableSolutionClick(wxRibbonButtonBarEvent& event);
57  virtual void OnExitClick(wxRibbonButtonBarEvent& event) { this->Close(); };
58  virtual void OnExpImpClick(wxRibbonButtonBarEvent& event);
59  virtual void OnFaultClick(wxRibbonButtonBarEvent& event);
60  virtual void OnFitClick(wxRibbonButtonBarEvent& event);
61  virtual void OnMoveClick(wxRibbonButtonBarEvent& event);
62  virtual void OnOpenClick(wxRibbonButtonBarEvent& event);
63  virtual void OnPSPGuideClick(wxRibbonButtonBarEvent& event);
64  virtual void OnPasteClick(wxRibbonButtonBarEvent& event);
65  virtual void OnPowerFlowClick(wxRibbonButtonBarEvent& event);
66  virtual void OnRedoClick(wxRibbonButtonBarEvent& event);
67  virtual void OnResetVoltagesClick(wxRibbonButtonBarEvent& event);
68  virtual void OnRunStabilityClick(wxRibbonButtonBarEvent& event);
69  virtual void OnSCPowerClick(wxRibbonButtonBarEvent& event);
70  virtual void OnSaveAsClick(wxRibbonButtonBarEvent& event);
71  virtual void OnSaveClick(wxRibbonButtonBarEvent& event);
72  virtual void OnSnapshotClick(wxRibbonButtonBarEvent& event);
73  virtual void OnUndoClick(wxRibbonButtonBarEvent& event);
74  virtual void OnNewClick(wxRibbonButtonBarEvent& event);
75 
76  protected:
77  std::vector<Workspace*> m_workspaceList;
78  int m_projectNumber = 1;
79 
80  wxRibbonMetroArtProvider* m_artMetro = NULL;
81  wxMenu* m_addElementsMenu = NULL;
82  wxLocale* m_locale = NULL;
83  PropertiesData* m_generalProperties = NULL;
84 
85  void Init();
86  void EnableCurrentProjectRibbon(bool enable = true);
87  void CreateAddElementsMenu();
88 
89  void OnAddElementsClick(wxCommandEvent& event);
90 };
91 
92 #endif // MAINFRAME_H
Definition: PropertiesData.h:40
+
Definition: MainFrameBase.h:41
+
Definition: FileHanding.h:19
+
Definition: GeneralPropertiesForm.h:11
+
Definition: MainFrame.h:33
+
Definition: ArtMetro.h:28
+
Definition: ChartView.h:16
+
Definition: SimulationsSettingsForm.h:8
+
Definition: DataReport.h:9
+
Definition: AboutForm.h:7
+
Definition: Workspace.h:56
+
+ + + + diff --git a/docs/doxygen/html/_main_frame_base_8h_source.html b/docs/doxygen/html/_main_frame_base_8h_source.html new file mode 100644 index 0000000..bfa7f30 --- /dev/null +++ b/docs/doxygen/html/_main_frame_base_8h_source.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Project/MainFrameBase.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
MainFrameBase.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: MainFrame.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_MAINFRAME_BASE_CLASSES_H
8 #define _PSP_PROJECT_MAINFRAME_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/frame.h>
14 #include <wx/iconbndl.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/ribbon/bar.h>
18 #include <wx/ribbon/art.h>
19 #include <wx/ribbon/page.h>
20 #include <wx/ribbon/panel.h>
21 #include <wx/ribbon/buttonbar.h>
22 #include <wx/aui/auibook.h>
23 #include <wx/statusbr.h>
24 #if wxVERSION_NUMBER >= 2900
25 #include <wx/persist.h>
26 #include <wx/persist/toplevel.h>
27 #include <wx/persist/bookctrl.h>
28 #include <wx/persist/treebook.h>
29 #endif
30 
31 #ifdef WXC_FROM_DIP
32 #undef WXC_FROM_DIP
33 #endif
34 #if wxVERSION_NUMBER >= 3100
35 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
36 #else
37 #define WXC_FROM_DIP(x) x
38 #endif
39 
40 
41 class MainFrameBase : public wxFrame
42 {
43 public:
44  enum {
45  ID_RIBBON_ABOUT = 10001,
46  ID_RIBBON_ADDELEMENT = 10002,
47  ID_RIBBON_CHARTS = 10003,
48  ID_RIBBON_CLOSE = 10004,
49  ID_RIBBON_COPY = 10005,
50  ID_RIBBON_DATAREPORT = 10006,
51  ID_RIBBON_DELETE = 10007,
52  ID_RIBBON_DISABLESOL = 10008,
53  ID_RIBBON_DRAG = 10009,
54  ID_RIBBON_ENABLESOL = 10010,
55  ID_RIBBON_EXIT = 10011,
56  ID_RIBBON_FAULT = 10012,
57  ID_RIBBON_FIT = 10013,
58  ID_RIBBON_GENSETTINGS = 10014,
59  ID_RIBBON_GUIDE = 10015,
60  ID_RIBBON_MOVE = 10016,
61  ID_RIBBON_NEW = 10017,
62  ID_RIBBON_OPEN = 10018,
63  ID_RIBBON_PASTE = 10019,
64  ID_RIBBON_POWERFLOW = 10020,
65  ID_RIBBON_PROJSETTINGS = 10021,
66  ID_RIBBON_REDO = 10022,
67  ID_RIBBON_RESETVOLT = 10023,
68  ID_RIBBON_ROTATEC = 10024,
69  ID_RIBBON_ROTATECC = 10025,
70  ID_RIBBON_RUNSTAB = 10026,
71  ID_RIBBON_SAVE = 10027,
72  ID_RIBBON_SAVEAS = 10028,
73  ID_RIBBON_SCPOWER = 10029,
74  ID_RIBBON_SIMULSETTINGS = 10030,
75  ID_RIBBON_SNAPSHOT = 10031,
76  ID_RIBBON_UNDO = 10032,
77  };
78 protected:
79  wxRibbonBar* m_ribbonBar;
80  wxRibbonPage* m_ribbonPageFile;
81  wxRibbonPanel* m_ribbonPanelProjects;
82  wxRibbonButtonBar* m_ribbonButtonBarProjects;
83  wxRibbonPanel* m_ribbonPanelCProject;
84  wxRibbonButtonBar* m_ribbonButtonBarCProject;
85  wxRibbonPanel* m_ribbonPanelHelp;
86  wxRibbonButtonBar* m_ribbonButtonBarHelp;
87  wxRibbonPage* m_ribbonPageTools;
88  wxRibbonPanel* m_ribbonPanelClipboard;
89  wxRibbonButtonBar* m_ribbonButtonBarClipboard;
90  wxRibbonPanel* m_ribbonPanelCircuit;
91  wxRibbonButtonBar* m_ribbonButtonBarCircuit;
92  wxRibbonPanel* m_ribbonPanelReports;
93  wxRibbonButtonBar* m_ribbonButtonBarReports;
94  wxRibbonPage* m_ribbonPageSimulation;
95  wxRibbonPanel* m_ribbonPanelContinuous;
96  wxRibbonButtonBar* m_ribbonButtonBarContinuous;
97  wxRibbonPanel* m_ribbonPanelSimulations;
98  wxRibbonButtonBar* m_ribbonButtonBarSimulations;
99  wxAuiNotebook* m_auiNotebook;
100  wxStatusBar* m_statusBar;
101 
102 protected:
103  virtual void OnNewClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
104  virtual void OnOpenClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
105  virtual void OnGeneralSettingsClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
106  virtual void OnExitClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
107  virtual void OnSaveClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
108  virtual void OnSaveAsClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
109  virtual void OnCloseClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
110  virtual void OnPSPGuideClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
111  virtual void OnAboutClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
112  virtual void OnCopyClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
113  virtual void OnPasteClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
114  virtual void OnUndoClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
115  virtual void OnRedoClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
116  virtual void OnAddElementDropdown(wxRibbonButtonBarEvent& event) { event.Skip(); }
117  virtual void OnDragClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
118  virtual void OnMoveClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
119  virtual void OnDeleteClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
120  virtual void OnFitClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
121  virtual void OnRotClockClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
122  virtual void OnRotCounterClockClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
123  virtual void OnDataReportClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
124  virtual void OnChartsClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
125  virtual void OnSnapshotClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
126  virtual void OnEnableSolutionClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
127  virtual void OnDisableSolutionClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
128  virtual void OnResetVoltagesClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
129  virtual void OnPowerFlowClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
130  virtual void OnRunStabilityClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
131  virtual void OnFaultClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
132  virtual void OnSCPowerClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
133  virtual void OnSimulationSettingsClick(wxRibbonButtonBarEvent& event) { event.Skip(); }
134  virtual void NotebookPageClosing(wxAuiNotebookEvent& event) { event.Skip(); }
135  virtual void NotebookPageClosed(wxAuiNotebookEvent& event) { event.Skip(); }
136 
137 public:
138  wxRibbonBar* GetRibbonBar() { return m_ribbonBar; }
139  wxAuiNotebook* GetAuiNotebook() { return m_auiNotebook; }
140  wxStatusBar* GetStatusBar() { return m_statusBar; }
141  MainFrameBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("PSP-UFU"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(800,600), long style = wxCAPTION|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX);
142  virtual ~MainFrameBase();
143 };
144 
145 #endif
Definition: MainFrameBase.h:41
+
+ + + + diff --git a/docs/doxygen/html/_multiplier_8h_source.html b/docs/doxygen/html/_multiplier_8h_source.html new file mode 100644 index 0000000..0665dc6 --- /dev/null +++ b/docs/doxygen/html/_multiplier_8h_source.html @@ -0,0 +1,90 @@ + + + + + + + +PSP-UFU: Project/Multiplier.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Multiplier.h
+
+
+
1 #ifndef MULTIPLIER_H
2 #define MULTIPLIER_H
3 
4 #include "ControlElement.h"
5 
6 class ConnectionLine;
7 
8 class Multiplier : public ControlElement
9 {
10  public:
11  Multiplier(int id);
12  ~Multiplier();
13 
14  virtual void Draw(wxPoint2DDouble translation, double scale) const;
15  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
16  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
17  virtual bool ShowForm(wxWindow* parent, Element* element) { return false; }
18  virtual void Rotate(bool clockwise = true);
19 
20  virtual void UpdatePoints();
21 
22  virtual bool Solve(double input, double timeStep);
23 
24  virtual Element* GetCopy();
25 };
26 
27 #endif // MULTIPLIER_H
Definition: Multiplier.h:8
+
Definition: Element.h:88
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Multiplier.cpp:47
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Multiplier.h:17
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Multiplier.h:15
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Multiplier.cpp:20
+
Definition: ConnectionLine.h:6
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Multiplier.h:16
+
Definition: ControlElement.h:53
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Multiplier.cpp:119
+
+ + + + diff --git a/docs/doxygen/html/_power_element_8h.html b/docs/doxygen/html/_power_element_8h.html new file mode 100644 index 0000000..a23b953 --- /dev/null +++ b/docs/doxygen/html/_power_element_8h.html @@ -0,0 +1,306 @@ + + + + + + + +PSP-UFU: Project/PowerElement.h File Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
PowerElement.h File Reference
+
+
+ +

Switching data of power elements. +More...

+
#include "Element.h"
+#include "ElementPlotData.h"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Classes

class  SwitchingData
 
class  IntegrationConstant
 
class  PowerElement
 
+ + + + + + + + + + + + + +

+Enumerations

enum  ElectricalUnit {
+  UNIT_PU = 0, +UNIT_V, +UNIT_kV, +UNIT_A, +
+  UNIT_kA, +UNIT_W, +UNIT_kW, +UNIT_MW, +
+  UNIT_VA, +UNIT_kVA, +UNIT_MVA, +UNIT_VAr, +
+  UNIT_kVAr, +UNIT_MVAr, +UNIT_OHM, +UNIT_OHM_km, +
+  UNIT_S, +UNIT_S_km, +UNIT_DEGREE, +UNIT_RADIAN +
+ }
 Electrical units. More...
 
enum  FaultData {
+  FAULT_THREEPHASE = 0, +FAULT_2LINE, +FAULT_2LINE_GROUND, +FAULT_LINE_GROUND, +
+  FAULT_LINE_A, +FAULT_LINE_B, +FAULT_LINE_C +
+ }
 Information about fault (type and location). More...
 
enum  SwitchingType { SW_INSERT = 0, +SW_REMOVE + }
 Type of switching. More...
 
enum  PowerFlowDirection {
+  PF_NONE = 0, +PF_TO_BUS, +PF_TO_ELEMENT, +PF_BUS1_TO_BUS2, +
+  PF_BUS2_TO_BUS1 +
+ }
 Direction of power flow arrows. More...
 
+

Detailed Description

+

Switching data of power elements.

+

Base class of power elements.

+

Integration constants to calculate dynamic elements through trapezoidal integration method.

+

Enumeration Type Documentation

+ +

◆ ElectricalUnit

+ +
+
+ + + + +
enum ElectricalUnit
+
+ +

Electrical units.

+ + + + + + + + + + + + + + + + + + + + + +
Enumerator
UNIT_PU 

Per unit (p.u.)

+
UNIT_V 

Volt

+
UNIT_kV 

Kilovolts

+
UNIT_A 

Ampere

+
UNIT_kA 

Kiloampere

+
UNIT_W 

Watts

+
UNIT_kW 

Kilowatts

+
UNIT_MW 

Megawatts

+
UNIT_VA 

Volt-ampere

+
UNIT_kVA 

Kilovolt-ampere

+
UNIT_MVA 

Megavolt-ampere

+
UNIT_VAr 

Volt-ampere reactive

+
UNIT_kVAr 

Kilovolt-ampere reactive

+
UNIT_MVAr 

Megavolt-ampere reactive

+
UNIT_OHM 

Ohm

+
UNIT_OHM_km 

Ohm/km

+
UNIT_S 

Siemens

+
UNIT_S_km 

Siemens/km

+
UNIT_DEGREE 

Degree

+
UNIT_RADIAN 

Radian

+
+ +
+
+ +

◆ FaultData

+ +
+
+ + + + +
enum FaultData
+
+ +

Information about fault (type and location).

+ + + + + + + + +
Enumerator
FAULT_THREEPHASE 

Three-phase fault

+
FAULT_2LINE 

Line-to-line fault

+
FAULT_2LINE_GROUND 

Double line-to-ground fault

+
FAULT_LINE_GROUND 

Line-to-ground fault

+
FAULT_LINE_A 

Fault on phase A or phase AB

+
FAULT_LINE_B 

Fault on phase B or phase BC

+
FAULT_LINE_C 

Fault on phase C or phase CA

+
+ +
+
+ +

◆ PowerFlowDirection

+ +
+
+ + + + +
enum PowerFlowDirection
+
+ +

Direction of power flow arrows.

+ + + + + + +
Enumerator
PF_NONE 

No direction (no arrows printed)

+
PF_TO_BUS 

Element to bus

+
PF_TO_ELEMENT 

Bus to element

+
PF_BUS1_TO_BUS2 

First bus to secont bus (branch elements)

+
PF_BUS2_TO_BUS1 

Second bus to first bus (branch elements)

+
+ +
+
+ +

◆ SwitchingType

+ +
+
+ + + + +
enum SwitchingType
+
+ +

Type of switching.

+ + + +
Enumerator
SW_INSERT 

Insert element

+
SW_REMOVE 

Remove element

+
+ +
+
+
+ + + + diff --git a/docs/doxygen/html/_power_element_8h_source.html b/docs/doxygen/html/_power_element_8h_source.html new file mode 100644 index 0000000..49a5bab --- /dev/null +++ b/docs/doxygen/html/_power_element_8h_source.html @@ -0,0 +1,136 @@ + + + + + + + +PSP-UFU: Project/PowerElement.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
PowerElement.h
+
+
+Go to the documentation of this file.
1 #ifndef POWERELEMENT_H
2 #define POWERELEMENT_H
3 
4 #include "Element.h"
5 #include "ElementPlotData.h"
6 
12  UNIT_PU = 0,
32 };
33 
38 enum FaultData {
46 };
47 
53  SW_INSERT = 0,
55 };
56 
62  PF_NONE = 0,
67 };
68 
76 struct SwitchingData {
77  std::vector<SwitchingType> swType;
78  std::vector<double> swTime;
79 };
80 
89  double c;
90  double m;
91 };
92 
100 class PowerElement : public Element
101 {
102  public:
106  PowerElement();
110  ~PowerElement();
111 
118  virtual wxPoint2DDouble GetSwitchPoint(Element* parent,
119  wxPoint2DDouble parentPoint,
120  wxPoint2DDouble secondPoint) const;
121 
126  virtual bool SwitchesContains(wxPoint2DDouble position) const;
127 
131  virtual void UpdateSwitches();
132 
136  virtual void DrawSwitches() const;
137 
142  virtual void CalculatePowerFlowPts(std::vector<wxPoint2DDouble> edges);
143 
147  virtual void DrawPowerFlowPts() const;
148 
154  virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit);
155 
160  virtual void SetSwitchingData(SwitchingData data) { m_swData = data; }
165  virtual SwitchingData GetSwitchingData() { return m_swData; }
170  virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection) { m_pfDirection = pfDirection; }
175  virtual PowerFlowDirection GetPowerFlowDirection() const { return m_pfDirection; }
181  virtual bool GetPlotData(ElementPlotData& plotData) { return false; }
186  virtual bool HaveDynamicEvent() const { return m_dynEvent; }
191  virtual void SetDynamicEvent(bool dynEvent = true) { m_dynEvent = dynEvent; }
192  virtual double GetValueFromUnit(double value, ElectricalUnit valueUnit);
193 
194  protected:
195  SwitchingData m_swData;
196  std::vector<std::vector<wxPoint2DDouble> > m_powerFlowArrow;
197  PowerFlowDirection m_pfDirection = PF_NONE;
198 
199  OpenGLColour m_busColour;
200  OpenGLColour m_onlineElementColour;
201  OpenGLColour m_offlineElementColour;
202  OpenGLColour m_closedSwitchColour;
203  OpenGLColour m_openedSwitchColour;
204  OpenGLColour m_powerFlowArrowColour;
205  OpenGLColour m_dynamicEventColour;
206 
207  bool m_dynEvent = false;
208 };
209 
210 #endif // POWERELEMENT_H
Definition: PowerElement.h:26
+
Definition: PowerElement.h:45
+
std::vector< double > swTime
Definition: PowerElement.h:78
+
Definition: PowerElement.h:15
+
Definition: Element.h:88
+
Definition: PowerElement.h:42
+
Definition: PowerElement.h:13
+
Definition: PowerElement.h:30
+
FaultData
Information about fault (type and location).
Definition: PowerElement.h:38
+
virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection)
Set the direction of the power flow.
Definition: PowerElement.h:170
+
virtual bool HaveDynamicEvent() const
Check if the power element have dynamic event.
Definition: PowerElement.h:186
+
Definition: PowerElement.h:19
+
Definition: PowerElement.h:14
+
std::vector< SwitchingType > swType
Definition: PowerElement.h:77
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:12
+
Definition: PowerElement.h:88
+
virtual void SetDynamicEvent(bool dynEvent=true)
Set if the power element have dynamic event.
Definition: PowerElement.h:191
+
Definition: PowerElement.h:54
+
Definition: PowerElement.h:64
+
Class to manage color of OpenGL.
+
Definition: PowerElement.h:18
+
double m
Definition: PowerElement.h:90
+
virtual bool GetPlotData(ElementPlotData &plotData)
Fill the plot data.
Definition: PowerElement.h:181
+
Definition: PowerElement.h:76
+
Definition: PowerElement.h:43
+
Definition: ElementPlotData.h:39
+
Definition: PowerElement.h:22
+
Definition: PowerElement.h:16
+
Definition: PowerElement.h:40
+
Definition: PowerElement.h:27
+
Definition: PowerElement.h:25
+
Definition: PowerElement.h:39
+
double c
Definition: PowerElement.h:89
+
Definition: PowerElement.h:28
+
Definition: PowerElement.h:66
+
Definition: PowerElement.h:24
+
virtual PowerFlowDirection GetPowerFlowDirection() const
Return the direction of the power flow.
Definition: PowerElement.h:175
+
Definition: PowerElement.h:41
+
virtual SwitchingData GetSwitchingData()
Returns the switching data of the element.
Definition: PowerElement.h:165
+
Definition: PowerElement.h:63
+
SwitchingType
Type of switching.
Definition: PowerElement.h:52
+
Definition: PowerElement.h:62
+
Definition: PowerElement.h:23
+
Definition: Element.h:48
+
PowerFlowDirection
Direction of power flow arrows.
Definition: PowerElement.h:61
+
Definition: PowerElement.h:100
+
Definition: PowerElement.h:29
+
Definition: PowerElement.h:65
+
Definition: PowerElement.h:20
+
Definition: PowerElement.h:44
+
Definition: PowerElement.h:31
+
virtual void SetSwitchingData(SwitchingData data)
Set the switching data of the element.
Definition: PowerElement.h:160
+
Definition: PowerElement.h:53
+
Definition: PowerElement.h:21
+
Definition: PowerElement.h:17
+
+ + + + diff --git a/docs/doxygen/html/_power_flow_8h_source.html b/docs/doxygen/html/_power_flow_8h_source.html new file mode 100644 index 0000000..0937b33 --- /dev/null +++ b/docs/doxygen/html/_power_flow_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/PowerFlow.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
PowerFlow.h
+
+
+
1 #ifndef POWERFLOW_H
2 #define POWERFLOW_H
3 
4 #include "ElectricCalculation.h"
5 
6 #include <wx/string.h>
7 #include <wx/intl.h> //_()
8 
10 {
11 public:
12  PowerFlow();
13  PowerFlow(std::vector<Element*> elementList);
14  ~PowerFlow();
15  virtual bool RunGaussSeidel(double systemPowerBase = 100e6,
16  int maxIteration = 5000,
17  double error = 1e-6,
18  double initAngle = 0.0,
19  double accFactor = 1.0);
20 
21  virtual wxString GetErrorMessage() { return m_errorMsg; }
22 
23 protected:
24  std::vector<std::vector<std::complex<double> > > m_yBus;
25  wxString m_errorMsg = "";
26 };
27 
28 #endif // POWERFLOW_H
Definition: PowerFlow.h:9
+
Base class of electric calculations, with general methods.
+
Definition: ElectricCalculation.h:49
+
+ + + + diff --git a/docs/doxygen/html/_properties_data_8h_source.html b/docs/doxygen/html/_properties_data_8h_source.html new file mode 100644 index 0000000..f3c7b3e --- /dev/null +++ b/docs/doxygen/html/_properties_data_8h_source.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Project/PropertiesData.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
PropertiesData.h
+
+
+
1 #ifndef PROPERTIESDATA_H
2 #define PROPERTIESDATA_H
3 
4 #include "wx/language.h"
5 #include "Element.h"
6 #include "PowerElement.h"
7 
8 enum PowerFlowMethod { GAUSS_SEIDEL = 0, NEWTON_RAPHSON };
9 enum GUITheme { THEME_LIGHT = 0, THEME_DARK };
10 
12  // General simulation data
13  double basePower = 100.0;
14  ElectricalUnit basePowerUnit = UNIT_MVA;
15  bool faultAfterPowerFlow = true;
16  bool scPowerAfterPowerFlow = true;
17 
18  // Power flow
19  PowerFlowMethod powerFlowMethod = GAUSS_SEIDEL;
20  double accFator = 1.0;
21  double powerFlowTolerance = 1e-7;
22  int powerFlowMaxIterations = 5000;
23 
24  // Stability
25  double stabilityFrequency = 60.0;
26  double timeStep = 1e-2;
27  double stabilitySimulationTime = 10.0;
28  double stabilityTolerance = 1e-8;
29  int stabilityMaxIterations = 100;
30  int controlTimeStepRatio = 10;
31  double plotTime = 1e-2;
32  bool useCOI = true;
33 };
34 
35 struct GeneralData {
36  wxLanguage language = wxLANGUAGE_ENGLISH;
37  GUITheme theme = THEME_LIGHT;
38 };
39 
41 {
42  public:
44  ~PropertiesData();
45 
46  SimulationData GetSimulationPropertiesData() const { return m_simulData; }
47  void SetSimulationPropertiesData(SimulationData simulationData) { m_simulData = simulationData; }
48  GeneralData GetGeneralPropertiesData() const { return m_genData; }
49  void SetGeneralPropertiesData(GeneralData generalData) { m_genData = generalData; }
50  protected:
51  SimulationData m_simulData;
52  GeneralData m_genData;
53 };
54 
55 #endif // PROPERTIESDATA_H
Definition: PropertiesData.h:40
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Class to manage color of OpenGL.
+
Definition: PropertiesData.h:11
+
Definition: PowerElement.h:22
+
Switching data of power elements.
+
Definition: PropertiesData.h:35
+
+ + + + diff --git a/docs/doxygen/html/_properties_form_8h_source.html b/docs/doxygen/html/_properties_form_8h_source.html new file mode 100644 index 0000000..5e1cc9e --- /dev/null +++ b/docs/doxygen/html/_properties_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/PropertiesForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
PropertiesForm.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: PropertiesForm.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_PROPERTIESFORM_BASE_CLASSES_H
8 #define _PSP_PROJECT_PROPERTIESFORM_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/dialog.h>
14 #include <wx/iconbndl.h>
15 #include <wx/artprov.h>
16 #include <wx/sizer.h>
17 #include <wx/notebook.h>
18 #include <wx/panel.h>
19 #include <wx/imaglist.h>
20 #include <wx/stattext.h>
21 #include <wx/choice.h>
22 #include <wx/arrstr.h>
23 #include <wx/button.h>
24 #include <wx/textctrl.h>
25 #include <wx/statbox.h>
26 #include <wx/checkbox.h>
27 #include <wx/statbmp.h>
28 #include <wx/grid.h>
29 #include <wx/richtext/richtextctrl.h>
30 #include <wx/hyperlink.h>
31 #if wxVERSION_NUMBER >= 2900
32 #include <wx/persist.h>
33 #include <wx/persist/toplevel.h>
34 #include <wx/persist/bookctrl.h>
35 #include <wx/persist/treebook.h>
36 #endif
37 
38 #ifdef WXC_FROM_DIP
39 #undef WXC_FROM_DIP
40 #endif
41 #if wxVERSION_NUMBER >= 3100
42 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
43 #else
44 #define WXC_FROM_DIP(x) x
45 #endif
46 
47 
48 class GeneralPropertiesFormBase : public wxDialog
49 {
50 protected:
51  wxNotebook* m_notebook;
52  wxPanel* m_panelGeneral;
53  wxStaticText* m_staticTextLanguage;
54  wxChoice* m_choiceLanguage;
55  wxStaticText* m_staticTextTheme;
56  wxChoice* m_choiceTheme;
57  wxButton* m_buttonOK;
58  wxButton* m_buttonCancel;
59 
60 protected:
61  virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
62  virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
63 
64 public:
65  wxStaticText* GetStaticTextLanguage() { return m_staticTextLanguage; }
66  wxChoice* GetChoiceLanguage() { return m_choiceLanguage; }
67  wxStaticText* GetStaticTextTheme() { return m_staticTextTheme; }
68  wxChoice* GetChoiceTheme() { return m_choiceTheme; }
69  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
70  wxNotebook* GetNotebook() { return m_notebook; }
71  wxButton* GetButtonOK() { return m_buttonOK; }
72  wxButton* GetButtonCancel() { return m_buttonCancel; }
73  GeneralPropertiesFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("General settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
74  virtual ~GeneralPropertiesFormBase();
75 };
76 
77 
78 class SimulationsSettingsFormBase : public wxDialog
79 {
80 protected:
81  wxNotebook* m_notebook;
82  wxPanel* m_panelGeneral;
83  wxStaticText* m_staticTextBasePower;
84  wxTextCtrl* m_textCtrlbasePower;
85  wxChoice* m_choiceBasePower;
86  wxCheckBox* m_checkBoxFaultAfterPF;
87  wxCheckBox* m_checkBoxSCPowerAfterPF;
88  wxPanel* m_panelPF;
89  wxStaticText* m_staticTextPFMethod;
90  wxChoice* m_choicePFMethod;
91  wxStaticText* m_staticTextAccFactor;
92  wxTextCtrl* m_textCtrlAccFactor;
93  wxStaticText* m_staticTextPFTolerance;
94  wxTextCtrl* m_textCtrlPFTolerance;
95  wxStaticText* m_staticTextPFMaxIterations;
96  wxTextCtrl* m_textCtrlPFMaxIterations;
97  wxPanel* m_panelStability;
98  wxStaticText* m_staticTextTimeStep;
99  wxTextCtrl* m_textCtrlTimeStep;
100  wxStaticText* m_staticTextSec_1;
101  wxStaticText* m_staticTextTSimTime;
102  wxTextCtrl* m_textCtrlSimTime;
103  wxStaticText* m_staticTextSec_2;
104  wxStaticText* m_staticTextFreq;
105  wxTextCtrl* m_textCtrlFreq;
106  wxStaticText* m_staticTextFreqUnit;
107  wxStaticText* m_staticTextTStabTolerance;
108  wxTextCtrl* m_textCtrlStabTolerance;
109  wxStaticText* m_staticTextTStabMaxIterations;
110  wxTextCtrl* m_textCtrlStabMaxIterations;
111  wxStaticText* m_staticTextCtrlStepRation;
112  wxTextCtrl* m_textCtrlCtrlStepRatio;
113  wxStaticText* m_staticTextPrintTime;
114  wxTextCtrl* m_textCtrlPrintTime;
115  wxStaticText* m_staticTextSec_4;
116  wxCheckBox* m_checkBoxUseCOI;
117  wxButton* m_buttonOK;
118  wxButton* m_buttonCancel;
119 
120 protected:
121  virtual void OnPFMethodChoiceSelected(wxCommandEvent& event) { event.Skip(); }
122  virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
123  virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
124 
125 public:
126  wxStaticText* GetStaticTextBasePower() { return m_staticTextBasePower; }
127  wxTextCtrl* GetTextCtrlbasePower() { return m_textCtrlbasePower; }
128  wxChoice* GetChoiceBasePower() { return m_choiceBasePower; }
129  wxCheckBox* GetCheckBoxFaultAfterPF() { return m_checkBoxFaultAfterPF; }
130  wxCheckBox* GetCheckBoxSCPowerAfterPF() { return m_checkBoxSCPowerAfterPF; }
131  wxPanel* GetPanelGeneral() { return m_panelGeneral; }
132  wxStaticText* GetStaticTextPFMethod() { return m_staticTextPFMethod; }
133  wxChoice* GetChoicePFMethod() { return m_choicePFMethod; }
134  wxStaticText* GetStaticTextAccFactor() { return m_staticTextAccFactor; }
135  wxTextCtrl* GetTextCtrlAccFactor() { return m_textCtrlAccFactor; }
136  wxStaticText* GetStaticTextPFTolerance() { return m_staticTextPFTolerance; }
137  wxTextCtrl* GetTextCtrlPFTolerance() { return m_textCtrlPFTolerance; }
138  wxStaticText* GetStaticTextPFMaxIterations() { return m_staticTextPFMaxIterations; }
139  wxTextCtrl* GetTextCtrlPFMaxIterations() { return m_textCtrlPFMaxIterations; }
140  wxPanel* GetPanelPF() { return m_panelPF; }
141  wxStaticText* GetStaticTextTimeStep() { return m_staticTextTimeStep; }
142  wxTextCtrl* GetTextCtrlTimeStep() { return m_textCtrlTimeStep; }
143  wxStaticText* GetStaticTextSec_1() { return m_staticTextSec_1; }
144  wxStaticText* GetStaticTextTSimTime() { return m_staticTextTSimTime; }
145  wxTextCtrl* GetTextCtrlSimTime() { return m_textCtrlSimTime; }
146  wxStaticText* GetStaticTextSec_2() { return m_staticTextSec_2; }
147  wxStaticText* GetStaticTextFreq() { return m_staticTextFreq; }
148  wxTextCtrl* GetTextCtrlFreq() { return m_textCtrlFreq; }
149  wxStaticText* GetStaticTextFreqUnit() { return m_staticTextFreqUnit; }
150  wxStaticText* GetStaticTextTStabTolerance() { return m_staticTextTStabTolerance; }
151  wxTextCtrl* GetTextCtrlStabTolerance() { return m_textCtrlStabTolerance; }
152  wxStaticText* GetStaticTextTStabMaxIterations() { return m_staticTextTStabMaxIterations; }
153  wxTextCtrl* GetTextCtrlStabMaxIterations() { return m_textCtrlStabMaxIterations; }
154  wxStaticText* GetStaticTextCtrlStepRation() { return m_staticTextCtrlStepRation; }
155  wxTextCtrl* GetTextCtrlCtrlStepRatio() { return m_textCtrlCtrlStepRatio; }
156  wxStaticText* GetStaticTextPrintTime() { return m_staticTextPrintTime; }
157  wxTextCtrl* GetTextCtrlPrintTime() { return m_textCtrlPrintTime; }
158  wxStaticText* GetStaticTextSec_4() { return m_staticTextSec_4; }
159  wxCheckBox* GetCheckBoxUseCOI() { return m_checkBoxUseCOI; }
160  wxPanel* GetPanelStability() { return m_panelStability; }
161  wxNotebook* GetNotebook() { return m_notebook; }
162  wxButton* GetButtonOK() { return m_buttonOK; }
163  wxButton* GetButtonCancel() { return m_buttonCancel; }
164  SimulationsSettingsFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Simulation settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
165  virtual ~SimulationsSettingsFormBase();
166 };
167 
168 
169 class AboutFormBase : public wxDialog
170 {
171 protected:
172  wxNotebook* m_notebook;
173  wxPanel* m_panelLogo;
174  wxStaticBitmap* m_staticBitmapLogo;
175  wxPanel* m_panelCredits;
176  wxGrid* m_gridCredits;
177  wxPanel* m_panelLicense;
178  wxRichTextCtrl* m_richTextCtrlLicense;
179  wxStaticText* m_staticTextVersionLabel;
180  wxStaticText* m_staticTextVersion;
181  wxStaticText* m_staticTextHome;
182  wxHyperlinkCtrl* m_hyperLinkPSP;
183  wxButton* m_buttonOK;
184 
185 protected:
186  virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
187 
188 public:
189  wxStaticBitmap* GetStaticBitmapLogo() { return m_staticBitmapLogo; }
190  wxPanel* GetPanelLogo() { return m_panelLogo; }
191  wxGrid* GetGridCredits() { return m_gridCredits; }
192  wxPanel* GetPanelCredits() { return m_panelCredits; }
193  wxRichTextCtrl* GetRichTextCtrlLicense() { return m_richTextCtrlLicense; }
194  wxPanel* GetPanelLicense() { return m_panelLicense; }
195  wxNotebook* GetNotebook() { return m_notebook; }
196  wxStaticText* GetStaticTextVersionLabel() { return m_staticTextVersionLabel; }
197  wxStaticText* GetStaticTextVersion() { return m_staticTextVersion; }
198  wxStaticText* GetStaticTextHome() { return m_staticTextHome; }
199  wxHyperlinkCtrl* GetHyperLinkPSP() { return m_hyperLinkPSP; }
200  wxButton* GetButtonOK() { return m_buttonOK; }
201  AboutFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About PSP-UFU"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
202  virtual ~AboutFormBase();
203 };
204 
205 #endif
Definition: PropertiesForm.h:78
+
Definition: PropertiesForm.h:169
+
Definition: PropertiesForm.h:48
+
+ + + + diff --git a/docs/doxygen/html/_rate_limiter_8h_source.html b/docs/doxygen/html/_rate_limiter_8h_source.html new file mode 100644 index 0000000..3ff74d9 --- /dev/null +++ b/docs/doxygen/html/_rate_limiter_8h_source.html @@ -0,0 +1,90 @@ + + + + + + + +PSP-UFU: Project/RateLimiter.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
RateLimiter.h
+
+
+
1 #ifndef RATELIMITER_H
2 #define RATELIMITER_H
3 
4 #include "ControlElement.h"
5 
6 class RateLimiterForm;
7 
8 class RateLimiter : public ControlElement
9 {
10  public:
11  RateLimiter(int id);
12  ~RateLimiter();
13 
14  virtual void Draw(wxPoint2DDouble translation, double scale) const;
15  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
16  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
17  virtual bool ShowForm(wxWindow* parent, Element* element);
18  virtual void Rotate(bool clockwise = true);
19 
20  virtual void UpdatePoints();
21 
22  double GetUpLimit() const { return m_upLimit; }
23  double GetLowLimit() const { return m_lowLimit; }
24  void SetUpLimit(double upLimit) { m_upLimit = upLimit; }
25  void SetLowLimit(double lowLimit) { m_lowLimit = lowLimit; }
26 
27  virtual bool Solve(double input, double timeStep);
28 
29  virtual Element* GetCopy();
30 
31  protected:
32  double m_upLimit = 5.0;
33  double m_lowLimit = -5.0;
34 };
35 
36 #endif // RATELIMITER_H
Definition: Element.h:88
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: RateLimiter.cpp:49
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: RateLimiter.h:16
+
Definition: RateLimiter.h:8
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: RateLimiter.cpp:60
+
Definition: ControlElement.h:53
+
virtual Element * GetCopy()
Get a the element copy.
Definition: RateLimiter.cpp:116
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: RateLimiter.h:15
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: RateLimiter.cpp:17
+
Definition: RateLimiterForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_rate_limiter_form_8h_source.html b/docs/doxygen/html/_rate_limiter_form_8h_source.html new file mode 100644 index 0000000..06813c0 --- /dev/null +++ b/docs/doxygen/html/_rate_limiter_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/RateLimiterForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
RateLimiterForm.h
+
+
+
1 #ifndef RATELIMITERFORM_H
2 #define RATELIMITERFORM_H
3 #include "ElementForm.h"
4 
5 class RateLimiter;
6 
8 {
9  public:
10  RateLimiterForm(wxWindow* parent, RateLimiter* rateLimiter);
11  virtual ~RateLimiterForm();
12  bool ValidateData();
13 
14  protected:
15  virtual void OnCancelButtonClick(wxCommandEvent& event) {EndModal(wxID_OK);}
16  virtual void OnOKButtonClick(wxCommandEvent& event);
17 
18  wxWindow* m_parent = NULL;
19  RateLimiter* m_rateLimiter = NULL;
20 };
21 #endif // RATELIMITERFORM_H
Definition: RateLimiter.h:8
+
Definition: ElementForm.h:861
+
Definition: RateLimiterForm.h:7
+
+ + + + diff --git a/docs/doxygen/html/_reactive_shunt_element_form_8h_source.html b/docs/doxygen/html/_reactive_shunt_element_form_8h_source.html new file mode 100644 index 0000000..fd4e66b --- /dev/null +++ b/docs/doxygen/html/_reactive_shunt_element_form_8h_source.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Project/ReactiveShuntElementForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ReactiveShuntElementForm.h
+
+
+
1 #ifndef REACTIVESHUNTELEMENTFORM_H
2 #define REACTIVESHUNTELEMENTFORM_H
3 #include "ElementForm.h"
4 #include <wx/log.h>
5 
6 class Capacitor;
7 class Inductor;
8 class SwitchingForm;
9 
11 {
12  public:
13  ReactiveShuntElementForm(wxWindow* parent, Capacitor* capacitor);
14  ReactiveShuntElementForm(wxWindow* parent, Inductor* inductor);
15  virtual ~ReactiveShuntElementForm();
16  virtual bool ValidateData();
17 
18  protected:
19  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
20  virtual void OnOKButtonClick(wxCommandEvent& event);
21  virtual void OnStabilityButtonClick(wxCommandEvent& event);
22 
23  wxWindow* m_parent;
24  Capacitor* m_capacitor = NULL;
25  Inductor* m_inductor = NULL;
26 };
27 #endif // REACTIVESHUNTELEMENTFORM_H
Definition: SwitchingForm.h:8
+
Definition: ElementForm.h:597
+
Definition: Capacitor.h:14
+
Definition: Inductor.h:14
+
Definition: ReactiveShuntElementForm.h:10
+
+ + + + diff --git a/docs/doxygen/html/_shunt_8h_source.html b/docs/doxygen/html/_shunt_8h_source.html new file mode 100644 index 0000000..d3443d8 --- /dev/null +++ b/docs/doxygen/html/_shunt_8h_source.html @@ -0,0 +1,94 @@ + + + + + + + +PSP-UFU: Project/Shunt.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Shunt.h
+
+
+
1 #ifndef SHUNT_H
2 #define SHUNT_H
3 
4 #include "PowerElement.h"
5 #include "Bus.h"
6 
7 class Shunt : public PowerElement
8 {
9 public:
10  Shunt();
11  ~Shunt();
12 
13  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
14  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
15  virtual void Move(wxPoint2DDouble position);
16  virtual void MoveNode(Element* element, wxPoint2DDouble position);
17  virtual void StartMove(wxPoint2DDouble position);
18  virtual void RotateNode(Element* parent, bool clockwise = true);
19  virtual void RemoveParent(Element* parent);
20  virtual bool NodeContains(wxPoint2DDouble position);
21  virtual bool SetNodeParent(Element* parent);
22  virtual void UpdateNodes();
23 
24  protected:
25  void UpdateSwitchesPosition();
26  void UpdatePowerFlowArrowsPosition();
27  void DrawGround(wxPoint2DDouble position) const;
28  bool m_inserted = false;
29 
30 };
31 
32 #endif // SHUNT_H
Definition: Element.h:88
+
virtual void MoveNode(Element *element, wxPoint2DDouble position)
Move a node. StartMove(wxPoint2DDouble position) before start moving.
Definition: Shunt.cpp:28
+
virtual void UpdateNodes()
Update the nodes according to the parents. If a parent is removed, use this method.
Definition: Shunt.cpp:108
+
virtual void RemoveParent(Element *parent)
Remove a parent.
Definition: Shunt.cpp:57
+
virtual void RotateNode(Element *parent, bool clockwise=true)
Rotate a node.
Definition: Shunt.cpp:124
+
virtual void Move(wxPoint2DDouble position)
Move the element other position.
Definition: Shunt.cpp:15
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Shunt.h:13
+
Switching data of power elements.
+
virtual void StartMove(wxPoint2DDouble position)
Update the element attributes related to the movement.
Definition: Shunt.cpp:50
+
virtual bool SetNodeParent(Element *parent)
Set a perent to the node. If all conditions are met, a new parent are added to the element and the po...
Definition: Shunt.cpp:81
+
virtual bool NodeContains(wxPoint2DDouble position)
Check if a node contains a point. If contains, set the attributes related to node movement...
Definition: Shunt.cpp:67
+
Definition: PowerElement.h:100
+
Definition: Shunt.h:7
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Shunt.h:14
+
+ + + + diff --git a/docs/doxygen/html/_simulations_settings_form_8h_source.html b/docs/doxygen/html/_simulations_settings_form_8h_source.html new file mode 100644 index 0000000..cecc9c9 --- /dev/null +++ b/docs/doxygen/html/_simulations_settings_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/SimulationsSettingsForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
SimulationsSettingsForm.h
+
+
+
1 #ifndef SIMULATIONSSETTINGSFORM_H
2 #define SIMULATIONSSETTINGSFORM_H
3 
4 #include "PropertiesForm.h"
5 
6 class PropertiesData;
7 
9 {
10 public:
11  SimulationsSettingsForm(wxWindow* parent, PropertiesData* properties);
12  virtual ~SimulationsSettingsForm();
13 protected:
14  virtual void OnPFMethodChoiceSelected(wxCommandEvent& event);
15  virtual void OnButtonCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
16  virtual void OnButtonOKClick(wxCommandEvent& event);
17  virtual bool ValidateData();
18 
19  PropertiesData* m_properties;
20 };
21 #endif // SIMULATIONSSETTINGSFORM_H
Definition: PropertiesData.h:40
+
Definition: PropertiesForm.h:78
+
Definition: SimulationsSettingsForm.h:8
+
+ + + + diff --git a/docs/doxygen/html/_sum_8h_source.html b/docs/doxygen/html/_sum_8h_source.html new file mode 100644 index 0000000..a661811 --- /dev/null +++ b/docs/doxygen/html/_sum_8h_source.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Project/Sum.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Sum.h
+
+
+
1 #ifndef SUM_H
2 #define SUM_H
3 
4 #include "ControlElement.h"
5 
6 class SumForm;
7 class ConnectionLine;
8 
9 class Sum : public ControlElement
10 {
11 public:
12  enum Signal { SIGNAL_POSITIVE = 0, SIGNAL_NEGATIVE };
13  Sum(int id);
14  ~Sum();
15 
16  virtual void Draw(wxPoint2DDouble translation, double scale) const;
17  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
18  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
19  virtual bool ShowForm(wxWindow* parent, Element* element);
20  virtual void Rotate(bool clockwise = true);
21 
22  virtual std::vector<Signal> GetSignalList() const { return m_signalList; }
23  virtual void SetSignalList(std::vector<Signal> signalList) { m_signalList = signalList; }
24 
25  virtual bool Solve(double input, double timeStep);
26 
27  virtual void UpdatePoints();
28  void AddInNode();
29  void RemoveInNode();
30 
31  virtual Element* GetCopy();
32 
33 protected:
34  std::vector<Signal> m_signalList;
35 };
36 
37 #endif // SUM_H
Definition: SumForm.h:8
+
Definition: Element.h:88
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: Sum.cpp:95
+
Definition: Sum.h:9
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Sum.cpp:166
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Sum.h:17
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Sum.cpp:221
+
Definition: ConnectionLine.h:6
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Sum.h:18
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: Sum.cpp:26
+
Definition: ControlElement.h:53
+
+ + + + diff --git a/docs/doxygen/html/_sum_form_8h_source.html b/docs/doxygen/html/_sum_form_8h_source.html new file mode 100644 index 0000000..3487e63 --- /dev/null +++ b/docs/doxygen/html/_sum_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/SumForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
SumForm.h
+
+
+
1 #ifndef SUMFORM_H
2 #define SUMFORM_H
3 
4 #include "ElementForm.h"
5 
6 class Sum;
7 
8 class SumForm : public SumFormBase
9 {
10 public:
11  SumForm(wxWindow* parent, Sum* sum);
12  virtual ~SumForm();
13 
14  bool ValidateData();
15 
16 protected:
17  virtual void OnCancelClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
18  virtual void OnOKClick(wxCommandEvent& event);
19  wxWindow* m_parent = NULL;
20  Sum* m_sum = NULL;
21 };
22 #endif // SUMFORM_H
Definition: SumForm.h:8
+
Definition: Sum.h:9
+
Definition: ElementForm.h:805
+
+ + + + diff --git a/docs/doxygen/html/_switching_form_8h_source.html b/docs/doxygen/html/_switching_form_8h_source.html new file mode 100644 index 0000000..955475f --- /dev/null +++ b/docs/doxygen/html/_switching_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/SwitchingForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
SwitchingForm.h
+
+
+
1 #ifndef SWITCHINGFORM_H
2 #define SWITCHINGFORM_H
3 
4 #include "ElementForm.h"
5 
6 class PowerElement;
7 
9 {
10 public:
11  SwitchingForm(wxWindow* parent);
12  SwitchingForm(wxWindow* parent, PowerElement* element);
13  virtual ~SwitchingForm();
14 protected:
15  virtual void OnDownButtonClick(wxCommandEvent& event);
16  virtual void OnUpButtonClick(wxCommandEvent& event);
17  virtual void OnChangeProperties(wxPropertyGridEvent& event);
18  virtual void OnSelectItem(wxListEvent& event);
19  virtual void OnCancelButtonClick(wxCommandEvent& event);
20  virtual void OnInsertButtonClick(wxCommandEvent& event);
21  virtual void OnOKButtonClick(wxCommandEvent& event);
22  virtual void OnRemoveButtonClick(wxCommandEvent& event);
23 
24  int m_maxID = 0;
25 
26  PowerElement* m_element = NULL;
27 };
28 #endif // SWITCHINGFORM_H
Definition: SwitchingForm.h:8
+
Definition: ElementForm.h:632
+
Definition: PowerElement.h:100
+
+ + + + diff --git a/docs/doxygen/html/_sync_generator_8h_source.html b/docs/doxygen/html/_sync_generator_8h_source.html new file mode 100644 index 0000000..989ea8f --- /dev/null +++ b/docs/doxygen/html/_sync_generator_8h_source.html @@ -0,0 +1,94 @@ + + + + + + + +PSP-UFU: Project/SyncGenerator.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
SyncGenerator.h
+
+
+
1 #ifndef SYNCGENERATOR_H
2 #define SYNCGENERATOR_H
3 
4 #include "Machines.h"
5 
6 class SyncMachineForm;
7 
9  // General
10  wxString name = "";
11  double nominalPower = 100.0;
12  ElectricalUnit nominalPowerUnit = UNIT_MVA;
13  double nominalVoltage = 13.8;
14  ElectricalUnit nominalVoltageUnit = UNIT_kV;
15  double activePower = 100.0;
16  ElectricalUnit activePowerUnit = UNIT_MW;
17  double reactivePower = 0.0;
18  ElectricalUnit reactivePowerUnit = UNIT_MVAr;
19  bool haveMaxReactive = false;
20  double maxReactive = 9999.0;
21  ElectricalUnit maxReactiveUnit = UNIT_MVAr;
22  bool haveMinReactive = false;
23  double minReactive = -9999.0;
24  ElectricalUnit minReactiveUnit = UNIT_MVAr;
25  bool useMachineBase = true;
26 
27  // Fault
28  double positiveResistance = 0.0;
29  double positiveReactance = 1.0;
30  double negativeResistance = 0.0;
31  double negativeReactance = 1.0;
32  double zeroResistance = 0.0;
33  double zeroReactance = 1.0;
34  double groundResistance = 0.0;
35  double groundReactance = 0.0;
36  bool groundNeutral = true;
37  // p.u. fault data
38  std::complex<double> faultCurrent[3] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
39  std::complex<double>(0.0, 0.0)};
40 
41  // Stability
42  bool plotSyncMachine = false;
43  double inertia = 1.0;
44  double damping = 0.0;
45  bool useAVR = false;
46  bool useSpeedGovernor = false;
47 
48  double armResistance = 0.0;
49  double potierReactance = 0.0;
50  double satFactor = 0.0;
51 
52  double syncXd = 0.0;
53  double syncXq = 0.0;
54  double transXd = 1.0;
55  double transXq = 0.0;
56  double transTd0 = 0.0;
57  double transTq0 = 0.0;
58  double subXd = 0.0;
59  double subXq = 0.0;
60  double subTd0 = 0.0;
61  double subTq0 = 0.0;
62 
63  // Machine state variables
64  std::complex<double> terminalVoltage;
65  std::vector<std::complex<double> > terminalVoltageVector;
66  std::complex<double> electricalPower;
67  std::vector<std::complex<double> > electricalPowerVector;
68  double pm;
69  std::vector<double> mechanicalPowerVector;
70  double speed;
71  std::vector<double> freqVector;
72  double fieldVoltage;
73  std::vector<double> fieldVoltageVector;
74  double delta;
75  std::vector<double> deltaVector;
76 
77  double initialFieldVoltage;
78 
79  // Internal machine variables
80  double tranEq;
81  double tranEd;
82  double subEq;
83  double subEd;
84  double pe;
85 
86  // Variables to extrapolate
87  double oldId;
88  double oldIq;
89  double oldPe;
90 
91  // Integration constants
92  IntegrationConstant icSpeed;
93  IntegrationConstant icDelta;
94  IntegrationConstant icTranEq;
95  IntegrationConstant icTranEd;
96  IntegrationConstant icSubEq;
97  IntegrationConstant icSubEd;
98 
99  // Control
100  ControlElementContainer* avr = NULL;
101  ControlElementContainer* speedGov = NULL;
102 
103  // Control solvers
104  ControlElementSolver* avrSolver = NULL;
105  ControlElementSolver* speedGovSolver = NULL;
106 
107  Machines::SyncMachineModel model = Machines::SM_MODEL_1;
108 };
109 
110 class SyncGenerator : public Machines
111 {
112  public:
113  SyncGenerator();
114  SyncGenerator(wxString name);
115  ~SyncGenerator();
116 
117  virtual Element* GetCopy();
118  virtual void Init();
119  virtual void DrawSymbol() const;
120  virtual bool GetContextMenu(wxMenu& menu);
121  virtual bool ShowForm(wxWindow* parent, Element* element);
122  virtual wxString GetTipText() const;
123  virtual SyncGeneratorElectricalData GetElectricalData() { return m_electricalData; }
124  virtual SyncGeneratorElectricalData GetPUElectricalData(double systemPowerBase);
125  virtual void SetElectricalData(SyncGeneratorElectricalData electricalData) { m_electricalData = electricalData; }
126  virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit);
127  virtual bool GetPlotData(ElementPlotData& plotData);
128 
129  protected:
130  std::vector<wxPoint2DDouble> m_sinePts;
131 
132  SyncGeneratorElectricalData m_electricalData;
133 };
134 
135 #endif // SYNCGENERATOR_H
Definition: SyncGenerator.h:8
+
Definition: Element.h:88
+
Definition: ControlElementSolver.h:20
+
Definition: SyncGenerator.h:110
+
Definition: PowerElement.h:19
+
Definition: PowerElement.h:14
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:88
+
Definition: SyncMachineForm.h:10
+
Definition: ElementPlotData.h:39
+
Definition: PowerElement.h:22
+
Definition: PowerElement.h:25
+
Definition: ControlElementContainer.h:20
+
Definition: Machines.h:9
+
+ + + + diff --git a/docs/doxygen/html/_sync_machine_form_8h_source.html b/docs/doxygen/html/_sync_machine_form_8h_source.html new file mode 100644 index 0000000..9bacd44 --- /dev/null +++ b/docs/doxygen/html/_sync_machine_form_8h_source.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Project/SyncMachineForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
SyncMachineForm.h
+
+
+
1 #ifndef SYNCMACHINEFORM_H
2 #define SYNCMACHINEFORM_H
3 
4 #include "ElementForm.h"
5 
7 class SyncGenerator;
8 class SyncMotor;
9 
11 {
12  public:
13  SyncMachineForm(wxWindow* parent, SyncGenerator* syncGenerator);
14  SyncMachineForm(wxWindow* parent, SyncMotor* syncMotor);
15  virtual ~SyncMachineForm();
16 
17  protected:
18  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); };
19  virtual void OnCheckMaxReactive(wxCommandEvent& event);
20  virtual void OnCheckMinReactive(wxCommandEvent& event);
21  virtual void OnOKButtonClick(wxCommandEvent& event);
22  virtual void OnStabilityButtonClick(wxCommandEvent& event);
23 
24  virtual bool ValidateData();
25  virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);
26 
27  SyncGenerator* m_syncGenerator = NULL;
28  SyncMotor* m_syncMotor = NULL;
29  wxWindow* m_parent = NULL;
30 };
31 #endif // SYNCMACHINEFORM_H
Definition: SyncGenerator.h:110
+
Definition: ElementForm.h:148
+
Definition: SyncMachineForm.h:10
+
Definition: GeneratorStabForm.h:11
+
Definition: SyncMotor.h:110
+
+ + + + diff --git a/docs/doxygen/html/_sync_motor_8h_source.html b/docs/doxygen/html/_sync_motor_8h_source.html new file mode 100644 index 0000000..376ed29 --- /dev/null +++ b/docs/doxygen/html/_sync_motor_8h_source.html @@ -0,0 +1,93 @@ + + + + + + + +PSP-UFU: Project/SyncMotor.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
SyncMotor.h
+
+
+
1 #ifndef SYNCMOTOR_H
2 #define SYNCMOTOR_H
3 
4 #include "Machines.h"
5 
6 class SyncMachineForm;
7 
9  // General
10  wxString name = "";
11  double nominalPower = 100.0;
12  ElectricalUnit nominalPowerUnit = UNIT_MVA;
13  double nominalVoltage = 13.8;
14  ElectricalUnit nominalVoltageUnit = UNIT_kV;
15  double activePower = 100.0;
16  ElectricalUnit activePowerUnit = UNIT_MW;
17  double reactivePower = 0.0;
18  ElectricalUnit reactivePowerUnit = UNIT_MVAr;
19  bool haveMaxReactive = false;
20  double maxReactive = 9999.0;
21  ElectricalUnit maxReactiveUnit = UNIT_MVAr;
22  bool haveMinReactive = false;
23  double minReactive = -9999.0;
24  ElectricalUnit minReactiveUnit = UNIT_MVAr;
25  bool useMachineBase = true;
26 
27  // Fault
28  double positiveResistance = 0.0;
29  double positiveReactance = 1.0;
30  double negativeResistance = 0.0;
31  double negativeReactance = 1.0;
32  double zeroResistance = 0.0;
33  double zeroReactance = 1.0;
34  double groundResistance = 0.0;
35  double groundReactance = 0.0;
36  bool groundNeutral = true;
37  // p.u. fault data
38  std::complex<double> faultCurrent[3] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
39  std::complex<double>(0.0, 0.0)};
40 
41  // Stability
42  bool plotSyncMachine = false;
43  double inertia = 1.0;
44  double damping = 0.0;
45  bool useAVR = false;
46  bool useSpeedGovernor = false;
47 
48  double armResistance = 0.0;
49  double potierReactance = 0.0;
50  double satFactor = 0.0;
51 
52  double syncXd = 0.0;
53  double syncXq = 0.0;
54  double transXd = 1.0;
55  double transXq = 0.0;
56  double transTd0 = 0.0;
57  double transTq0 = 0.0;
58  double subXd = 0.0;
59  double subXq = 0.0;
60  double subTd0 = 0.0;
61  double subTq0 = 0.0;
62 
63  // Machine state variables
64  std::complex<double> terminalVoltage;
65  std::vector<std::complex<double> > terminalVoltageVector;
66  std::complex<double> electricalPower;
67  std::vector<std::complex<double> > electricalPowerVector;
68  double pm;
69  std::vector<double> mechanicalPowerVector;
70  double speed;
71  std::vector<double> freqVector;
72  double fieldVoltage;
73  std::vector<double> fieldVoltageVector;
74  double delta;
75  std::vector<double> deltaVector;
76 
77  double initialFieldVoltage;
78 
79  // Internal machine variables
80  double tranEq;
81  double tranEd;
82  double subEq;
83  double subEd;
84  double pe;
85 
86  // Variables to extrapolate
87  double oldId;
88  double oldIq;
89  double oldPe;
90 
91  // Integration constants
92  IntegrationConstant icSpeed;
93  IntegrationConstant icDelta;
94  IntegrationConstant icTranEq;
95  IntegrationConstant icTranEd;
96  IntegrationConstant icSubEq;
97  IntegrationConstant icSubEd;
98 
99  // Control
100  ControlElementContainer* avr = NULL;
101  ControlElementContainer* speedGov = NULL;
102 
103  // Control solvers
104  ControlElementSolver* avrSolver = NULL;
105  ControlElementSolver* speedGovSolver = NULL;
106 
107  Machines::SyncMachineModel model = Machines::SM_MODEL_1;
108 };
109 
110 class SyncMotor : public Machines
111 {
112  public:
113  SyncMotor();
114  SyncMotor(wxString name);
115  ~SyncMotor();
116 
117  virtual Element* GetCopy();
118  virtual void DrawSymbol() const;
119  virtual bool GetContextMenu(wxMenu& menu);
120  virtual wxString GetTipText() const;
121  virtual SyncMotorElectricalData GetElectricalData() { return m_electricalData; }
122  virtual SyncMotorElectricalData GetPUElectricalData(double systemPowerBase);
123  virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit);
124  virtual void SetElectricalData(SyncMotorElectricalData electricalData) { m_electricalData = electricalData; }
125  virtual bool ShowForm(wxWindow* parent, Element* element);
126 
127  protected:
128  SyncMotorElectricalData m_electricalData;
129 };
130 
131 #endif // SYNCMOTOR_H
Definition: Element.h:88
+
Definition: ControlElementSolver.h:20
+
Definition: PowerElement.h:19
+
Definition: PowerElement.h:14
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:88
+
Definition: SyncMachineForm.h:10
+
Definition: PowerElement.h:22
+
Definition: PowerElement.h:25
+
Definition: ControlElementContainer.h:20
+
Definition: SyncMotor.h:110
+
Definition: Machines.h:9
+
Definition: SyncMotor.h:8
+
+ + + + diff --git a/docs/doxygen/html/_text_8h_source.html b/docs/doxygen/html/_text_8h_source.html new file mode 100644 index 0000000..33acea4 --- /dev/null +++ b/docs/doxygen/html/_text_8h_source.html @@ -0,0 +1,102 @@ + + + + + + + +PSP-UFU: Project/Text.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Text.h
+
+
+
1 #ifndef TEXT_H
2 #define TEXT_H
3 
4 #include "GraphicalElement.h"
5 #include "PowerElement.h"
6 #include "wxGLString.h"
7 
8 class TextForm;
9 
10 class Bus;
11 class Line;
12 class Transformer;
13 class SyncGenerator;
14 class IndMotor;
15 class SyncMotor;
16 class Load;
17 class Inductor;
18 class Capacitor;
19 
20 enum ElementType {
21  TYPE_NONE = 0,
22  TYPE_BUS,
23  TYPE_CAPACITOR,
24  TYPE_IND_MOTOR,
25  TYPE_INDUCTOR,
26  TYPE_LINE,
27  TYPE_LOAD,
28  TYPE_SYNC_GENERATOR,
29  TYPE_SYNC_MOTOR,
30  TYPE_TRANSFORMER
31 };
32 
33 enum DataType {
34  DATA_NAME,
35  DATA_VOLTAGE,
36  DATA_ANGLE,
37  DATA_SC_CURRENT,
38  DATA_SC_VOLTAGE,
39  DATA_SC_POWER,
40  DATA_ACTIVE_POWER,
41  DATA_REACTIVE_POWER,
42  DATA_PF_ACTIVE,
43  DATA_PF_REACTIVE,
44  DATA_PF_LOSSES,
45  DATA_PF_CURRENT
46 };
47 
48 class Text : public GraphicalElement
49 {
50 public:
51  Text();
52  Text(wxPoint2DDouble position);
53  ~Text();
54 
55  virtual Element* GetCopy();
56  virtual bool AddParent(Element* parent, wxPoint2DDouble position) { return true; };
57  virtual bool Contains(wxPoint2DDouble position) const;
58  virtual void Draw(wxPoint2DDouble translation, double scale);
59  virtual bool Intersects(wxRect2DDouble rect) const;
60  virtual void Rotate(bool clockwise = true);
61  virtual bool ShowForm(wxWindow* parent, std::vector<Element*> elementList);
62  virtual void UpdateText(double systemPowerBase);
63  virtual wxString GetText() const { return m_text; }
64  virtual void SetText(wxString text);
65 
66  void SetDataType(const DataType& dataType) { m_dataType = dataType; }
67  void SetDirection(int direction) { m_direction = direction; }
68  void SetElement(Element* element) { m_element = element; }
69  void SetElementNumber(int elementNumber) { m_elementNumber = elementNumber; }
70  void SetElementType(const ElementType elementType) { m_elementType = elementType; }
71  void SetFontSize(int fontSize) { m_fontSize = fontSize; }
72  void SetUnit(const ElectricalUnit unit) { m_unit = unit; }
73  void SetDecimalPlaces(int decimalPlaces) { m_decimalPlaces = decimalPlaces; }
74  const DataType GetDataType() const { return m_dataType; }
75  int GetDirection() const { return m_direction; }
76  Element* GetElement() { return m_element; }
77  int GetElementNumber() const { return m_elementNumber; }
78  const ElementType GetElementType() const { return m_elementType; }
79  int GetFontSize() const { return m_fontSize; }
80  const ElectricalUnit GetUnit() const { return m_unit; }
81  int GetDecimalPlaces() const { return m_decimalPlaces; }
82 
83 protected:
84  wxGLString* m_glString = NULL;
85  wxGLStringArray* m_glStringArray = NULL;
86 
87  wxString m_text = _("Text");
88  int m_numberOfLines;
89  bool m_isMultlineText = false;
90  int m_fontSize = 10;
91 
92  Element* m_element = NULL;
93  ElementType m_elementType = TYPE_NONE;
94  int m_elementNumber;
95  DataType m_dataType;
96  ElectricalUnit m_unit;
97  int m_direction = 0;
98  int m_decimalPlaces = 2;
99 };
100 
101 #endif // TEXT_H
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: Text.cpp:30
+
Definition: Text.h:48
+
Definition: GraphicalElement.h:6
+
Definition: Element.h:88
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: Text.cpp:145
+
Definition: SyncGenerator.h:110
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: Text.cpp:75
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
virtual Element * GetCopy()
Get a the element copy.
Definition: Text.cpp:950
+
Definition: Bus.h:45
+
virtual bool AddParent(Element *parent, wxPoint2DDouble position)
Add a parent to the element. This method must be used on power elements that connect to a bus...
Definition: Text.h:56
+
Definition: TextForm.h:8
+
Definition: Line.h:35
+
Definition: Load.h:23
+
Switching data of power elements.
+
Definition: SyncMotor.h:110
+
Definition: IndMotor.h:17
+
Definition: Capacitor.h:14
+
Definition: Inductor.h:14
+
Definition: wxGLString.h:168
+
Definition: wxGLString.h:77
+
Definition: Transformer.h:54
+
+ + + + diff --git a/docs/doxygen/html/_text_form_8h_source.html b/docs/doxygen/html/_text_form_8h_source.html new file mode 100644 index 0000000..8a7b1e9 --- /dev/null +++ b/docs/doxygen/html/_text_form_8h_source.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Project/TextForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
TextForm.h
+
+
+
1 #ifndef TEXTFORM_H
2 #define TEXTFORM_H
3 #include "ElementForm.h"
4 
5 #include "Text.h"
6 #include "ElectricCalculation.h"
7 
8 class TextForm : public TextFormBase
9 {
10 public:
11  TextForm(wxWindow* parent, Text* text, std::vector<Element*> elementList, double systemPowerBase = 100e6);
12  virtual ~TextForm();
13 
14  virtual bool LoadChoices();
15 
16  virtual void ElementTypeChoice();
17  virtual void ElementNumberChoice();
18  virtual void DataTypeChoice();
19  virtual void UnitChoice();
20 
21  virtual void Preview();
22  virtual bool ValidateData();
23 
24 protected:
25  virtual void OnUnitChoiceSelected(wxCommandEvent& event);
26  virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); }
27  virtual void OnOKButtonClick(wxCommandEvent& event);
28  virtual void OnElementChoiceSelected(wxCommandEvent& event);
29  virtual void OnFromBusChoiceSelected(wxCommandEvent& event);
30  virtual void OnNameChoiceSelected(wxCommandEvent& event);
31  virtual void OnTextEnter(wxCommandEvent& event);
32  virtual void OnToBusChoiceSelected(wxCommandEvent& event);
33  virtual void OnTypeChoiceSelected(wxCommandEvent& event);
34 
35  Text* m_text = NULL;
36  Text* m_textToEdit = NULL;
37  wxWindow* m_parent = NULL;
38  ElectricCalculation m_allElements;
39  double m_systemPowerBase;
40 };
41 #endif // TEXTFORM_H
Definition: Text.h:48
+
Base class of electric calculations, with general methods.
+
Definition: TextForm.h:8
+
Definition: ElectricCalculation.h:49
+
Definition: ElementForm.h:714
+
+ + + + diff --git a/docs/doxygen/html/_transfer_function_8h_source.html b/docs/doxygen/html/_transfer_function_8h_source.html new file mode 100644 index 0000000..9176405 --- /dev/null +++ b/docs/doxygen/html/_transfer_function_8h_source.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: Project/TransferFunction.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
TransferFunction.h
+
+
+
1 #ifndef TRANSFERFUNCTION_H
2 #define TRANSFERFUNCTION_H
3 
4 #include "ControlElement.h"
5 
6 #include <wx/dcscreen.h>
7 #include "wxGLString.h"
8 
10 
12 {
13  public:
14  struct SpaceState {
15  std::vector<std::vector<double> > A;
16  std::vector<double> B;
17  std::vector<double> C;
18  double D;
19  };
20 
21  TransferFunction(int id);
23 
24  virtual void Draw(wxPoint2DDouble translation, double scale) const;
25  virtual bool Contains(wxPoint2DDouble position) const { return m_rect.Contains(position); }
26  virtual bool Intersects(wxRect2DDouble rect) const { return m_rect.Intersects(rect); }
27  virtual bool ShowForm(wxWindow* parent, Element* element);
28  virtual void Rotate(bool clockwise = true);
29 
30  virtual std::vector<double> GetNumerator() const { return m_numerator; }
31  virtual std::vector<double> GetDenominator() const { return m_denominator; }
32  virtual void SetNumerator(std::vector<double> numerator) { m_numerator = numerator; }
33  virtual void SetDenominator(std::vector<double> denominator) { m_denominator = denominator; }
34  virtual void UpdateTFText();
35  virtual void UpdateText() { UpdateTFText(); }
36  virtual SpaceState GetSpaceState() { return m_ss; }
37  virtual void CalculateSpaceState(int maxIteration = 100, double error = 1e-3);
38  virtual bool Solve(double input, double timeStep);
39 
40  virtual Element* GetCopy();
41 
42  protected:
43  virtual void SetText(wxString numerator, wxString denominator);
44  virtual wxString GetSuperscriptNumber(int number);
45  virtual void GetTFString(wxString& numerator, wxString& denominator);
46 
47  wchar_t m_supNumber[10];
48 
49  wxGLString* m_glStringNum = NULL;
50  wxGLString* m_glStringDen = NULL;
51  int m_fontSize = 10;
52 
53  std::vector<double> m_numerator;
54  std::vector<double> m_denominator;
55  SpaceState m_ss;
56 
57  std::vector<double> m_x;
58  std::vector<double> m_dx;
59  double m_error = 1e-3;
60  int m_maxIteration = 100;
61 };
62 
63 #endif // TRANSFERFUNCTION_H
Definition: Element.h:88
+
virtual bool ShowForm(wxWindow *parent, Element *element)
Show element data form.
Definition: TransferFunction.cpp:209
+
virtual Element * GetCopy()
Get a the element copy.
Definition: TransferFunction.cpp:359
+
virtual bool Intersects(wxRect2DDouble rect) const
Check if the element&#39;s rect intersects other rect.
Definition: TransferFunction.h:26
+
Definition: TransferFunctionForm.h:8
+
Definition: TransferFunction.h:14
+
virtual void Rotate(bool clockwise=true)
Rotate the element.
Definition: TransferFunction.cpp:220
+
virtual bool Contains(wxPoint2DDouble position) const
Checks if the element contains a position.
Definition: TransferFunction.h:25
+
Definition: TransferFunction.h:11
+
virtual void Draw(wxPoint2DDouble translation, double scale) const
Draw the element.
Definition: TransferFunction.cpp:35
+
Definition: ControlElement.h:53
+
Definition: wxGLString.h:77
+
+ + + + diff --git a/docs/doxygen/html/_transfer_function_form_8h_source.html b/docs/doxygen/html/_transfer_function_form_8h_source.html new file mode 100644 index 0000000..feb8be3 --- /dev/null +++ b/docs/doxygen/html/_transfer_function_form_8h_source.html @@ -0,0 +1,83 @@ + + + + + + + +PSP-UFU: Project/TransferFunctionForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
TransferFunctionForm.h
+
+
+
1 #ifndef TRANSFERFUNCTIONFORM_H
2 #define TRANSFERFUNCTIONFORM_H
3 
4 #include "ElementForm.h"
5 
6 class TransferFunction;
7 
9 {
10 public:
11  TransferFunctionForm(wxWindow* parent, TransferFunction* transferFunction);
12  virtual ~TransferFunctionForm();
13  bool ValidateData();
14 
15 protected:
16  virtual void OnCancelClick(wxCommandEvent& event);
17  virtual void OnOKClick(wxCommandEvent& event);
18  void LoadTFData();
19 
20  wxWindow* m_parent = NULL;
21  TransferFunction* m_tf = NULL;
22 };
23 #endif // TRANSFERFUNCTIONFORM_H
Definition: TransferFunctionForm.h:8
+
Definition: ElementForm.h:775
+
Definition: TransferFunction.h:11
+
+ + + + diff --git a/docs/doxygen/html/_transformer_8h_source.html b/docs/doxygen/html/_transformer_8h_source.html new file mode 100644 index 0000000..c0d7ae8 --- /dev/null +++ b/docs/doxygen/html/_transformer_8h_source.html @@ -0,0 +1,90 @@ + + + + + + + +PSP-UFU: Project/Transformer.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Transformer.h
+
+
+
1 #ifndef TRANSFORMER_H
2 #define TRANSFORMER_H
3 
4 #include "Branch.h"
5 
6 class TransformerForm;
7 
8 enum TransformerConnection {
9  GWYE_GWYE = 0,
10  WYE_GWYE,
11  GWYE_WYE,
12  WYE_WYE,
13  DELTA_GWYE,
14  DELTA_WYE,
15  GWYE_DELTA,
16  WYE_DELTA,
17  DELTA_DELTA
18 };
19 
21  // General
22  wxString name = "";
23  double primaryNominalVoltage = 138.0;
24  ElectricalUnit primaryNominalVoltageUnit = UNIT_kV;
25  double secondaryNominalVoltage = 138.0;
26  ElectricalUnit secondaryNominalVoltageUnit = UNIT_kV;
27  int baseVoltage = 0;
28  double nominalPower = 100.0;
29  ElectricalUnit nominalPowerUnit = UNIT_MVA;
30  double resistance = 0.0;
31  ElectricalUnit resistanceUnit = UNIT_PU;
32  double indReactance = 1.0;
33  ElectricalUnit indReactanceUnit = UNIT_PU;
34  TransformerConnection connection = GWYE_GWYE;
35  double turnsRatio = 1.0;
36  double phaseShift = 0.0;
37  bool useTransformerPower = false;
38 
39  // Power flow (p.u.)
40  std::complex<double> current[2] = { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0) };
41  std::complex<double> powerFlow[2] = { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0) };
42 
43  // Fault
44  double zeroResistance = 0.0;
45  double zeroIndReactance = 1.0;
46  double primaryGrndResistance = 0.0;
47  double primaryGrndReactance = 0.0;
48  double secondaryGrndResistance = 0.0;
49  double secondaryGrndReactance = 0.0;
50  // p.u. fault data
51  std::complex<double> faultCurrent[2][3];
52 };
53 
54 class Transformer : public Branch
55 {
56 public:
57  Transformer();
58  Transformer(wxString name);
59  virtual ~Transformer();
60 
61  virtual Element* GetCopy();
62  virtual bool AddParent(Element* parent, wxPoint2DDouble position);
63  virtual bool Contains(wxPoint2DDouble position) const;
64  virtual void Draw(wxPoint2DDouble translation, double scale) const;
65  virtual bool Intersects(wxRect2DDouble rect) const;
66  virtual void Rotate(bool clockwise = true);
67  virtual void Move(wxPoint2DDouble position);
68  virtual void MoveNode(Element* parent, wxPoint2DDouble position);
69  virtual void StartMove(wxPoint2DDouble position);
70  virtual bool GetContextMenu(wxMenu& menu);
71  virtual wxString GetTipText() const;
72  virtual void RotateNode(Element* parent, bool clockwise);
73  virtual bool SetNodeParent(Element* parent);
74  virtual void SetPowerFlowDirection(PowerFlowDirection pfDirection);
75  virtual bool ShowForm(wxWindow* parent, Element* element);
76  virtual TransformerElectricalData GetElectricalData() const { return m_electricalData; }
77  virtual TransformerElectricalData GetPUElectricalData(double systemBasePower);
78  virtual void SetElectricaData(TransformerElectricalData electricalData) { m_electricalData = electricalData; }
79  virtual void SetNominalVoltage(std::vector<double> nominalVoltage, std::vector<ElectricalUnit> nominalVoltageUnit);
80 
81 protected:
82  void UpdatePowerFlowArrowsPosition();
83  TransformerElectricalData m_electricalData;
84 };
85 
86 #endif // TRANSFORMER_H
Definition: Element.h:88
+
Definition: PowerElement.h:14
+
ElectricalUnit
Electrical units.
Definition: PowerElement.h:11
+
Definition: PowerElement.h:12
+
Definition: TransformerForm.h:9
+
Definition: PowerElement.h:22
+
PowerFlowDirection
Direction of power flow arrows.
Definition: PowerElement.h:61
+
Definition: Transformer.h:20
+
Definition: Transformer.h:54
+
Definition: Branch.h:7
+
+ + + + diff --git a/docs/doxygen/html/_transformer_form_8h_source.html b/docs/doxygen/html/_transformer_form_8h_source.html new file mode 100644 index 0000000..902be61 --- /dev/null +++ b/docs/doxygen/html/_transformer_form_8h_source.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Project/TransformerForm.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
TransformerForm.h
+
+
+
1 #ifndef TRANSFORMERFORM_H
2 #define TRANSFORMERFORM_H
3 
4 #include "ElementForm.h"
5 
6 class SwitchingForm;
7 class Transformer;
8 
10 {
11  public:
12  TransformerForm(wxWindow* parent, Transformer* transformer);
13  virtual ~TransformerForm();
14  bool ValidateData();
15 
16  protected:
17  virtual void OnCancelButtonClick(wxCommandEvent& event);
18  virtual void OnOKButtonClick(wxCommandEvent& event);
19  virtual void OnStabilityButtonClick(wxCommandEvent& event);
20 
21  wxWindow* m_parent = NULL;
22  Transformer* m_transformer = NULL;
23 };
24 #endif // TRANSFORMERFORM_H
Definition: SwitchingForm.h:8
+
Definition: TransformerForm.h:9
+
Definition: ElementForm.h:453
+
Definition: Transformer.h:54
+
+ + + + diff --git a/docs/doxygen/html/_workspace_8h_source.html b/docs/doxygen/html/_workspace_8h_source.html new file mode 100644 index 0000000..1757d23 --- /dev/null +++ b/docs/doxygen/html/_workspace_8h_source.html @@ -0,0 +1,100 @@ + + + + + + + +PSP-UFU: Project/Workspace.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Workspace.h
+
+
+
1 #ifndef WORKSPACE_H
2 #define WORKSPACE_H
3 
4 #include <GL/gl.h>
5 #include <GL/glu.h>
6 #include <wx/dcclient.h>
7 #include <wx/msgdlg.h>
8 #include <wx/statusbr.h>
9 #include <wx/clipbrd.h>
10 #include <wx/tipwin.h>
11 
12 #include "WorkspaceBase.h"
13 #include "Bus.h"
14 
15 #include "ControlEditor.h"
16 
17 class Camera;
18 class Element;
19 // class Bus;
20 class Line;
21 class Transformer;
22 class SyncGenerator;
23 class IndMotor;
24 class SyncMotor;
25 class Load;
26 class Inductor;
27 class Capacitor;
28 class ElementDataObject;
29 
30 class Text;
31 
32 class PowerFlow;
33 class Fault;
34 class Electromechanical;
35 
36 class ElementPlotData;
37 class ChartView;
38 
39 class PropertiesData;
40 
41 enum ElementID {
42  ID_BUS = 0,
43  ID_LINE,
44  ID_TRANSFORMER,
45  ID_SYNCGENERATOR,
46  ID_INDMOTOR,
47  ID_SYNCMOTOR,
48  ID_LOAD,
49  ID_CAPACITOR,
50  ID_INDUCTOR,
51  ID_TEXT,
52 
53  NUM_ELEMENTS
54 };
55 
56 class Workspace : public WorkspaceBase
57 {
58 public:
59  enum WorkspaceMode {
60  MODE_EDIT = 0,
61  MODE_MOVE_ELEMENT,
62  MODE_MOVE_PICKBOX,
63  MODE_MOVE_NODE,
64  MODE_DRAG,
65  MODE_DRAG_INSERT,
66  MODE_DRAG_INSERT_TEXT,
67  MODE_INSERT,
68  MODE_INSERT_TEXT,
69  MODE_SELECTION_RECT,
70  MODE_PASTE,
71  MODE_DRAG_PASTE
72  };
73 
74  Workspace();
75  Workspace(wxWindow* parent, wxString name = wxEmptyString, wxStatusBar* statusBar = NULL);
76  ~Workspace();
77 
78  wxString GetName() const { return m_name; }
79  std::vector<Element*> GetElementList() const;
80  std::vector<Text*> GetTextList() const { return m_textList; }
81  std::vector<Element*> GetAllElements() const;
82  WorkspaceMode GetWorkspaceMode() const { return m_mode; }
83  Camera* GetCamera() const { return m_camera; }
84 
85  void CopySelection();
86  bool Paste();
87 
88  wxFileName GetSavedPath() const { return m_savedPath; }
89 
90  void SetName(wxString name) { m_name = name; }
91  void SetElementList(std::vector<Element*> elementList);
92  void SetTextList(std::vector<Text*> textList);
93  void SetStatusBarText(wxString text) { m_statusBar->SetStatusText(text); }
94  void SetWorkspaceMode(WorkspaceMode mode) { m_mode = mode; }
95  void SetSavedPath(wxFileName savedPath) { m_savedPath = savedPath; }
96  void SetJustOpened(bool justOpened) { m_justOpened = justOpened; }
97 
98  void Redraw() { m_glCanvas->Refresh(); }
99  void RotateSelectedElements(bool clockwise = true);
100  void DeleteSelectedElements();
101  bool GetElementsCorners(wxPoint2DDouble& leftUpCorner,
102  wxPoint2DDouble& rightDownCorner,
103  std::vector<Element*> elementList);
104  void Fit();
105  void UnselectAll();
106 
107  void ValidateBusesVoltages(Element* initialBus);
108  void ValidateElementsVoltages();
109 
110  void UpdateElementsID();
111  void UpdateTextElements();
112 
113  int GetElementNumber(ElementID elementID) { return m_elementNumber[elementID]; }
114  void IncrementElementNumber(ElementID elementID) { m_elementNumber[elementID]++; }
115 
116  PropertiesData* GetProperties() const { return m_properties; }
117 
118  std::vector<double> GetStabilityTimeVector() const { return m_stabilityTimeVector; }
119 
120  bool IsContinuousCalculationActive() const { return m_continuousCalc; }
121  void SetContinuousCalculationActive(bool value = true) { m_continuousCalc = value; }
122 
123  bool RunPowerFlow();
124  bool RunFault();
125  bool RunSCPower();
126  bool RunStaticStudies();
127  bool RunStability();
128 
129 protected:
130  virtual void OnMiddleDoubleClick(wxMouseEvent& event);
131  virtual void OnIdle(wxIdleEvent& event);
132  virtual void OnTimer(wxTimerEvent& event);
133  virtual void OnLeftDoubleClick(wxMouseEvent& event);
134  virtual void OnRightClickDown(wxMouseEvent& event);
135  virtual void OnLeftClickUp(wxMouseEvent& event);
136  virtual void OnScroll(wxMouseEvent& event);
137  virtual void OnMiddleDown(wxMouseEvent& event);
138  virtual void OnMiddleUp(wxMouseEvent& event);
139  virtual void OnMouseMotion(wxMouseEvent& event);
140  virtual void OnKeyDown(wxKeyEvent& event);
141  virtual void OnLeftClickDown(wxMouseEvent& event);
142  virtual void OnPaint(wxPaintEvent& event);
143  virtual void OnPopupClick(wxCommandEvent& event);
144 
145  void SetViewport();
146  void UpdateStatusBar();
147 
148  wxGLContext* m_glContext = NULL;
149  wxStatusBar* m_statusBar = NULL;
150  Camera* m_camera = NULL;
151  wxTipWindow* m_tipWindow = NULL;
152  wxString m_name;
153 
154  WorkspaceMode m_mode = MODE_EDIT;
155 
156  std::vector<PowerElement*> m_elementList;
157  int m_elementNumber[NUM_ELEMENTS];
158 
159  std::vector<Text*> m_textList;
160 
161  wxFileName m_savedPath;
162 
163  wxRect2DDouble m_selectionRect;
164  wxPoint2DDouble m_startSelRect;
165 
166  PropertiesData* m_properties = NULL;
167 
168  std::vector<double> m_stabilityTimeVector;
169 
170  bool m_continuousCalc = false;
171  bool m_disconnectedElement = false;
172  bool m_justOpened = false;
173 };
174 
175 #endif // WORKSPACE_H
Definition: Text.h:48
+
Definition: PropertiesData.h:40
+
Definition: Element.h:88
+
Definition: PowerFlow.h:9
+
Definition: SyncGenerator.h:110
+
Definition: Camera.h:6
+
Definition: WorkspaceBase.h:35
+
Definition: ElementPlotData.h:39
+
Definition: ElementDataObject.h:12
+
Definition: Line.h:35
+
Definition: Electromechanical.h:10
+
Definition: Load.h:23
+
Definition: ChartView.h:16
+
Definition: SyncMotor.h:110
+
Definition: Fault.h:13
+
Definition: IndMotor.h:17
+
Definition: Capacitor.h:14
+
Definition: Inductor.h:14
+
Definition: Workspace.h:56
+
Definition: Transformer.h:54
+
+ + + + diff --git a/docs/doxygen/html/_workspace_base_8h_source.html b/docs/doxygen/html/_workspace_base_8h_source.html new file mode 100644 index 0000000..9b5400a --- /dev/null +++ b/docs/doxygen/html/_workspace_base_8h_source.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Project/WorkspaceBase.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
WorkspaceBase.h
+
+
+
1 // This file was auto-generated by codelite's wxCrafter Plugin
3 // wxCrafter project file: Workspace.wxcp
4 // Do not modify this file by hand!
6 
7 #ifndef _PSP_PROJECT_WORKSPACE_BASE_CLASSES_H
8 #define _PSP_PROJECT_WORKSPACE_BASE_CLASSES_H
9 
10 #include <wx/settings.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/xrc/xh_bmp.h>
13 #include <wx/panel.h>
14 #include <wx/artprov.h>
15 #include <wx/sizer.h>
16 #include <wx/glcanvas.h>
17 #include <wx/timer.h>
18 #if wxVERSION_NUMBER >= 2900
19 #include <wx/persist.h>
20 #include <wx/persist/toplevel.h>
21 #include <wx/persist/bookctrl.h>
22 #include <wx/persist/treebook.h>
23 #endif
24 
25 #ifdef WXC_FROM_DIP
26 #undef WXC_FROM_DIP
27 #endif
28 #if wxVERSION_NUMBER >= 3100
29 #define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
30 #else
31 #define WXC_FROM_DIP(x) x
32 #endif
33 
34 
35 class WorkspaceBase : public wxPanel
36 {
37 protected:
38  wxGLCanvas* m_glCanvas;
39  wxTimer* m_timer;
40 
41 protected:
42  virtual void OnPaint(wxPaintEvent& event) { event.Skip(); }
43  virtual void OnLeftClickDown(wxMouseEvent& event) { event.Skip(); }
44  virtual void OnKeyDown(wxKeyEvent& event) { event.Skip(); }
45  virtual void OnMouseMotion(wxMouseEvent& event) { event.Skip(); }
46  virtual void OnMiddleDown(wxMouseEvent& event) { event.Skip(); }
47  virtual void OnMiddleUp(wxMouseEvent& event) { event.Skip(); }
48  virtual void OnLeftClickUp(wxMouseEvent& event) { event.Skip(); }
49  virtual void OnScroll(wxMouseEvent& event) { event.Skip(); }
50  virtual void OnRightClickDown(wxMouseEvent& event) { event.Skip(); }
51  virtual void OnLeftDoubleClick(wxMouseEvent& event) { event.Skip(); }
52  virtual void OnIdle(wxIdleEvent& event) { event.Skip(); }
53  virtual void OnMiddleDoubleClick(wxMouseEvent& event) { event.Skip(); }
54  virtual void OnTimer(wxTimerEvent& event) { event.Skip(); }
55 
56 public:
57  wxGLCanvas* GetGlCanvas() { return m_glCanvas; }
58  wxTimer* GetTimer() { return m_timer; }
59  WorkspaceBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500,300), long style = wxTAB_TRAVERSAL);
60  virtual ~WorkspaceBase();
61 };
62 
63 #endif
Definition: WorkspaceBase.h:35
+
+ + + + diff --git a/docs/doxygen/html/annotated.html b/docs/doxygen/html/annotated.html new file mode 100644 index 0000000..ccc4e1e --- /dev/null +++ b/docs/doxygen/html/annotated.html @@ -0,0 +1,199 @@ + + + + + + + +PSP-UFU: Class List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class List
+
+
+
Here are the classes, structs, unions and interfaces with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 CAboutForm
 CAboutFormBase
 CBranch
 CBus
 CBusElectricalData
 CBusForm
 CBusFormBase
 CCamera
 CCapacitor
 CCapacitorElectricalData
 CChartView
 CChartViewBase
 CConnectionLine
 CConstant
 CConstantForm
 CConstantFormBase
 CControlEditor
 CControlEditorBase
 CControlElement
 CControlElementButton
 CControlElementContainer
 CControlElementSolver
 CControlSystemTest
 CControlSystemTestBase
 CDataReport
 CDataReportBase
 CElectricCalculation
 CElectromechanical
 CElement
 CElementDataObject
 CElementPlotData
 CElementsLists
 CExponential
 CExponentialForm
 CExponentialFormBase
 CFault
 CFileHanding
 CGain
 CGainForm
 CGainFormBase
 CGeneralData
 CGeneralPropertiesForm
 CGeneralPropertiesFormBase
 CGeneratorStabForm
 CGeneratorStabFormBase
 CGraphicalElement
 CIndMotor
 CIndMotorElectricalData
 CIndMotorForm
 CIndMotorFormBase
 CInductor
 CInductorElectricalData
 CIntegrationConstant
 CIOControl
 CIOControlForm
 CIOControlFormBase
 CLimiter
 CLimiterForm
 CLimiterFormBase
 CLine
 CLineElectricalData
 CLineForm
 CLineFormBase
 CLoad
 CLoadElectricalData
 CLoadForm
 CLoadFormBase
 CMachines
 CMainApp
 CMainFrame
 CMainFrameBase
 CMultiplier
 CNode
 COpenGLColour
 CPlotData
 CPowerElement
 CPowerFlow
 CPropertiesData
 CRateLimiter
 CRateLimiterForm
 CRateLimiterFormBase
 CReactiveLimits
 CReactiveShuntElementForm
 CReactiveShuntElementFormBase
 CShunt
 CSimulationData
 CSimulationsSettingsForm
 CSimulationsSettingsFormBase
 CSum
 CSumForm
 CSumFormBase
 CSwitchingData
 CSwitchingForm
 CSwitchingFormBase
 CSyncGenerator
 CSyncGeneratorElectricalData
 CSyncMachineForm
 CSyncMachineFormBase
 CSyncMotor
 CSyncMotorElectricalData
 CText
 CTextForm
 CTextFormBase
 CTextGLDrawable
 CTextTexture
 CTransferFunction
 CTransferFunctionForm
 CTransferFunctionFormBase
 CTransformer
 CTransformerElectricalData
 CTransformerForm
 CTransformerFormBase
 CWorkspace
 CWorkspaceBase
 CwxGLNumberRenderer
 CwxGLString
 CwxGLStringArray
 CwxRibbonMetroArtProvider
+
+
+ + + + diff --git a/docs/doxygen/html/bc_s.png b/docs/doxygen/html/bc_s.png new file mode 100644 index 0000000..224b29a Binary files /dev/null and b/docs/doxygen/html/bc_s.png differ diff --git a/docs/doxygen/html/bdwn.png b/docs/doxygen/html/bdwn.png new file mode 100644 index 0000000..940a0b9 Binary files /dev/null and b/docs/doxygen/html/bdwn.png differ diff --git a/docs/doxygen/html/class_about_form-members.html b/docs/doxygen/html/class_about_form-members.html new file mode 100644 index 0000000..eac85f0 --- /dev/null +++ b/docs/doxygen/html/class_about_form-members.html @@ -0,0 +1,109 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
AboutForm Member List
+
+
+ +

This is the complete list of members for AboutForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AboutForm(wxWindow *parent) (defined in AboutForm)AboutForm
AboutFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("About PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in AboutFormBase)AboutFormBase
GetButtonOK() (defined in AboutFormBase)AboutFormBaseinline
GetGridCredits() (defined in AboutFormBase)AboutFormBaseinline
GetHyperLinkPSP() (defined in AboutFormBase)AboutFormBaseinline
GetNotebook() (defined in AboutFormBase)AboutFormBaseinline
GetPanelCredits() (defined in AboutFormBase)AboutFormBaseinline
GetPanelLicense() (defined in AboutFormBase)AboutFormBaseinline
GetPanelLogo() (defined in AboutFormBase)AboutFormBaseinline
GetRichTextCtrlLicense() (defined in AboutFormBase)AboutFormBaseinline
GetStaticBitmapLogo() (defined in AboutFormBase)AboutFormBaseinline
GetStaticTextHome() (defined in AboutFormBase)AboutFormBaseinline
GetStaticTextVersion() (defined in AboutFormBase)AboutFormBaseinline
GetStaticTextVersionLabel() (defined in AboutFormBase)AboutFormBaseinline
Init() (defined in AboutForm)AboutFormvirtual
m_buttonOK (defined in AboutFormBase)AboutFormBaseprotected
m_gridCredits (defined in AboutFormBase)AboutFormBaseprotected
m_hyperLinkPSP (defined in AboutFormBase)AboutFormBaseprotected
m_notebook (defined in AboutFormBase)AboutFormBaseprotected
m_panelCredits (defined in AboutFormBase)AboutFormBaseprotected
m_panelLicense (defined in AboutFormBase)AboutFormBaseprotected
m_panelLogo (defined in AboutFormBase)AboutFormBaseprotected
m_richTextCtrlLicense (defined in AboutFormBase)AboutFormBaseprotected
m_staticBitmapLogo (defined in AboutFormBase)AboutFormBaseprotected
m_staticTextHome (defined in AboutFormBase)AboutFormBaseprotected
m_staticTextVersion (defined in AboutFormBase)AboutFormBaseprotected
m_staticTextVersionLabel (defined in AboutFormBase)AboutFormBaseprotected
OnOKButtonClick(wxCommandEvent &event) (defined in AboutForm)AboutForminlineprotectedvirtual
~AboutForm() (defined in AboutForm)AboutFormvirtual
~AboutFormBase() (defined in AboutFormBase)AboutFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_about_form.html b/docs/doxygen/html/class_about_form.html new file mode 100644 index 0000000..da2eb06 --- /dev/null +++ b/docs/doxygen/html/class_about_form.html @@ -0,0 +1,189 @@ + + + + + + + +PSP-UFU: AboutForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
AboutForm Class Reference
+
+
+
+Inheritance diagram for AboutForm:
+
+
+ + +AboutFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

AboutForm (wxWindow *parent)
 
+virtual void Init ()
 
- Public Member Functions inherited from AboutFormBase
+wxStaticBitmap * GetStaticBitmapLogo ()
 
+wxPanel * GetPanelLogo ()
 
+wxGrid * GetGridCredits ()
 
+wxPanel * GetPanelCredits ()
 
+wxRichTextCtrl * GetRichTextCtrlLicense ()
 
+wxPanel * GetPanelLicense ()
 
+wxNotebook * GetNotebook ()
 
+wxStaticText * GetStaticTextVersionLabel ()
 
+wxStaticText * GetStaticTextVersion ()
 
+wxStaticText * GetStaticTextHome ()
 
+wxHyperlinkCtrl * GetHyperLinkPSP ()
 
+wxButton * GetButtonOK ()
 
AboutFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("About PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Attributes inherited from AboutFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelLogo
 
+wxStaticBitmap * m_staticBitmapLogo
 
+wxPanel * m_panelCredits
 
+wxGrid * m_gridCredits
 
+wxPanel * m_panelLicense
 
+wxRichTextCtrl * m_richTextCtrlLicense
 
+wxStaticText * m_staticTextVersionLabel
 
+wxStaticText * m_staticTextVersion
 
+wxStaticText * m_staticTextHome
 
+wxHyperlinkCtrl * m_hyperLinkPSP
 
+wxButton * m_buttonOK
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_about_form.png b/docs/doxygen/html/class_about_form.png new file mode 100644 index 0000000..fb32911 Binary files /dev/null and b/docs/doxygen/html/class_about_form.png differ diff --git a/docs/doxygen/html/class_about_form_base-members.html b/docs/doxygen/html/class_about_form_base-members.html new file mode 100644 index 0000000..667b521 --- /dev/null +++ b/docs/doxygen/html/class_about_form_base-members.html @@ -0,0 +1,106 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
AboutFormBase Member List
+
+
+ +

This is the complete list of members for AboutFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AboutFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("About PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in AboutFormBase)AboutFormBase
GetButtonOK() (defined in AboutFormBase)AboutFormBaseinline
GetGridCredits() (defined in AboutFormBase)AboutFormBaseinline
GetHyperLinkPSP() (defined in AboutFormBase)AboutFormBaseinline
GetNotebook() (defined in AboutFormBase)AboutFormBaseinline
GetPanelCredits() (defined in AboutFormBase)AboutFormBaseinline
GetPanelLicense() (defined in AboutFormBase)AboutFormBaseinline
GetPanelLogo() (defined in AboutFormBase)AboutFormBaseinline
GetRichTextCtrlLicense() (defined in AboutFormBase)AboutFormBaseinline
GetStaticBitmapLogo() (defined in AboutFormBase)AboutFormBaseinline
GetStaticTextHome() (defined in AboutFormBase)AboutFormBaseinline
GetStaticTextVersion() (defined in AboutFormBase)AboutFormBaseinline
GetStaticTextVersionLabel() (defined in AboutFormBase)AboutFormBaseinline
m_buttonOK (defined in AboutFormBase)AboutFormBaseprotected
m_gridCredits (defined in AboutFormBase)AboutFormBaseprotected
m_hyperLinkPSP (defined in AboutFormBase)AboutFormBaseprotected
m_notebook (defined in AboutFormBase)AboutFormBaseprotected
m_panelCredits (defined in AboutFormBase)AboutFormBaseprotected
m_panelLicense (defined in AboutFormBase)AboutFormBaseprotected
m_panelLogo (defined in AboutFormBase)AboutFormBaseprotected
m_richTextCtrlLicense (defined in AboutFormBase)AboutFormBaseprotected
m_staticBitmapLogo (defined in AboutFormBase)AboutFormBaseprotected
m_staticTextHome (defined in AboutFormBase)AboutFormBaseprotected
m_staticTextVersion (defined in AboutFormBase)AboutFormBaseprotected
m_staticTextVersionLabel (defined in AboutFormBase)AboutFormBaseprotected
OnOKButtonClick(wxCommandEvent &event) (defined in AboutFormBase)AboutFormBaseinlineprotectedvirtual
~AboutFormBase() (defined in AboutFormBase)AboutFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_about_form_base.html b/docs/doxygen/html/class_about_form_base.html new file mode 100644 index 0000000..1658293 --- /dev/null +++ b/docs/doxygen/html/class_about_form_base.html @@ -0,0 +1,182 @@ + + + + + + + +PSP-UFU: AboutFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
AboutFormBase Class Reference
+
+
+
+Inheritance diagram for AboutFormBase:
+
+
+ + +AboutForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticBitmap * GetStaticBitmapLogo ()
 
+wxPanel * GetPanelLogo ()
 
+wxGrid * GetGridCredits ()
 
+wxPanel * GetPanelCredits ()
 
+wxRichTextCtrl * GetRichTextCtrlLicense ()
 
+wxPanel * GetPanelLicense ()
 
+wxNotebook * GetNotebook ()
 
+wxStaticText * GetStaticTextVersionLabel ()
 
+wxStaticText * GetStaticTextVersion ()
 
+wxStaticText * GetStaticTextHome ()
 
+wxHyperlinkCtrl * GetHyperLinkPSP ()
 
+wxButton * GetButtonOK ()
 
AboutFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("About PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelLogo
 
+wxStaticBitmap * m_staticBitmapLogo
 
+wxPanel * m_panelCredits
 
+wxGrid * m_gridCredits
 
+wxPanel * m_panelLicense
 
+wxRichTextCtrl * m_richTextCtrlLicense
 
+wxStaticText * m_staticTextVersionLabel
 
+wxStaticText * m_staticTextVersion
 
+wxStaticText * m_staticTextHome
 
+wxHyperlinkCtrl * m_hyperLinkPSP
 
+wxButton * m_buttonOK
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_about_form_base.png b/docs/doxygen/html/class_about_form_base.png new file mode 100644 index 0000000..09a5024 Binary files /dev/null and b/docs/doxygen/html/class_about_form_base.png differ diff --git a/docs/doxygen/html/class_branch-members.html b/docs/doxygen/html/class_branch-members.html new file mode 100644 index 0000000..23d2fce --- /dev/null +++ b/docs/doxygen/html/class_branch-members.html @@ -0,0 +1,207 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Branch Member List
+
+
+ +

This is the complete list of members for Branch, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Branchinlinevirtual
Branch() (defined in Branch)Branch
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constBranchinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constBranchinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constBranchinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Branchinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constElementinlinevirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constBranchinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Branch)Branchprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Branchinlinevirtual
MoveNode(Element *parent, wxPoint2DDouble position)Branchinlinevirtual
MovePickbox(wxPoint2DDouble position)Branchinlinevirtual
NodeContains(wxPoint2DDouble position)Branchvirtual
PickboxContains(wxPoint2DDouble position)Branchinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Branchvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Branchvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Branchvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Branchinlinevirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Branchvirtual
UpdateSwitches()Branchvirtual
UpdateSwitchesPosition() (defined in Branch)Branchvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Branch() (defined in Branch)Branch
~Element()Elementvirtual
~PowerElement()PowerElement
+ + + + diff --git a/docs/doxygen/html/class_branch.html b/docs/doxygen/html/class_branch.html new file mode 100644 index 0000000..15bc1a2 --- /dev/null +++ b/docs/doxygen/html/class_branch.html @@ -0,0 +1,1097 @@ + + + + + + + +PSP-UFU: Branch Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Branch Class Reference
+
+
+
+Inheritance diagram for Branch:
+
+
+ + +PowerElement +Element +Line +Transformer + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
+virtual void UpdateSwitchesPosition ()
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ AddPoint()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Branch::AddPoint (wxPoint2DDouble point)
+
+inlinevirtual
+
+ +

Add point to the list of points that connect the element to the bus.

+
Parameters
+ + +
pointPoint to be added.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Line.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Branch::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual void Branch::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+inlinevirtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ GetBestPickboxCursor()

+ +
+
+ + + + + +
+ + + + + + + +
virtual wxCursor Branch::GetBestPickboxCursor () const
+
+inlinevirtual
+
+ +

Get the best cursor to shown to the user when the mouse is above a pickbox.

+
Returns
Cursor.
+ +

Reimplemented from Element.

+ +

Reimplemented in Line.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Branch::GetContextMenu (wxMenu & menu)
+
+inlinevirtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Branch::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Branch::Move (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ MoveNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual void Branch::MoveNode (Elementparent,
wxPoint2DDouble position 
)
+
+inlinevirtual
+
+ +

Move a node. StartMove(wxPoint2DDouble position) before start moving.

+
Parameters
+ + + +
parentNode's parent.
positionNew node position.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ MovePickbox()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Branch::MovePickbox (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Move the pickbox.

+
Parameters
+ + +
positionposition that the pickbox will be moved.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Line.

+ +
+
+ +

◆ NodeContains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Branch::NodeContains (wxPoint2DDouble position)
+
+virtual
+
+ +

Check if a node contains a point. If contains, set the attributes related to node movement.

+
Parameters
+ + +
positionPosition tested.
+
+
+
Returns
True if at least one node contains the position, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ PickboxContains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Branch::PickboxContains (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+
Returns
True if the element constains the pickbox, false otherwise.
+ +

Reimplemented from Element.

+ +

Reimplemented in Line.

+ +
+
+ +

◆ RemoveParent()

+ +
+
+ + + + + +
+ + + + + + + + +
void Branch::RemoveParent (Elementparent)
+
+virtual
+
+ +

Remove a parent.

+
Parameters
+ + +
parentParent to be removed.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ RotateNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Branch::RotateNode (Elementparent,
bool clockwise = true 
)
+
+virtual
+
+ +

Rotate a node.

+
Parameters
+ + + +
parentNode's parent.
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ SetNodeParent()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Branch::SetNodeParent (Elementparent)
+
+virtual
+
+ +

Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated.

+
Parameters
+ + +
parentNode parent.
+
+
+
Returns
True if was possible to set the parent.
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Branch::StartMove (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Transformer, and Line.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_branch.png b/docs/doxygen/html/class_branch.png new file mode 100644 index 0000000..3339f94 Binary files /dev/null and b/docs/doxygen/html/class_branch.png differ diff --git a/docs/doxygen/html/class_bus-members.html b/docs/doxygen/html/class_bus-members.html new file mode 100644 index 0000000..a4ddfdb --- /dev/null +++ b/docs/doxygen/html/class_bus-members.html @@ -0,0 +1,210 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Bus Member List
+
+
+ +

This is the complete list of members for Bus, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Businlinevirtual
PowerElement::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
Bus() (defined in Bus)Bus
Bus(wxPoint2DDouble position) (defined in Bus)Bus
Bus(wxPoint2DDouble position, wxString name) (defined in Bus)Bus
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constBusvirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constBusvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constBusvirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Busvirtual
GetCopy()Busvirtual
GetElectricalData() const (defined in Bus)Businlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)Busvirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constBusvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constBusvirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in Bus)Busprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Elementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Busvirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Busvirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Busvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(BusElectricalData electricalData) (defined in Bus)Businlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Elementinlinevirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Busvirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Elementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Elementinlinevirtual
UpdateSwitches()PowerElementvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Bus() (defined in Bus)Bus
~Element()Elementvirtual
~PowerElement()PowerElement
+ + + + diff --git a/docs/doxygen/html/class_bus.html b/docs/doxygen/html/class_bus.html new file mode 100644 index 0000000..ad23463 --- /dev/null +++ b/docs/doxygen/html/class_bus.html @@ -0,0 +1,994 @@ + + + + + + + +PSP-UFU: Bus Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Bus Class Reference
+
+
+
+Inheritance diagram for Bus:
+
+
+ + +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Bus (wxPoint2DDouble position)
 
Bus (wxPoint2DDouble position, wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
+virtual BusElectricalData GetElectricalData () const
 
+virtual void SetElectricalData (BusElectricalData electricalData)
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+BusElectricalData m_electricalData
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual bool Bus::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+inlinevirtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Bus::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Bus::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetBestPickboxCursor()

+ +
+
+ + + + + +
+ + + + + + + +
wxCursor Bus::GetBestPickboxCursor () const
+
+virtual
+
+ +

Get the best cursor to shown to the user when the mouse is above a pickbox.

+
Returns
Cursor.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Bus::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Bus::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetPlotData()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Bus::GetPlotData (ElementPlotDataplotData)
+
+virtual
+
+ +

Fill the plot data.

+
Parameters
+ + +
plotDataPlot data to be filled.
+
+
+
Returns
true if the plot data was successfully filled, false otherwise.
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString Bus::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Bus::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ MovePickbox()

+ +
+
+ + + + + +
+ + + + + + + + +
void Bus::MovePickbox (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the pickbox.

+
Parameters
+ + +
positionposition that the pickbox will be moved.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ PickboxContains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Bus::PickboxContains (wxPoint2DDouble position)
+
+virtual
+
+ +

Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+
Returns
True if the element constains the pickbox, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Bus::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Bus::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_bus.png b/docs/doxygen/html/class_bus.png new file mode 100644 index 0000000..4763963 Binary files /dev/null and b/docs/doxygen/html/class_bus.png differ diff --git a/docs/doxygen/html/class_bus_form-members.html b/docs/doxygen/html/class_bus_form-members.html new file mode 100644 index 0000000..5b7a4a9 --- /dev/null +++ b/docs/doxygen/html/class_bus_form-members.html @@ -0,0 +1,176 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
BusForm Member List
+
+
+ +

This is the complete list of members for BusForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BusForm(wxWindow *parent, Bus *bus) (defined in BusForm)BusForm
BusFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Bus"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in BusFormBase)BusFormBase
EnableCtrlVoltageFields(bool enable=true) (defined in BusForm)BusFormprotectedvirtual
EnableFaultFields(bool enable=true) (defined in BusForm)BusFormprotectedvirtual
EnableStabFaultFields(bool enable=true) (defined in BusForm)BusFormprotectedvirtual
GetButtonCancel() (defined in BusFormBase)BusFormBaseinline
GetButtonOK() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxCtrlVoltage() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxFault() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxPlotData() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxSlackBus() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxStabFault() (defined in BusFormBase)BusFormBaseinline
GetChoiceCtrlVoltage() (defined in BusFormBase)BusFormBaseinline
GetChoiceFaultPlace() (defined in BusFormBase)BusFormBaseinline
GetChoiceFaultType() (defined in BusFormBase)BusFormBaseinline
GetChoiceNomVoltage() (defined in BusFormBase)BusFormBaseinline
GetNotebook() (defined in BusFormBase)BusFormBaseinline
GetPanelFault() (defined in BusFormBase)BusFormBaseinline
GetPanelGeneral() (defined in BusFormBase)BusFormBaseinline
GetPanelStability() (defined in BusFormBase)BusFormBaseinline
GetStaticTextFaultPlace() (defined in BusFormBase)BusFormBaseinline
GetStaticTextFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextFaultType() (defined in BusFormBase)BusFormBaseinline
GetStaticTextName() (defined in BusFormBase)BusFormBaseinline
GetStaticTextNomVoltage() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_1() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_2() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_3() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_4() (defined in BusFormBase)BusFormBaseinline
GetStaticTextReactance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextS_1() (defined in BusFormBase)BusFormBaseinline
GetStaticTextS_2() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultLength() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultReactance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultTime() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlCtrlVoltage() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlFaultReactance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlName() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlNomVoltage() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultLength() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultReactance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultTime() (defined in BusFormBase)BusFormBaseinline
m_bus (defined in BusForm)BusFormprotected
m_ButtonCancel (defined in BusFormBase)BusFormBaseprotected
m_buttonOK (defined in BusFormBase)BusFormBaseprotected
m_checkBoxCtrlVoltage (defined in BusFormBase)BusFormBaseprotected
m_checkBoxFault (defined in BusFormBase)BusFormBaseprotected
m_checkBoxPlotData (defined in BusFormBase)BusFormBaseprotected
m_checkBoxSlackBus (defined in BusFormBase)BusFormBaseprotected
m_checkBoxStabFault (defined in BusFormBase)BusFormBaseprotected
m_choiceCtrlVoltage (defined in BusFormBase)BusFormBaseprotected
m_choiceFaultPlace (defined in BusFormBase)BusFormBaseprotected
m_choiceFaultType (defined in BusFormBase)BusFormBaseprotected
m_choiceNomVoltage (defined in BusFormBase)BusFormBaseprotected
m_notebook (defined in BusFormBase)BusFormBaseprotected
m_panelFault (defined in BusFormBase)BusFormBaseprotected
m_panelGeneral (defined in BusFormBase)BusFormBaseprotected
m_panelStability (defined in BusFormBase)BusFormBaseprotected
m_parent (defined in BusForm)BusFormprotected
m_staticTextFaultPlace (defined in BusFormBase)BusFormBaseprotected
m_staticTextFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_staticTextFaultType (defined in BusFormBase)BusFormBaseprotected
m_staticTextName (defined in BusFormBase)BusFormBaseprotected
m_staticTextNomVoltage (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_1 (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_2 (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_3 (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_4 (defined in BusFormBase)BusFormBaseprotected
m_staticTextReactance (defined in BusFormBase)BusFormBaseprotected
m_staticTextS_1 (defined in BusFormBase)BusFormBaseprotected
m_staticTextS_2 (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultLength (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultReactance (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultTime (defined in BusFormBase)BusFormBaseprotected
m_textCtrlCtrlVoltage (defined in BusFormBase)BusFormBaseprotected
m_textCtrlFaultReactance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlName (defined in BusFormBase)BusFormBaseprotected
m_textCtrlNomVoltage (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultLength (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultReactance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultTime (defined in BusFormBase)BusFormBaseprotected
OnButtonCancelClick(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
OnButtonOKClick(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
OnControlledVoltageClick(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
OnFaultTypeChoice(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
OnInsertFaultClick(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
OnInsertStabFaultClick(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
OnNominalVoltageChoice(wxCommandEvent &event) (defined in BusForm)BusFormprotectedvirtual
UpdateChoiceBoxes() (defined in BusForm)BusFormprotectedvirtual
~BusForm() (defined in BusForm)BusFormvirtual
~BusFormBase() (defined in BusFormBase)BusFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_bus_form.html b/docs/doxygen/html/class_bus_form.html new file mode 100644 index 0000000..810645c --- /dev/null +++ b/docs/doxygen/html/class_bus_form.html @@ -0,0 +1,391 @@ + + + + + + + +PSP-UFU: BusForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
BusForm Class Reference
+
+
+
+Inheritance diagram for BusForm:
+
+
+ + +BusFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

BusForm (wxWindow *parent, Bus *bus)
 
- Public Member Functions inherited from BusFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNomVoltage ()
 
+wxTextCtrl * GetTextCtrlNomVoltage ()
 
+wxChoice * GetChoiceNomVoltage ()
 
+wxCheckBox * GetCheckBoxCtrlVoltage ()
 
+wxTextCtrl * GetTextCtrlCtrlVoltage ()
 
+wxChoice * GetChoiceCtrlVoltage ()
 
+wxCheckBox * GetCheckBoxSlackBus ()
 
+wxPanel * GetPanelGeneral ()
 
+wxCheckBox * GetCheckBoxFault ()
 
+wxStaticText * GetStaticTextFaultType ()
 
+wxChoice * GetChoiceFaultType ()
 
+wxStaticText * GetStaticTextFaultPlace ()
 
+wxChoice * GetChoiceFaultPlace ()
 
+wxStaticText * GetStaticTextFaultResistance ()
 
+wxTextCtrl * GetTextCtrlFaultResistance ()
 
+wxStaticText * GetStaticTextPU_1 ()
 
+wxStaticText * GetStaticTextReactance ()
 
+wxTextCtrl * GetTextCtrlFaultReactance ()
 
+wxStaticText * GetStaticTextPU_2 ()
 
+wxPanel * GetPanelFault ()
 
+wxCheckBox * GetCheckBoxPlotData ()
 
+wxCheckBox * GetCheckBoxStabFault ()
 
+wxStaticText * GetStaticTextStabFaultTime ()
 
+wxTextCtrl * GetTextCtrlStabFaultTime ()
 
+wxStaticText * GetStaticTextS_1 ()
 
+wxStaticText * GetStaticTextStabFaultLength ()
 
+wxTextCtrl * GetTextCtrlStabFaultLength ()
 
+wxStaticText * GetStaticTextS_2 ()
 
+wxStaticText * GetStaticTextStabFaultResistance ()
 
+wxTextCtrl * GetTextCtrlStabFaultResistance ()
 
+wxStaticText * GetStaticTextPU_3 ()
 
+wxStaticText * GetStaticTextStabFaultReactance ()
 
+wxTextCtrl * GetTextCtrlStabFaultReactance ()
 
+wxStaticText * GetStaticTextPU_4 ()
 
+wxPanel * GetPanelStability ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
BusFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Bus"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnFaultTypeChoice (wxCommandEvent &event)
 
+virtual void OnControlledVoltageClick (wxCommandEvent &event)
 
+virtual void OnInsertFaultClick (wxCommandEvent &event)
 
+virtual void OnInsertStabFaultClick (wxCommandEvent &event)
 
+virtual void OnNominalVoltageChoice (wxCommandEvent &event)
 
+virtual void OnButtonCancelClick (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual void EnableCtrlVoltageFields (bool enable=true)
 
+virtual void EnableFaultFields (bool enable=true)
 
+virtual void EnableStabFaultFields (bool enable=true)
 
+virtual void UpdateChoiceBoxes ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+Busm_bus = NULL
 
+wxWindow * m_parent = NULL
 
- Protected Attributes inherited from BusFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNomVoltage
 
+wxTextCtrl * m_textCtrlNomVoltage
 
+wxChoice * m_choiceNomVoltage
 
+wxCheckBox * m_checkBoxCtrlVoltage
 
+wxTextCtrl * m_textCtrlCtrlVoltage
 
+wxChoice * m_choiceCtrlVoltage
 
+wxCheckBox * m_checkBoxSlackBus
 
+wxPanel * m_panelFault
 
+wxCheckBox * m_checkBoxFault
 
+wxStaticText * m_staticTextFaultType
 
+wxChoice * m_choiceFaultType
 
+wxStaticText * m_staticTextFaultPlace
 
+wxChoice * m_choiceFaultPlace
 
+wxStaticText * m_staticTextFaultResistance
 
+wxTextCtrl * m_textCtrlFaultResistance
 
+wxStaticText * m_staticTextPU_1
 
+wxStaticText * m_staticTextReactance
 
+wxTextCtrl * m_textCtrlFaultReactance
 
+wxStaticText * m_staticTextPU_2
 
+wxPanel * m_panelStability
 
+wxCheckBox * m_checkBoxPlotData
 
+wxCheckBox * m_checkBoxStabFault
 
+wxStaticText * m_staticTextStabFaultTime
 
+wxTextCtrl * m_textCtrlStabFaultTime
 
+wxStaticText * m_staticTextS_1
 
+wxStaticText * m_staticTextStabFaultLength
 
+wxTextCtrl * m_textCtrlStabFaultLength
 
+wxStaticText * m_staticTextS_2
 
+wxStaticText * m_staticTextStabFaultResistance
 
+wxTextCtrl * m_textCtrlStabFaultResistance
 
+wxStaticText * m_staticTextPU_3
 
+wxStaticText * m_staticTextStabFaultReactance
 
+wxTextCtrl * m_textCtrlStabFaultReactance
 
+wxStaticText * m_staticTextPU_4
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_bus_form.png b/docs/doxygen/html/class_bus_form.png new file mode 100644 index 0000000..acade6c Binary files /dev/null and b/docs/doxygen/html/class_bus_form.png differ diff --git a/docs/doxygen/html/class_bus_form_base-members.html b/docs/doxygen/html/class_bus_form_base-members.html new file mode 100644 index 0000000..af5a07a --- /dev/null +++ b/docs/doxygen/html/class_bus_form_base-members.html @@ -0,0 +1,168 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
BusFormBase Member List
+
+
+ +

This is the complete list of members for BusFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
BusFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Bus"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in BusFormBase)BusFormBase
GetButtonCancel() (defined in BusFormBase)BusFormBaseinline
GetButtonOK() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxCtrlVoltage() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxFault() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxPlotData() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxSlackBus() (defined in BusFormBase)BusFormBaseinline
GetCheckBoxStabFault() (defined in BusFormBase)BusFormBaseinline
GetChoiceCtrlVoltage() (defined in BusFormBase)BusFormBaseinline
GetChoiceFaultPlace() (defined in BusFormBase)BusFormBaseinline
GetChoiceFaultType() (defined in BusFormBase)BusFormBaseinline
GetChoiceNomVoltage() (defined in BusFormBase)BusFormBaseinline
GetNotebook() (defined in BusFormBase)BusFormBaseinline
GetPanelFault() (defined in BusFormBase)BusFormBaseinline
GetPanelGeneral() (defined in BusFormBase)BusFormBaseinline
GetPanelStability() (defined in BusFormBase)BusFormBaseinline
GetStaticTextFaultPlace() (defined in BusFormBase)BusFormBaseinline
GetStaticTextFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextFaultType() (defined in BusFormBase)BusFormBaseinline
GetStaticTextName() (defined in BusFormBase)BusFormBaseinline
GetStaticTextNomVoltage() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_1() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_2() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_3() (defined in BusFormBase)BusFormBaseinline
GetStaticTextPU_4() (defined in BusFormBase)BusFormBaseinline
GetStaticTextReactance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextS_1() (defined in BusFormBase)BusFormBaseinline
GetStaticTextS_2() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultLength() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultReactance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetStaticTextStabFaultTime() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlCtrlVoltage() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlFaultReactance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlName() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlNomVoltage() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultLength() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultReactance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultResistance() (defined in BusFormBase)BusFormBaseinline
GetTextCtrlStabFaultTime() (defined in BusFormBase)BusFormBaseinline
m_ButtonCancel (defined in BusFormBase)BusFormBaseprotected
m_buttonOK (defined in BusFormBase)BusFormBaseprotected
m_checkBoxCtrlVoltage (defined in BusFormBase)BusFormBaseprotected
m_checkBoxFault (defined in BusFormBase)BusFormBaseprotected
m_checkBoxPlotData (defined in BusFormBase)BusFormBaseprotected
m_checkBoxSlackBus (defined in BusFormBase)BusFormBaseprotected
m_checkBoxStabFault (defined in BusFormBase)BusFormBaseprotected
m_choiceCtrlVoltage (defined in BusFormBase)BusFormBaseprotected
m_choiceFaultPlace (defined in BusFormBase)BusFormBaseprotected
m_choiceFaultType (defined in BusFormBase)BusFormBaseprotected
m_choiceNomVoltage (defined in BusFormBase)BusFormBaseprotected
m_notebook (defined in BusFormBase)BusFormBaseprotected
m_panelFault (defined in BusFormBase)BusFormBaseprotected
m_panelGeneral (defined in BusFormBase)BusFormBaseprotected
m_panelStability (defined in BusFormBase)BusFormBaseprotected
m_staticTextFaultPlace (defined in BusFormBase)BusFormBaseprotected
m_staticTextFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_staticTextFaultType (defined in BusFormBase)BusFormBaseprotected
m_staticTextName (defined in BusFormBase)BusFormBaseprotected
m_staticTextNomVoltage (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_1 (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_2 (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_3 (defined in BusFormBase)BusFormBaseprotected
m_staticTextPU_4 (defined in BusFormBase)BusFormBaseprotected
m_staticTextReactance (defined in BusFormBase)BusFormBaseprotected
m_staticTextS_1 (defined in BusFormBase)BusFormBaseprotected
m_staticTextS_2 (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultLength (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultReactance (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_staticTextStabFaultTime (defined in BusFormBase)BusFormBaseprotected
m_textCtrlCtrlVoltage (defined in BusFormBase)BusFormBaseprotected
m_textCtrlFaultReactance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlName (defined in BusFormBase)BusFormBaseprotected
m_textCtrlNomVoltage (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultLength (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultReactance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultResistance (defined in BusFormBase)BusFormBaseprotected
m_textCtrlStabFaultTime (defined in BusFormBase)BusFormBaseprotected
OnButtonCancelClick(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
OnButtonOKClick(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
OnControlledVoltageClick(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
OnFaultTypeChoice(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
OnInsertFaultClick(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
OnInsertStabFaultClick(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
OnNominalVoltageChoice(wxCommandEvent &event) (defined in BusFormBase)BusFormBaseinlineprotectedvirtual
~BusFormBase() (defined in BusFormBase)BusFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_bus_form_base.html b/docs/doxygen/html/class_bus_form_base.html new file mode 100644 index 0000000..3818c80 --- /dev/null +++ b/docs/doxygen/html/class_bus_form_base.html @@ -0,0 +1,368 @@ + + + + + + + +PSP-UFU: BusFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
BusFormBase Class Reference
+
+
+
+Inheritance diagram for BusFormBase:
+
+
+ + +BusForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNomVoltage ()
 
+wxTextCtrl * GetTextCtrlNomVoltage ()
 
+wxChoice * GetChoiceNomVoltage ()
 
+wxCheckBox * GetCheckBoxCtrlVoltage ()
 
+wxTextCtrl * GetTextCtrlCtrlVoltage ()
 
+wxChoice * GetChoiceCtrlVoltage ()
 
+wxCheckBox * GetCheckBoxSlackBus ()
 
+wxPanel * GetPanelGeneral ()
 
+wxCheckBox * GetCheckBoxFault ()
 
+wxStaticText * GetStaticTextFaultType ()
 
+wxChoice * GetChoiceFaultType ()
 
+wxStaticText * GetStaticTextFaultPlace ()
 
+wxChoice * GetChoiceFaultPlace ()
 
+wxStaticText * GetStaticTextFaultResistance ()
 
+wxTextCtrl * GetTextCtrlFaultResistance ()
 
+wxStaticText * GetStaticTextPU_1 ()
 
+wxStaticText * GetStaticTextReactance ()
 
+wxTextCtrl * GetTextCtrlFaultReactance ()
 
+wxStaticText * GetStaticTextPU_2 ()
 
+wxPanel * GetPanelFault ()
 
+wxCheckBox * GetCheckBoxPlotData ()
 
+wxCheckBox * GetCheckBoxStabFault ()
 
+wxStaticText * GetStaticTextStabFaultTime ()
 
+wxTextCtrl * GetTextCtrlStabFaultTime ()
 
+wxStaticText * GetStaticTextS_1 ()
 
+wxStaticText * GetStaticTextStabFaultLength ()
 
+wxTextCtrl * GetTextCtrlStabFaultLength ()
 
+wxStaticText * GetStaticTextS_2 ()
 
+wxStaticText * GetStaticTextStabFaultResistance ()
 
+wxTextCtrl * GetTextCtrlStabFaultResistance ()
 
+wxStaticText * GetStaticTextPU_3 ()
 
+wxStaticText * GetStaticTextStabFaultReactance ()
 
+wxTextCtrl * GetTextCtrlStabFaultReactance ()
 
+wxStaticText * GetStaticTextPU_4 ()
 
+wxPanel * GetPanelStability ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
BusFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Bus"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnNominalVoltageChoice (wxCommandEvent &event)
 
+virtual void OnControlledVoltageClick (wxCommandEvent &event)
 
+virtual void OnInsertFaultClick (wxCommandEvent &event)
 
+virtual void OnFaultTypeChoice (wxCommandEvent &event)
 
+virtual void OnInsertStabFaultClick (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual void OnButtonCancelClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNomVoltage
 
+wxTextCtrl * m_textCtrlNomVoltage
 
+wxChoice * m_choiceNomVoltage
 
+wxCheckBox * m_checkBoxCtrlVoltage
 
+wxTextCtrl * m_textCtrlCtrlVoltage
 
+wxChoice * m_choiceCtrlVoltage
 
+wxCheckBox * m_checkBoxSlackBus
 
+wxPanel * m_panelFault
 
+wxCheckBox * m_checkBoxFault
 
+wxStaticText * m_staticTextFaultType
 
+wxChoice * m_choiceFaultType
 
+wxStaticText * m_staticTextFaultPlace
 
+wxChoice * m_choiceFaultPlace
 
+wxStaticText * m_staticTextFaultResistance
 
+wxTextCtrl * m_textCtrlFaultResistance
 
+wxStaticText * m_staticTextPU_1
 
+wxStaticText * m_staticTextReactance
 
+wxTextCtrl * m_textCtrlFaultReactance
 
+wxStaticText * m_staticTextPU_2
 
+wxPanel * m_panelStability
 
+wxCheckBox * m_checkBoxPlotData
 
+wxCheckBox * m_checkBoxStabFault
 
+wxStaticText * m_staticTextStabFaultTime
 
+wxTextCtrl * m_textCtrlStabFaultTime
 
+wxStaticText * m_staticTextS_1
 
+wxStaticText * m_staticTextStabFaultLength
 
+wxTextCtrl * m_textCtrlStabFaultLength
 
+wxStaticText * m_staticTextS_2
 
+wxStaticText * m_staticTextStabFaultResistance
 
+wxTextCtrl * m_textCtrlStabFaultResistance
 
+wxStaticText * m_staticTextPU_3
 
+wxStaticText * m_staticTextStabFaultReactance
 
+wxTextCtrl * m_textCtrlStabFaultReactance
 
+wxStaticText * m_staticTextPU_4
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_bus_form_base.png b/docs/doxygen/html/class_bus_form_base.png new file mode 100644 index 0000000..381d32f Binary files /dev/null and b/docs/doxygen/html/class_bus_form_base.png differ diff --git a/docs/doxygen/html/class_camera-members.html b/docs/doxygen/html/class_camera-members.html new file mode 100644 index 0000000..e136949 --- /dev/null +++ b/docs/doxygen/html/class_camera-members.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Camera Member List
+
+
+ +

This is the complete list of members for Camera, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + +
Camera() (defined in Camera)Camera
GetMousePosition(bool worldCoords=true) const (defined in Camera)Camera
GetScale() const (defined in Camera)Camerainline
GetTranslation() const (defined in Camera)Camerainline
GetZoomMax() const (defined in Camera)Camerainline
GetZoomMin() const (defined in Camera)Camerainline
m_mousePosition (defined in Camera)Cameraprotected
m_scale (defined in Camera)Cameraprotected
m_translation (defined in Camera)Cameraprotected
m_translationStartPt (defined in Camera)Cameraprotected
m_zoomMax (defined in Camera)Cameraprotected
m_zoomMin (defined in Camera)Cameraprotected
ScreenToWorld(wxPoint2DDouble screenCoords) const (defined in Camera)Camera
SetScale(wxPoint2DDouble screenPoint, double delta) (defined in Camera)Camera
SetScale(double scale) (defined in Camera)Camerainline
SetTranslation(wxPoint2DDouble screenPoint) (defined in Camera)Camera
StartTranslation(wxPoint2DDouble startPoint) (defined in Camera)Camerainline
UpdateMousePosition(wxPoint2DDouble mousePosition) (defined in Camera)Camerainline
~Camera() (defined in Camera)Camera
+ + + + diff --git a/docs/doxygen/html/class_camera.html b/docs/doxygen/html/class_camera.html new file mode 100644 index 0000000..2b67db0 --- /dev/null +++ b/docs/doxygen/html/class_camera.html @@ -0,0 +1,142 @@ + + + + + + + +PSP-UFU: Camera Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Camera Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+void SetScale (wxPoint2DDouble screenPoint, double delta)
 
+void SetScale (double scale)
 
+void SetTranslation (wxPoint2DDouble screenPoint)
 
+void StartTranslation (wxPoint2DDouble startPoint)
 
+void UpdateMousePosition (wxPoint2DDouble mousePosition)
 
+double GetScale () const
 
+wxPoint2DDouble GetTranslation () const
 
+wxPoint2DDouble GetMousePosition (bool worldCoords=true) const
 
+wxPoint2DDouble ScreenToWorld (wxPoint2DDouble screenCoords) const
 
+double GetZoomMin () const
 
+double GetZoomMax () const
 
+ + + + + + + + + + + + + +

+Protected Attributes

+wxPoint2DDouble m_translation
 
+wxPoint2DDouble m_translationStartPt
 
+double m_scale
 
+wxPoint2DDouble m_mousePosition
 
+double m_zoomMin = 0.01
 
+double m_zoomMax = 3.0
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_capacitor-members.html b/docs/doxygen/html/class_capacitor-members.html new file mode 100644 index 0000000..95b7c56 --- /dev/null +++ b/docs/doxygen/html/class_capacitor-members.html @@ -0,0 +1,216 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Capacitor Member List
+
+
+ +

This is the complete list of members for Capacitor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Capacitorvirtual
Shunt::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Capacitor() (defined in Capacitor)Capacitor
Capacitor(wxString name) (defined in Capacitor)Capacitor
Contains(wxPoint2DDouble position) constCapacitorvirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constCapacitorvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawGround(wxPoint2DDouble position) const (defined in Shunt)Shuntprotected
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Capacitorvirtual
GetCopy()Capacitorvirtual
GetElectricalData() (defined in Capacitor)Capacitorinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemPowerBase) (defined in Capacitor)Capacitorvirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constCapacitorvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constCapacitorvirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in Capacitor)Capacitorprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Shunt)Shuntprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Shuntvirtual
MoveNode(Element *element, wxPoint2DDouble position)Shuntvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Shuntvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Shuntvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Capacitorvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Shuntvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(CapacitorElectricalData electricalData) (defined in Capacitor)Capacitorinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Shuntvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Capacitorvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Shunt() (defined in Shunt)Shunt
StartMove(wxPoint2DDouble position)Shuntvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Shuntvirtual
UpdatePowerFlowArrowsPosition() (defined in Shunt)Shuntprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Shunt)Shuntprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Capacitor() (defined in Capacitor)Capacitor
~Element()Elementvirtual
~PowerElement()PowerElement
~Shunt() (defined in Shunt)Shunt
+ + + + diff --git a/docs/doxygen/html/class_capacitor.html b/docs/doxygen/html/class_capacitor.html new file mode 100644 index 0000000..ee59947 --- /dev/null +++ b/docs/doxygen/html/class_capacitor.html @@ -0,0 +1,870 @@ + + + + + + + +PSP-UFU: Capacitor Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Capacitor Class Reference
+
+
+
+Inheritance diagram for Capacitor:
+
+
+ + +Shunt +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Capacitor (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
+virtual CapacitorElectricalData GetElectricalData ()
 
+virtual CapacitorElectricalData GetPUElectricalData (double systemPowerBase)
 
+virtual void SetElectricalData (CapacitorElectricalData electricalData)
 
- Public Member Functions inherited from Shunt
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+CapacitorElectricalData m_electricalData
 
- Protected Attributes inherited from Shunt
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Member Functions inherited from Shunt
+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+void DrawGround (wxPoint2DDouble position) const
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Capacitor::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Capacitor::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Reimplemented from Shunt.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Capacitor::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Capacitor::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Capacitor::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString Capacitor::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Capacitor::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Reimplemented from Shunt.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Capacitor::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Capacitor::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_capacitor.png b/docs/doxygen/html/class_capacitor.png new file mode 100644 index 0000000..b3cbadf Binary files /dev/null and b/docs/doxygen/html/class_capacitor.png differ diff --git a/docs/doxygen/html/class_chart_view-members.html b/docs/doxygen/html/class_chart_view-members.html new file mode 100644 index 0000000..94f7f95 --- /dev/null +++ b/docs/doxygen/html/class_chart_view-members.html @@ -0,0 +1,160 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ChartView Member List
+
+
+ +

This is the complete list of members for ChartView, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AllToYAxis(wxTreeItemId root) (defined in ChartView)ChartViewprotectedvirtual
BuildColourList() (defined in ChartView)ChartViewprotectedvirtual
ChartView(wxWindow *parent, std::vector< ElementPlotData > epdList, std::vector< double > time) (defined in ChartView)ChartView
ChartViewBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Chart viewer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE) (defined in ChartViewBase)ChartViewBase
Fit() (defined in ChartView)ChartView
GetActiveCurvesCSV() (defined in ChartView)ChartViewprotectedvirtual
GetActivePlotData(wxTreeItemId root, std::vector< PlotData *> &plotDataList) (defined in ChartView)ChartViewprotectedvirtual
GetMenuBar() (defined in ChartViewBase)ChartViewBaseinline
GetNextColour() (defined in ChartView)ChartViewprotectedvirtual
GetPgMgr() (defined in ChartViewBase)ChartViewBaseinline
GetTreeCtrl() (defined in ChartViewBase)ChartViewBaseinline
m_chartTitle (defined in ChartView)ChartViewprotected
m_colourList (defined in ChartView)ChartViewprotected
m_coords (defined in ChartView)ChartViewprotected
m_darkTheme (defined in ChartView)ChartViewprotected
m_epdList (defined in ChartView)ChartViewprotected
m_hideGrid (defined in ChartView)ChartViewprotected
m_itColourList (defined in ChartView)ChartViewprotected
m_leg (defined in ChartView)ChartViewprotected
m_menuBar (defined in ChartViewBase)ChartViewBaseprotected
m_menuFile (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemDarkTheme (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemExit (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemExportCSV (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemFit (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSaveImage (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSendToClipboard (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSeparator_1 (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSeparator_2 (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemShowCoordinates (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemShowGrid (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemShowLabel (defined in ChartViewBase)ChartViewBaseprotected
m_menuView (defined in ChartViewBase)ChartViewBaseprotected
m_mpWindow (defined in ChartView)ChartViewprotected
m_pgMgr (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropAxisLimit (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropChartProp (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropChartTitle (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropColor (defined in ChartView)ChartViewprotected
m_pgPropDraw (defined in ChartViewBase)ChartViewBaseprotected
m_pgProplineAxis (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropLineProp (defined in ChartViewBase)ChartViewBaseprotected
m_pgProplineThick (defined in ChartViewBase)ChartViewBaseprotected
m_pgProplineType (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMargins (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsBot (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsLeft (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsRight (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsUp (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropXLabel (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropXMax (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropXMin (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropYLabel (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropYMax (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropYMin (defined in ChartViewBase)ChartViewBaseprotected
m_showCoords (defined in ChartView)ChartViewprotected
m_showLeg (defined in ChartView)ChartViewprotected
m_time (defined in ChartView)ChartViewprotected
m_treeCtrl (defined in ChartViewBase)ChartViewBaseprotected
m_treeTimeID (defined in ChartView)ChartViewprotected
m_xaxis (defined in ChartView)ChartViewprotected
m_xAxisValues (defined in ChartView)ChartViewprotected
m_yaxis (defined in ChartView)ChartViewprotected
OnMenuDarkThemeClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnMenuExitClick(wxCommandEvent &event) (defined in ChartView)ChartViewinlineprotectedvirtual
OnMenuExpCSVClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnMenuFitClick(wxCommandEvent &event) (defined in ChartView)ChartViewinlineprotectedvirtual
OnMenuSaveImageClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnMenuSendClipClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnMenuShowCoordinatesClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnMenuShowGridClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnMenuShowLabelClick(wxCommandEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnPropertyGridChange(wxPropertyGridEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnTreeItemActivated(wxTreeEvent &event) (defined in ChartView)ChartViewprotectedvirtual
OnTreeItemSelectionChanged(wxTreeEvent &event) (defined in ChartView)ChartViewprotectedvirtual
SetMPWindow() (defined in ChartView)ChartViewprotectedvirtual
SetTreectrl() (defined in ChartView)ChartViewprotectedvirtual
UpdateAllPlots(wxTreeItemId root) (defined in ChartView)ChartViewprotectedvirtual
UpdatePlot(bool fit=true) (defined in ChartView)ChartView
~ChartView() (defined in ChartView)ChartViewvirtual
~ChartViewBase() (defined in ChartViewBase)ChartViewBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_chart_view.html b/docs/doxygen/html/class_chart_view.html new file mode 100644 index 0000000..1bf5075 --- /dev/null +++ b/docs/doxygen/html/class_chart_view.html @@ -0,0 +1,343 @@ + + + + + + + +PSP-UFU: ChartView Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ChartView Class Reference
+
+
+
+Inheritance diagram for ChartView:
+
+
+ + +ChartViewBase + +
+ + + + + + + + + + + + + + + + + +

+Public Member Functions

ChartView (wxWindow *parent, std::vector< ElementPlotData > epdList, std::vector< double > time)
 
+void Fit ()
 
+void UpdatePlot (bool fit=true)
 
- Public Member Functions inherited from ChartViewBase
+wxMenuBar * GetMenuBar ()
 
+wxTreeCtrl * GetTreeCtrl ()
 
+wxPropertyGridManager * GetPgMgr ()
 
ChartViewBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Chart viewer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnMenuExpCSVClick (wxCommandEvent &event)
 
+virtual void OnTreeItemActivated (wxTreeEvent &event)
 
+virtual void OnTreeItemSelectionChanged (wxTreeEvent &event)
 
+virtual void OnMenuDarkThemeClick (wxCommandEvent &event)
 
+virtual void OnMenuExitClick (wxCommandEvent &event)
 
+virtual void OnMenuFitClick (wxCommandEvent &event)
 
+virtual void OnMenuSaveImageClick (wxCommandEvent &event)
 
+virtual void OnMenuSendClipClick (wxCommandEvent &event)
 
+virtual void OnMenuShowCoordinatesClick (wxCommandEvent &event)
 
+virtual void OnMenuShowGridClick (wxCommandEvent &event)
 
+virtual void OnMenuShowLabelClick (wxCommandEvent &event)
 
+virtual void OnPropertyGridChange (wxPropertyGridEvent &event)
 
+virtual void SetMPWindow ()
 
+virtual void SetTreectrl ()
 
+virtual void BuildColourList ()
 
+virtual wxColour GetNextColour ()
 
+virtual wxTreeItemId AllToYAxis (wxTreeItemId root)
 
+virtual wxTreeItemId UpdateAllPlots (wxTreeItemId root)
 
+virtual wxString GetActiveCurvesCSV ()
 
+virtual wxTreeItemId GetActivePlotData (wxTreeItemId root, std::vector< PlotData *> &plotDataList)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxPGProperty * m_pgPropColor = NULL
 
+wxTreeItemId m_treeTimeID
 
+std::vector< ElementPlotDatam_epdList
 
+std::vector< double > m_time
 
+std::vector< double > m_xAxisValues
 
+mpWindow * m_mpWindow = NULL
 
+mpScaleX * m_xaxis = NULL
 
+mpScaleY * m_yaxis = NULL
 
+mpText * m_chartTitle = NULL
 
+mpInfoCoords * m_coords = NULL
 
+mpInfoLegend * m_leg = NULL
 
+bool m_hideGrid = true
 
+bool m_showLeg = true
 
+bool m_showCoords = false
 
+bool m_darkTheme = false
 
+std::vector< wxColour > m_colourList
 
+std::vector< wxColour >::iterator m_itColourList
 
- Protected Attributes inherited from ChartViewBase
+wxMenuBar * m_menuBar
 
+wxMenu * m_menuFile
 
+wxMenuItem * m_menuItemSaveImage
 
+wxMenuItem * m_menuItemSendToClipboard
 
+wxMenuItem * m_menuItemExportCSV
 
+wxMenuItem * m_menuItemSeparator_1
 
+wxMenuItem * m_menuItemExit
 
+wxMenu * m_menuView
 
+wxMenuItem * m_menuItemFit
 
+wxMenuItem * m_menuItemSeparator_2
 
+wxMenuItem * m_menuItemShowGrid
 
+wxMenuItem * m_menuItemShowLabel
 
+wxMenuItem * m_menuItemShowCoordinates
 
+wxMenuItem * m_menuItemDarkTheme
 
+wxTreeCtrl * m_treeCtrl
 
+wxPropertyGridManager * m_pgMgr
 
+wxPGProperty * m_pgPropLineProp
 
+wxPGProperty * m_pgPropDraw
 
+wxPGProperty * m_pgProplineThick
 
+wxPGProperty * m_pgProplineType
 
+wxPGProperty * m_pgProplineAxis
 
+wxPGProperty * m_pgPropChartProp
 
+wxPGProperty * m_pgPropChartTitle
 
+wxPGProperty * m_pgPropXLabel
 
+wxPGProperty * m_pgPropYLabel
 
+wxPGProperty * m_pgPropMargins
 
+wxPGProperty * m_pgPropMarginsUp
 
+wxPGProperty * m_pgPropMarginsBot
 
+wxPGProperty * m_pgPropMarginsLeft
 
+wxPGProperty * m_pgPropMarginsRight
 
+wxPGProperty * m_pgPropAxisLimit
 
+wxPGProperty * m_pgPropXMin
 
+wxPGProperty * m_pgPropXMax
 
+wxPGProperty * m_pgPropYMin
 
+wxPGProperty * m_pgPropYMax
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_chart_view.png b/docs/doxygen/html/class_chart_view.png new file mode 100644 index 0000000..be9ba87 Binary files /dev/null and b/docs/doxygen/html/class_chart_view.png differ diff --git a/docs/doxygen/html/class_chart_view_base-members.html b/docs/doxygen/html/class_chart_view_base-members.html new file mode 100644 index 0000000..ccbdab5 --- /dev/null +++ b/docs/doxygen/html/class_chart_view_base-members.html @@ -0,0 +1,131 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ChartViewBase Member List
+
+
+ +

This is the complete list of members for ChartViewBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChartViewBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Chart viewer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE) (defined in ChartViewBase)ChartViewBase
GetMenuBar() (defined in ChartViewBase)ChartViewBaseinline
GetPgMgr() (defined in ChartViewBase)ChartViewBaseinline
GetTreeCtrl() (defined in ChartViewBase)ChartViewBaseinline
m_menuBar (defined in ChartViewBase)ChartViewBaseprotected
m_menuFile (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemDarkTheme (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemExit (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemExportCSV (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemFit (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSaveImage (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSendToClipboard (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSeparator_1 (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemSeparator_2 (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemShowCoordinates (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemShowGrid (defined in ChartViewBase)ChartViewBaseprotected
m_menuItemShowLabel (defined in ChartViewBase)ChartViewBaseprotected
m_menuView (defined in ChartViewBase)ChartViewBaseprotected
m_pgMgr (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropAxisLimit (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropChartProp (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropChartTitle (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropDraw (defined in ChartViewBase)ChartViewBaseprotected
m_pgProplineAxis (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropLineProp (defined in ChartViewBase)ChartViewBaseprotected
m_pgProplineThick (defined in ChartViewBase)ChartViewBaseprotected
m_pgProplineType (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMargins (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsBot (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsLeft (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsRight (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropMarginsUp (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropXLabel (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropXMax (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropXMin (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropYLabel (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropYMax (defined in ChartViewBase)ChartViewBaseprotected
m_pgPropYMin (defined in ChartViewBase)ChartViewBaseprotected
m_treeCtrl (defined in ChartViewBase)ChartViewBaseprotected
OnMenuDarkThemeClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuExitClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuExpCSVClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuFitClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuSaveImageClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuSendClipClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuShowCoordinatesClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuShowGridClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnMenuShowLabelClick(wxCommandEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnPropertyGridChange(wxPropertyGridEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnTreeItemActivated(wxTreeEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
OnTreeItemSelectionChanged(wxTreeEvent &event) (defined in ChartViewBase)ChartViewBaseinlineprotectedvirtual
~ChartViewBase() (defined in ChartViewBase)ChartViewBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_chart_view_base.html b/docs/doxygen/html/class_chart_view_base.html new file mode 100644 index 0000000..cf17dbb --- /dev/null +++ b/docs/doxygen/html/class_chart_view_base.html @@ -0,0 +1,257 @@ + + + + + + + +PSP-UFU: ChartViewBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ChartViewBase Class Reference
+
+
+
+Inheritance diagram for ChartViewBase:
+
+
+ + +ChartView + +
+ + + + + + + + + + +

+Public Member Functions

+wxMenuBar * GetMenuBar ()
 
+wxTreeCtrl * GetTreeCtrl ()
 
+wxPropertyGridManager * GetPgMgr ()
 
ChartViewBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Chart viewer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnMenuSaveImageClick (wxCommandEvent &event)
 
+virtual void OnMenuSendClipClick (wxCommandEvent &event)
 
+virtual void OnMenuExpCSVClick (wxCommandEvent &event)
 
+virtual void OnMenuExitClick (wxCommandEvent &event)
 
+virtual void OnMenuFitClick (wxCommandEvent &event)
 
+virtual void OnMenuShowGridClick (wxCommandEvent &event)
 
+virtual void OnMenuShowLabelClick (wxCommandEvent &event)
 
+virtual void OnMenuShowCoordinatesClick (wxCommandEvent &event)
 
+virtual void OnMenuDarkThemeClick (wxCommandEvent &event)
 
+virtual void OnTreeItemActivated (wxTreeEvent &event)
 
+virtual void OnTreeItemSelectionChanged (wxTreeEvent &event)
 
+virtual void OnPropertyGridChange (wxPropertyGridEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxMenuBar * m_menuBar
 
+wxMenu * m_menuFile
 
+wxMenuItem * m_menuItemSaveImage
 
+wxMenuItem * m_menuItemSendToClipboard
 
+wxMenuItem * m_menuItemExportCSV
 
+wxMenuItem * m_menuItemSeparator_1
 
+wxMenuItem * m_menuItemExit
 
+wxMenu * m_menuView
 
+wxMenuItem * m_menuItemFit
 
+wxMenuItem * m_menuItemSeparator_2
 
+wxMenuItem * m_menuItemShowGrid
 
+wxMenuItem * m_menuItemShowLabel
 
+wxMenuItem * m_menuItemShowCoordinates
 
+wxMenuItem * m_menuItemDarkTheme
 
+wxTreeCtrl * m_treeCtrl
 
+wxPropertyGridManager * m_pgMgr
 
+wxPGProperty * m_pgPropLineProp
 
+wxPGProperty * m_pgPropDraw
 
+wxPGProperty * m_pgProplineThick
 
+wxPGProperty * m_pgProplineType
 
+wxPGProperty * m_pgProplineAxis
 
+wxPGProperty * m_pgPropChartProp
 
+wxPGProperty * m_pgPropChartTitle
 
+wxPGProperty * m_pgPropXLabel
 
+wxPGProperty * m_pgPropYLabel
 
+wxPGProperty * m_pgPropMargins
 
+wxPGProperty * m_pgPropMarginsUp
 
+wxPGProperty * m_pgPropMarginsBot
 
+wxPGProperty * m_pgPropMarginsLeft
 
+wxPGProperty * m_pgPropMarginsRight
 
+wxPGProperty * m_pgPropAxisLimit
 
+wxPGProperty * m_pgPropXMin
 
+wxPGProperty * m_pgPropXMax
 
+wxPGProperty * m_pgPropYMin
 
+wxPGProperty * m_pgPropYMax
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_chart_view_base.png b/docs/doxygen/html/class_chart_view_base.png new file mode 100644 index 0000000..3df1a98 Binary files /dev/null and b/docs/doxygen/html/class_chart_view_base.png differ diff --git a/docs/doxygen/html/class_connection_line-members.html b/docs/doxygen/html/class_connection_line-members.html new file mode 100644 index 0000000..9d322ca --- /dev/null +++ b/docs/doxygen/html/class_connection_line-members.html @@ -0,0 +1,216 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ConnectionLine Member List
+
+
+ +

This is the complete list of members for ConnectionLine, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
AppendNode(Node *node, ControlElement *parent) (defined in ConnectionLine)ConnectionLinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
ConnectionLine() (defined in ConnectionLine)ConnectionLine
ConnectionLine(Node *firstNode, int id) (defined in ConnectionLine)ConnectionLine
ConnectionLineType enum name (defined in ConnectionLine)ConnectionLine
Contains(wxPoint2DDouble position) constConnectionLinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constConnectionLinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
ELEMENT_ELEMENT enum value (defined in ConnectionLine)ConnectionLine
ELEMENT_LINE enum value (defined in ConnectionLine)ConnectionLine
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()ConnectionLinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetLineChildList() const (defined in ConnectionLine)ConnectionLinevirtual
GetMidPoint() const (defined in ConnectionLine)ConnectionLinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOffset() const (defined in ConnectionLine)ConnectionLineinlinevirtual
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentLine() const (defined in ConnectionLine)ConnectionLineinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetType() const (defined in ConnectionLine)ConnectionLineinlinevirtual
GetValue() const (defined in ConnectionLine)ConnectionLineinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constConnectionLinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_lineOffset (defined in ConnectionLine)ConnectionLineprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartOffset (defined in ConnectionLine)ConnectionLineprotected
m_moveStartPt (defined in Element)Elementprotected
m_moveStartPtY (defined in ConnectionLine)ConnectionLineprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentLine (defined in ConnectionLine)ConnectionLineprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_tmpSndPt (defined in ConnectionLine)ConnectionLineprotected
m_type (defined in ConnectionLine)ConnectionLineprotected
m_value (defined in ConnectionLine)ConnectionLineprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ConnectionLinevirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)ConnectionLinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOffset(double offset) (defined in ConnectionLine)ConnectionLineinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetParentLine(ConnectionLine *parent) (defined in ConnectionLine)ConnectionLinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetTemporarySecondPoint(wxPoint2DDouble point) (defined in ConnectionLine)ConnectionLineinlinevirtual
SetType(ConnectionLineType newType) (defined in ConnectionLine)ConnectionLineinlinevirtual
SetValue(double value) (defined in ConnectionLine)ConnectionLineinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in ControlElement)ControlElementvirtual
StartMove(wxPoint2DDouble position)ConnectionLinevirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in ConnectionLine)ConnectionLinevirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ConnectionLine() (defined in ConnectionLine)ConnectionLine
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
+ + + + diff --git a/docs/doxygen/html/class_connection_line.html b/docs/doxygen/html/class_connection_line.html new file mode 100644 index 0000000..d261346 --- /dev/null +++ b/docs/doxygen/html/class_connection_line.html @@ -0,0 +1,773 @@ + + + + + + + +PSP-UFU: ConnectionLine Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ConnectionLine Class Reference
+
+
+
+Inheritance diagram for ConnectionLine:
+
+
+ + +ControlElement +Element + +
+ + + + +

+Public Types

enum  ConnectionLineType { ELEMENT_ELEMENT = 0, +ELEMENT_LINE + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ConnectionLine (Node *firstNode, int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+virtual bool AppendNode (Node *node, ControlElement *parent)
 
+virtual void UpdatePoints ()
 
+virtual void SetTemporarySecondPoint (wxPoint2DDouble point)
 
+virtual wxPoint2DDouble GetMidPoint () const
 
+virtual double GetOffset () const
 
+virtual void SetOffset (double offset)
 
+virtual ConnectionLineType GetType () const
 
+virtual void SetType (ConnectionLineType newType)
 
+virtual ConnectionLineGetParentLine () const
 
+virtual bool SetParentLine (ConnectionLine *parent)
 
+virtual std::vector< ConnectionLine * > GetLineChildList () const
 
+virtual double GetValue () const
 
+virtual void SetValue (double value)
 
ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual bool Solve (double input, double timeStep)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double m_lineOffset = 0.0
 
+double m_moveStartPtY = 0.0
 
+double m_moveStartOffset = 0.0
 
+wxPoint2DDouble m_tmpSndPt
 
+ConnectionLineType m_type = ELEMENT_ELEMENT
 
+ConnectionLinem_parentLine = NULL
 
+double m_value
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool ConnectionLine::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void ConnectionLine::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * ConnectionLine::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool ConnectionLine::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void ConnectionLine::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from ControlElement.

+ +
+
+ +

◆ RemoveParent()

+ +
+
+ + + + + +
+ + + + + + + + +
void ConnectionLine::RemoveParent (Elementparent)
+
+virtual
+
+ +

Remove a parent.

+
Parameters
+ + +
parentParent to be removed.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void ConnectionLine::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from ControlElement.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_connection_line.png b/docs/doxygen/html/class_connection_line.png new file mode 100644 index 0000000..91ae789 Binary files /dev/null and b/docs/doxygen/html/class_connection_line.png differ diff --git a/docs/doxygen/html/class_constant-members.html b/docs/doxygen/html/class_constant-members.html new file mode 100644 index 0000000..23d4fad --- /dev/null +++ b/docs/doxygen/html/class_constant-members.html @@ -0,0 +1,198 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Constant Member List
+
+
+ +

This is the complete list of members for Constant, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Constant(int id) (defined in Constant)Constant
Contains(wxPoint2DDouble position) constConstantinlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constConstantvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Constantvirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetValue() const (defined in Constant)Constantinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constConstantinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_fontSize (defined in Constant)Constantprotected
m_glStringValue (defined in Constant)Constantprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_value (defined in Constant)Constantprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Constantvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetValue(double value) (defined in Constant)Constantvirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Constantvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in ControlElement)ControlElementvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in Constant)Constantvirtual
UpdateText() (defined in Constant)Constantinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Constant() (defined in Constant)Constant
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
+ + + + diff --git a/docs/doxygen/html/class_constant.html b/docs/doxygen/html/class_constant.html new file mode 100644 index 0000000..460e089 --- /dev/null +++ b/docs/doxygen/html/class_constant.html @@ -0,0 +1,699 @@ + + + + + + + +PSP-UFU: Constant Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Constant Class Reference
+
+
+
+Inheritance diagram for Constant:
+
+
+ + +ControlElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Constant (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual void UpdateText ()
 
+virtual void SetValue (double value)
 
+virtual double GetValue () const
 
+virtual void UpdatePoints ()
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual bool Solve (double input, double timeStep)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double m_value = 1.0
 
+wxGLStringm_glStringValue = NULL
 
+int m_fontSize = 10
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Constant::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Constant::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Constant::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Constant::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Constant::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Constant::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_constant.png b/docs/doxygen/html/class_constant.png new file mode 100644 index 0000000..93b5594 Binary files /dev/null and b/docs/doxygen/html/class_constant.png differ diff --git a/docs/doxygen/html/class_constant_form-members.html b/docs/doxygen/html/class_constant_form-members.html new file mode 100644 index 0000000..b42b131 --- /dev/null +++ b/docs/doxygen/html/class_constant_form-members.html @@ -0,0 +1,100 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ConstantForm Member List
+
+
+ +

This is the complete list of members for ConstantForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
ConstantForm(wxWindow *parent, Constant *constant) (defined in ConstantForm)ConstantForm
ConstantFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Constant"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ConstantFormBase)ConstantFormBase
GetButtonCancel() (defined in ConstantFormBase)ConstantFormBaseinline
GetButtonOK() (defined in ConstantFormBase)ConstantFormBaseinline
GetNotebook() (defined in ConstantFormBase)ConstantFormBaseinline
GetPanelGeneral() (defined in ConstantFormBase)ConstantFormBaseinline
GetStaticTextValue() (defined in ConstantFormBase)ConstantFormBaseinline
GetTextCtrlValue() (defined in ConstantFormBase)ConstantFormBaseinline
m_buttonCancel (defined in ConstantFormBase)ConstantFormBaseprotected
m_buttonOK (defined in ConstantFormBase)ConstantFormBaseprotected
m_constant (defined in ConstantForm)ConstantFormprotected
m_notebook (defined in ConstantFormBase)ConstantFormBaseprotected
m_panelGeneral (defined in ConstantFormBase)ConstantFormBaseprotected
m_parent (defined in ConstantForm)ConstantFormprotected
m_staticTextValue (defined in ConstantFormBase)ConstantFormBaseprotected
m_textCtrlValue (defined in ConstantFormBase)ConstantFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ConstantForm)ConstantForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in ConstantForm)ConstantFormprotectedvirtual
ValidateData() (defined in ConstantForm)ConstantFormvirtual
~ConstantForm() (defined in ConstantForm)ConstantFormvirtual
~ConstantFormBase() (defined in ConstantFormBase)ConstantFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_constant_form.html b/docs/doxygen/html/class_constant_form.html new file mode 100644 index 0000000..ae870e2 --- /dev/null +++ b/docs/doxygen/html/class_constant_form.html @@ -0,0 +1,163 @@ + + + + + + + +PSP-UFU: ConstantForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ConstantForm Class Reference
+
+
+
+Inheritance diagram for ConstantForm:
+
+
+ + +ConstantFormBase + +
+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ConstantForm (wxWindow *parent, Constant *constant)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from ConstantFormBase
+wxStaticText * GetStaticTextValue ()
 
+wxTextCtrl * GetTextCtrlValue ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
ConstantFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Constant"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Constantm_constant = NULL
 
- Protected Attributes inherited from ConstantFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextValue
 
+wxTextCtrl * m_textCtrlValue
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_constant_form.png b/docs/doxygen/html/class_constant_form.png new file mode 100644 index 0000000..b850ff8 Binary files /dev/null and b/docs/doxygen/html/class_constant_form.png differ diff --git a/docs/doxygen/html/class_constant_form_base-members.html b/docs/doxygen/html/class_constant_form_base-members.html new file mode 100644 index 0000000..b12cae6 --- /dev/null +++ b/docs/doxygen/html/class_constant_form_base-members.html @@ -0,0 +1,95 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ConstantFormBase Member List
+
+
+ +

This is the complete list of members for ConstantFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + +
ConstantFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Constant"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ConstantFormBase)ConstantFormBase
GetButtonCancel() (defined in ConstantFormBase)ConstantFormBaseinline
GetButtonOK() (defined in ConstantFormBase)ConstantFormBaseinline
GetNotebook() (defined in ConstantFormBase)ConstantFormBaseinline
GetPanelGeneral() (defined in ConstantFormBase)ConstantFormBaseinline
GetStaticTextValue() (defined in ConstantFormBase)ConstantFormBaseinline
GetTextCtrlValue() (defined in ConstantFormBase)ConstantFormBaseinline
m_buttonCancel (defined in ConstantFormBase)ConstantFormBaseprotected
m_buttonOK (defined in ConstantFormBase)ConstantFormBaseprotected
m_notebook (defined in ConstantFormBase)ConstantFormBaseprotected
m_panelGeneral (defined in ConstantFormBase)ConstantFormBaseprotected
m_staticTextValue (defined in ConstantFormBase)ConstantFormBaseprotected
m_textCtrlValue (defined in ConstantFormBase)ConstantFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ConstantFormBase)ConstantFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in ConstantFormBase)ConstantFormBaseinlineprotectedvirtual
~ConstantFormBase() (defined in ConstantFormBase)ConstantFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_constant_form_base.html b/docs/doxygen/html/class_constant_form_base.html new file mode 100644 index 0000000..49df475 --- /dev/null +++ b/docs/doxygen/html/class_constant_form_base.html @@ -0,0 +1,149 @@ + + + + + + + +PSP-UFU: ConstantFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ConstantFormBase Class Reference
+
+
+
+Inheritance diagram for ConstantFormBase:
+
+
+ + +ConstantForm + +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextValue ()
 
+wxTextCtrl * GetTextCtrlValue ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
ConstantFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Constant"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextValue
 
+wxTextCtrl * m_textCtrlValue
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_constant_form_base.png b/docs/doxygen/html/class_constant_form_base.png new file mode 100644 index 0000000..e1fc5c8 Binary files /dev/null and b/docs/doxygen/html/class_constant_form_base.png differ diff --git a/docs/doxygen/html/class_control_editor-members.html b/docs/doxygen/html/class_control_editor-members.html new file mode 100644 index 0000000..0a5f54f --- /dev/null +++ b/docs/doxygen/html/class_control_editor-members.html @@ -0,0 +1,159 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlEditor Member List
+
+
+ +

This is the complete list of members for ControlEditor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddElement(ControlElementButtonID id) (defined in ControlEditor)ControlEditorvirtual
BuildControlElementPanel() (defined in ControlEditor)ControlEditorprotected
CheckConnections() (defined in ControlEditor)ControlEditorvirtual
ConsolidateTexts() (defined in ControlEditor)ControlEditorprotected
ControlEditor(wxWindow *parent, int ioflags=IOControl::IN_TERMINAL_VOLTAGE|IOControl::IN_VELOCITY|IOControl::OUT_FIELD_VOLTAGE|IOControl::OUT_MEC_POWER) (defined in ControlEditor)ControlEditor
ControlEditorBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control editor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxDEFAULT_FRAME_STYLE) (defined in ControlEditorBase)ControlEditorBase
ControlEditorMode enum name (defined in ControlEditor)ControlEditor
DeleteLineFromList(std::vector< ConnectionLine *>::iterator &it) (defined in ControlEditor)ControlEditorprotected
DeleteSelectedElements() (defined in ControlEditor)ControlEditorvirtual
GetAuimgr() (defined in ControlEditorBase)ControlEditorBaseinline
GetButtonOK() (defined in ControlEditorBase)ControlEditorBaseinline
GetButtonTest() (defined in ControlEditorBase)ControlEditorBaseinline
GetConnectionLineList() const (defined in ControlEditor)ControlEditorinlinevirtual
GetControlElementList() const (defined in ControlEditor)ControlEditorinlinevirtual
GetGlCanvas() (defined in ControlEditorBase)ControlEditorBaseinline
GetPanelButtons() (defined in ControlEditorBase)ControlEditorBaseinline
GetPanelControlElements() (defined in ControlEditorBase)ControlEditorBaseinline
GetPanelWorkspace() (defined in ControlEditorBase)ControlEditorBaseinline
GetToolbarMain() (defined in ControlEditorBase)ControlEditorBaseinline
ID_RIBBON_EXPORT enum value (defined in ControlEditorBase)ControlEditorBase
ID_RIBBON_IMPORT enum value (defined in ControlEditorBase)ControlEditorBase
LeftClickDown(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
m_auimgr (defined in ControlEditorBase)ControlEditorBaseprotected
m_buttonOK (defined in ControlEditorBase)ControlEditorBaseprotected
m_buttonTest (defined in ControlEditorBase)ControlEditorBaseprotected
m_camera (defined in ControlEditor)ControlEditorprotected
m_connectionList (defined in ControlEditor)ControlEditorprotected
m_ctrlContainer (defined in ControlEditor)ControlEditorprotected
m_elementList (defined in ControlEditor)ControlEditorprotected
m_firstDraw (defined in ControlEditor)ControlEditorprotected
m_glCanvas (defined in ControlEditorBase)ControlEditorBaseprotected
m_glContext (defined in ControlEditor)ControlEditorprotected
m_inputType (defined in ControlEditor)ControlEditorprotected
m_ioFlags (defined in ControlEditor)ControlEditorprotected
m_lastElementID (defined in ControlEditor)ControlEditorprotected
m_mode (defined in ControlEditor)ControlEditorprotected
m_panelButtons (defined in ControlEditorBase)ControlEditorBaseprotected
m_panelControlElements (defined in ControlEditorBase)ControlEditorBaseprotected
m_panelWorkspace (defined in ControlEditorBase)ControlEditorBaseprotected
m_selectionRect (defined in ControlEditor)ControlEditorprotected
m_simTime (defined in ControlEditor)ControlEditorprotected
m_slope (defined in ControlEditor)ControlEditorprotected
m_startSelRect (defined in ControlEditor)ControlEditorprotected
m_startTime (defined in ControlEditor)ControlEditorprotected
m_timeStep (defined in ControlEditor)ControlEditorprotected
m_toolbarMain (defined in ControlEditorBase)ControlEditorBaseprotected
MODE_DRAG enum value (defined in ControlEditor)ControlEditor
MODE_DRAG_INSERT enum value (defined in ControlEditor)ControlEditor
MODE_DRAG_PASTE enum value (defined in ControlEditor)ControlEditor
MODE_EDIT enum value (defined in ControlEditor)ControlEditor
MODE_INSERT enum value (defined in ControlEditor)ControlEditor
MODE_INSERT_LINE enum value (defined in ControlEditor)ControlEditor
MODE_MOVE_ELEMENT enum value (defined in ControlEditor)ControlEditor
MODE_MOVE_LINE enum value (defined in ControlEditor)ControlEditor
MODE_PASTE enum value (defined in ControlEditor)ControlEditor
MODE_SELECTION_RECT enum value (defined in ControlEditor)ControlEditor
OnButtonOKClick(wxCommandEvent &event) (defined in ControlEditor)ControlEditorinlineprotectedvirtual
OnClose(wxCloseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnDoubleClick(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnExportClick(wxCommandEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnIdle(wxIdleEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnImportClick(wxCommandEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnKeyDown(wxKeyEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnLeftClickDown(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnLeftClickUp(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnMiddleDown(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnMiddleUp(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnMouseMotion(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnPaint(wxPaintEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnScroll(wxMouseEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
OnTestClick(wxCommandEvent &event) (defined in ControlEditor)ControlEditorprotectedvirtual
Redraw() (defined in ControlEditor)ControlEditorinlinevirtual
RotateSelectedElements(bool clockwise) (defined in ControlEditor)ControlEditorvirtual
SetConnectionsList(std::vector< ConnectionLine *> connectionList) (defined in ControlEditor)ControlEditorinlinevirtual
SetControlContainer(ControlElementContainer *ctrlContainer) (defined in ControlEditor)ControlEditorinlinevirtual
SetElementsList(std::vector< ControlElement *> elementList) (defined in ControlEditor)ControlEditorinlinevirtual
SetLastElementID() (defined in ControlEditor)ControlEditorprotected
SetViewport() (defined in ControlEditor)ControlEditorprotected
~ControlEditor() (defined in ControlEditor)ControlEditorvirtual
~ControlEditorBase() (defined in ControlEditorBase)ControlEditorBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_control_editor.html b/docs/doxygen/html/class_control_editor.html new file mode 100644 index 0000000..ed68dbe --- /dev/null +++ b/docs/doxygen/html/class_control_editor.html @@ -0,0 +1,326 @@ + + + + + + + +PSP-UFU: ControlEditor Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlEditor Class Reference
+
+
+
+Inheritance diagram for ControlEditor:
+
+
+ + +ControlEditorBase + +
+ + + + + + + +

+Public Types

enum  ControlEditorMode {
+  MODE_EDIT = 0, +MODE_MOVE_ELEMENT, +MODE_MOVE_LINE, +MODE_DRAG, +
+  MODE_DRAG_INSERT, +MODE_INSERT, +MODE_INSERT_LINE, +MODE_SELECTION_RECT, +
+  MODE_PASTE, +MODE_DRAG_PASTE +
+ }
 
- Public Types inherited from ControlEditorBase
enum  { ID_RIBBON_EXPORT = 10001, +ID_RIBBON_IMPORT = 10002 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ControlEditor (wxWindow *parent, int ioflags=IOControl::IN_TERMINAL_VOLTAGE|IOControl::IN_VELOCITY|IOControl::OUT_FIELD_VOLTAGE|IOControl::OUT_MEC_POWER)
 
+virtual void AddElement (ControlElementButtonID id)
 
+virtual void Redraw ()
 
+virtual void RotateSelectedElements (bool clockwise)
 
+virtual void DeleteSelectedElements ()
 
+virtual void CheckConnections ()
 
+virtual std::vector< ConnectionLine * > GetConnectionLineList () const
 
+virtual std::vector< ControlElement * > GetControlElementList () const
 
+virtual void SetElementsList (std::vector< ControlElement *> elementList)
 
+virtual void SetConnectionsList (std::vector< ConnectionLine *> connectionList)
 
+virtual void SetControlContainer (ControlElementContainer *ctrlContainer)
 
- Public Member Functions inherited from ControlEditorBase
+wxToolBar * GetToolbarMain ()
 
+wxPanel * GetPanelControlElements ()
 
+wxGLCanvas * GetGlCanvas ()
 
+wxPanel * GetPanelWorkspace ()
 
+wxButton * GetButtonTest ()
 
+wxButton * GetButtonOK ()
 
+wxPanel * GetPanelButtons ()
 
+wxAuiManager * GetAuimgr ()
 
ControlEditorBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control editor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxDEFAULT_FRAME_STYLE)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnClose (wxCloseEvent &event)
 
+virtual void OnTestClick (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual void OnImportClick (wxCommandEvent &event)
 
+virtual void OnExportClick (wxCommandEvent &event)
 
+virtual void OnKeyDown (wxKeyEvent &event)
 
+virtual void OnIdle (wxIdleEvent &event)
 
+virtual void OnScroll (wxMouseEvent &event)
 
+virtual void OnDoubleClick (wxMouseEvent &event)
 
+virtual void OnLeftClickDown (wxMouseEvent &event)
 
+virtual void OnLeftClickUp (wxMouseEvent &event)
 
+virtual void OnMiddleDown (wxMouseEvent &event)
 
+virtual void OnMiddleUp (wxMouseEvent &event)
 
+virtual void OnMouseMotion (wxMouseEvent &event)
 
+virtual void OnPaint (wxPaintEvent &event)
 
+virtual void LeftClickDown (wxMouseEvent &event)
 
+void BuildControlElementPanel ()
 
+void SetViewport ()
 
+void ConsolidateTexts ()
 
+void SetLastElementID ()
 
+std::vector< ConnectionLine * >::iterator DeleteLineFromList (std::vector< ConnectionLine *>::iterator &it)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxGLContext * m_glContext = NULL
 
+Cameram_camera = NULL
 
+ControlEditorMode m_mode = MODE_EDIT
 
+wxRect2DDouble m_selectionRect
 
+wxPoint2DDouble m_startSelRect
 
+std::vector< ControlElement * > m_elementList
 
+std::vector< ConnectionLine * > m_connectionList
 
+ControlElementContainerm_ctrlContainer = NULL
 
+bool m_firstDraw = true
 
+int m_ioFlags
 
+int m_lastElementID = 0
 
+int m_inputType = 0
 
+double m_startTime = 1.0
 
+double m_slope = 1.0
 
+double m_timeStep = 1e-4
 
+double m_simTime = 10.0
 
- Protected Attributes inherited from ControlEditorBase
+wxToolBar * m_toolbarMain
 
+wxAuiManager * m_auimgr
 
+wxPanel * m_panelControlElements
 
+wxPanel * m_panelWorkspace
 
+wxGLCanvas * m_glCanvas
 
+wxPanel * m_panelButtons
 
+wxButton * m_buttonTest
 
+wxButton * m_buttonOK
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_editor.png b/docs/doxygen/html/class_control_editor.png new file mode 100644 index 0000000..3408aa8 Binary files /dev/null and b/docs/doxygen/html/class_control_editor.png differ diff --git a/docs/doxygen/html/class_control_editor_base-members.html b/docs/doxygen/html/class_control_editor_base-members.html new file mode 100644 index 0000000..5d8c286 --- /dev/null +++ b/docs/doxygen/html/class_control_editor_base-members.html @@ -0,0 +1,114 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlEditorBase Member List
+
+
+ +

This is the complete list of members for ControlEditorBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ControlEditorBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control editor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxDEFAULT_FRAME_STYLE) (defined in ControlEditorBase)ControlEditorBase
GetAuimgr() (defined in ControlEditorBase)ControlEditorBaseinline
GetButtonOK() (defined in ControlEditorBase)ControlEditorBaseinline
GetButtonTest() (defined in ControlEditorBase)ControlEditorBaseinline
GetGlCanvas() (defined in ControlEditorBase)ControlEditorBaseinline
GetPanelButtons() (defined in ControlEditorBase)ControlEditorBaseinline
GetPanelControlElements() (defined in ControlEditorBase)ControlEditorBaseinline
GetPanelWorkspace() (defined in ControlEditorBase)ControlEditorBaseinline
GetToolbarMain() (defined in ControlEditorBase)ControlEditorBaseinline
ID_RIBBON_EXPORT enum value (defined in ControlEditorBase)ControlEditorBase
ID_RIBBON_IMPORT enum value (defined in ControlEditorBase)ControlEditorBase
m_auimgr (defined in ControlEditorBase)ControlEditorBaseprotected
m_buttonOK (defined in ControlEditorBase)ControlEditorBaseprotected
m_buttonTest (defined in ControlEditorBase)ControlEditorBaseprotected
m_glCanvas (defined in ControlEditorBase)ControlEditorBaseprotected
m_panelButtons (defined in ControlEditorBase)ControlEditorBaseprotected
m_panelControlElements (defined in ControlEditorBase)ControlEditorBaseprotected
m_panelWorkspace (defined in ControlEditorBase)ControlEditorBaseprotected
m_toolbarMain (defined in ControlEditorBase)ControlEditorBaseprotected
OnButtonOKClick(wxCommandEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnClose(wxCloseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnDoubleClick(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnExportClick(wxCommandEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnIdle(wxIdleEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnImportClick(wxCommandEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnKeyDown(wxKeyEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnLeftClickDown(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnLeftClickUp(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnMiddleDown(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnMiddleUp(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnMouseMotion(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnPaint(wxPaintEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnScroll(wxMouseEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
OnTestClick(wxCommandEvent &event) (defined in ControlEditorBase)ControlEditorBaseinlineprotectedvirtual
~ControlEditorBase() (defined in ControlEditorBase)ControlEditorBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_control_editor_base.html b/docs/doxygen/html/class_control_editor_base.html new file mode 100644 index 0000000..8af8151 --- /dev/null +++ b/docs/doxygen/html/class_control_editor_base.html @@ -0,0 +1,208 @@ + + + + + + + +PSP-UFU: ControlEditorBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlEditorBase Class Reference
+
+
+
+Inheritance diagram for ControlEditorBase:
+
+
+ + +ControlEditor + +
+ + + + +

+Public Types

enum  { ID_RIBBON_EXPORT = 10001, +ID_RIBBON_IMPORT = 10002 + }
 
+ + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxToolBar * GetToolbarMain ()
 
+wxPanel * GetPanelControlElements ()
 
+wxGLCanvas * GetGlCanvas ()
 
+wxPanel * GetPanelWorkspace ()
 
+wxButton * GetButtonTest ()
 
+wxButton * GetButtonOK ()
 
+wxPanel * GetPanelButtons ()
 
+wxAuiManager * GetAuimgr ()
 
ControlEditorBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control editor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxDEFAULT_FRAME_STYLE)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnKeyDown (wxKeyEvent &event)
 
+virtual void OnClose (wxCloseEvent &event)
 
+virtual void OnImportClick (wxCommandEvent &event)
 
+virtual void OnExportClick (wxCommandEvent &event)
 
+virtual void OnPaint (wxPaintEvent &event)
 
+virtual void OnLeftClickDown (wxMouseEvent &event)
 
+virtual void OnLeftClickUp (wxMouseEvent &event)
 
+virtual void OnDoubleClick (wxMouseEvent &event)
 
+virtual void OnMiddleDown (wxMouseEvent &event)
 
+virtual void OnMiddleUp (wxMouseEvent &event)
 
+virtual void OnMouseMotion (wxMouseEvent &event)
 
+virtual void OnScroll (wxMouseEvent &event)
 
+virtual void OnIdle (wxIdleEvent &event)
 
+virtual void OnTestClick (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxToolBar * m_toolbarMain
 
+wxAuiManager * m_auimgr
 
+wxPanel * m_panelControlElements
 
+wxPanel * m_panelWorkspace
 
+wxGLCanvas * m_glCanvas
 
+wxPanel * m_panelButtons
 
+wxButton * m_buttonTest
 
+wxButton * m_buttonOK
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_editor_base.png b/docs/doxygen/html/class_control_editor_base.png new file mode 100644 index 0000000..8e23bdf Binary files /dev/null and b/docs/doxygen/html/class_control_editor_base.png differ diff --git a/docs/doxygen/html/class_control_element-members.html b/docs/doxygen/html/class_control_element-members.html new file mode 100644 index 0000000..4454b90 --- /dev/null +++ b/docs/doxygen/html/class_control_element-members.html @@ -0,0 +1,190 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlElement Member List
+
+
+ +

This is the complete list of members for ControlElement, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) const =0Elementpure virtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constElementinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) const =0Elementpure virtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in ControlElement)ControlElementvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
+ + + + diff --git a/docs/doxygen/html/class_control_element.html b/docs/doxygen/html/class_control_element.html new file mode 100644 index 0000000..4f84770 --- /dev/null +++ b/docs/doxygen/html/class_control_element.html @@ -0,0 +1,528 @@ + + + + + + + +PSP-UFU: ControlElement Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlElement Class Reference
+
+
+
+Inheritance diagram for ControlElement:
+
+
+ + +Element +ConnectionLine +Constant +Exponential +Gain +IOControl +Limiter +Multiplier +RateLimiter +Sum +TransferFunction + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual bool Solve (double input, double timeStep)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const =0
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const =0
 Check if the element's rect intersects other rect. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void ControlElement::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in Gain, and ConnectionLine.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void ControlElement::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from Element.

+ +

Reimplemented in ConnectionLine.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_element.png b/docs/doxygen/html/class_control_element.png new file mode 100644 index 0000000..ceb7421 Binary files /dev/null and b/docs/doxygen/html/class_control_element.png differ diff --git a/docs/doxygen/html/class_control_element_button-members.html b/docs/doxygen/html/class_control_element_button-members.html new file mode 100644 index 0000000..9e5aacb --- /dev/null +++ b/docs/doxygen/html/class_control_element_button-members.html @@ -0,0 +1,96 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlElementButton Member List
+
+
+ +

This is the complete list of members for ControlElementButton, including all inherited members.

+ + + + + + + + + + + + + + + + + + +
ControlElementButton(wxWindow *parent, wxString label, wxImage image, wxWindowID id=wxID_ANY) (defined in ControlElementButton)ControlElementButton
m_borderSize (defined in ControlElementButton)ControlElementButtonprotected
m_buttonSize (defined in ControlElementButton)ControlElementButtonprotected
m_font (defined in ControlElementButton)ControlElementButtonprotected
m_image (defined in ControlElementButton)ControlElementButtonprotected
m_imagePosition (defined in ControlElementButton)ControlElementButtonprotected
m_imageSize (defined in ControlElementButton)ControlElementButtonprotected
m_label (defined in ControlElementButton)ControlElementButtonprotected
m_labelPosition (defined in ControlElementButton)ControlElementButtonprotected
m_mouseAbove (defined in ControlElementButton)ControlElementButtonprotected
m_selected (defined in ControlElementButton)ControlElementButtonprotected
OnLeftClickDown(wxMouseEvent &event) (defined in ControlElementButton)ControlElementButtonprotectedvirtual
OnLeftClickUp(wxMouseEvent &event) (defined in ControlElementButton)ControlElementButtonprotectedvirtual
OnMouseEnter(wxMouseEvent &event) (defined in ControlElementButton)ControlElementButtonprotectedvirtual
OnMouseLeave(wxMouseEvent &event) (defined in ControlElementButton)ControlElementButtonprotectedvirtual
OnPaint(wxPaintEvent &event) (defined in ControlElementButton)ControlElementButtonprotectedvirtual
~ControlElementButton() (defined in ControlElementButton)ControlElementButton
+ + + + diff --git a/docs/doxygen/html/class_control_element_button.html b/docs/doxygen/html/class_control_element_button.html new file mode 100644 index 0000000..82ebfb6 --- /dev/null +++ b/docs/doxygen/html/class_control_element_button.html @@ -0,0 +1,151 @@ + + + + + + + +PSP-UFU: ControlElementButton Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlElementButton Class Reference
+
+
+
+Inheritance diagram for ControlElementButton:
+
+
+ + + +
+ + + + +

+Public Member Functions

ControlElementButton (wxWindow *parent, wxString label, wxImage image, wxWindowID id=wxID_ANY)
 
+ + + + + + + + + + + +

+Protected Member Functions

+virtual void OnPaint (wxPaintEvent &event)
 
+virtual void OnMouseEnter (wxMouseEvent &event)
 
+virtual void OnMouseLeave (wxMouseEvent &event)
 
+virtual void OnLeftClickDown (wxMouseEvent &event)
 
+virtual void OnLeftClickUp (wxMouseEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxString m_label
 
+wxFont m_font
 
+wxPoint m_labelPosition
 
+wxImage m_image
 
+wxSize m_imageSize
 
+wxPoint m_imagePosition
 
+int m_borderSize = 2
 
+bool m_mouseAbove = false
 
+bool m_selected = false
 
+wxSize m_buttonSize
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_element_button.png b/docs/doxygen/html/class_control_element_button.png new file mode 100644 index 0000000..b884239 Binary files /dev/null and b/docs/doxygen/html/class_control_element_button.png differ diff --git a/docs/doxygen/html/class_control_element_container-members.html b/docs/doxygen/html/class_control_element_container-members.html new file mode 100644 index 0000000..207fa95 --- /dev/null +++ b/docs/doxygen/html/class_control_element_container-members.html @@ -0,0 +1,107 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlElementContainer Member List
+
+
+ +

This is the complete list of members for ControlElementContainer, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ClearContainer() (defined in ControlElementContainer)ControlElementContainervirtual
ControlElementContainer() (defined in ControlElementContainer)ControlElementContainer
FillContainer(ControlEditor *editor) (defined in ControlElementContainer)ControlElementContainervirtual
FillContainer(std::vector< ControlElement *> controlElementList, std::vector< ConnectionLine *> connectionLineList) (defined in ControlElementContainer)ControlElementContainervirtual
GetConnectionLineList() const (defined in ControlElementContainer)ControlElementContainerinline
GetConstantList() const (defined in ControlElementContainer)ControlElementContainerinline
GetContainerCopy(std::vector< ControlElement *> &controlElementList, std::vector< ConnectionLine *> &connectionLineList) (defined in ControlElementContainer)ControlElementContainervirtual
GetControlElementsList() const (defined in ControlElementContainer)ControlElementContainerinline
GetExponentialList() const (defined in ControlElementContainer)ControlElementContainerinline
GetGainList() const (defined in ControlElementContainer)ControlElementContainerinline
GetIOControlList() const (defined in ControlElementContainer)ControlElementContainerinline
GetLimiterList() const (defined in ControlElementContainer)ControlElementContainerinline
GetMultiplierList() const (defined in ControlElementContainer)ControlElementContainerinline
GetRateLimiterList() const (defined in ControlElementContainer)ControlElementContainerinline
GetSumList() const (defined in ControlElementContainer)ControlElementContainerinline
GetTFList() const (defined in ControlElementContainer)ControlElementContainerinline
m_cLineList (defined in ControlElementContainer)ControlElementContainerprotected
m_constantList (defined in ControlElementContainer)ControlElementContainerprotected
m_ctrlElementsList (defined in ControlElementContainer)ControlElementContainerprotected
m_exponentialList (defined in ControlElementContainer)ControlElementContainerprotected
m_gainList (defined in ControlElementContainer)ControlElementContainerprotected
m_ioControlList (defined in ControlElementContainer)ControlElementContainerprotected
m_limiterList (defined in ControlElementContainer)ControlElementContainerprotected
m_multiplierList (defined in ControlElementContainer)ControlElementContainerprotected
m_rateLimiterList (defined in ControlElementContainer)ControlElementContainerprotected
m_sumList (defined in ControlElementContainer)ControlElementContainerprotected
m_tfList (defined in ControlElementContainer)ControlElementContainerprotected
~ControlElementContainer() (defined in ControlElementContainer)ControlElementContainer
+ + + + diff --git a/docs/doxygen/html/class_control_element_container.html b/docs/doxygen/html/class_control_element_container.html new file mode 100644 index 0000000..8d3987d --- /dev/null +++ b/docs/doxygen/html/class_control_element_container.html @@ -0,0 +1,169 @@ + + + + + + + +PSP-UFU: ControlElementContainer Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlElementContainer Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+virtual void FillContainer (ControlEditor *editor)
 
+virtual void FillContainer (std::vector< ControlElement *> controlElementList, std::vector< ConnectionLine *> connectionLineList)
 
+virtual void GetContainerCopy (std::vector< ControlElement *> &controlElementList, std::vector< ConnectionLine *> &connectionLineList)
 
+virtual void ClearContainer ()
 
+std::vector< ControlElement * > GetControlElementsList () const
 
+std::vector< ConnectionLine * > GetConnectionLineList () const
 
+std::vector< Constant * > GetConstantList () const
 
+std::vector< Exponential * > GetExponentialList () const
 
+std::vector< Gain * > GetGainList () const
 
+std::vector< IOControl * > GetIOControlList () const
 
+std::vector< Limiter * > GetLimiterList () const
 
+std::vector< Multiplier * > GetMultiplierList () const
 
+std::vector< RateLimiter * > GetRateLimiterList () const
 
+std::vector< Sum * > GetSumList () const
 
+std::vector< TransferFunction * > GetTFList () const
 
+ + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< ControlElement * > m_ctrlElementsList
 
+std::vector< Constant * > m_constantList
 
+std::vector< ConnectionLine * > m_cLineList
 
+std::vector< Exponential * > m_exponentialList
 
+std::vector< Gain * > m_gainList
 
+std::vector< IOControl * > m_ioControlList
 
+std::vector< Limiter * > m_limiterList
 
+std::vector< Multiplier * > m_multiplierList
 
+std::vector< RateLimiter * > m_rateLimiterList
 
+std::vector< Sum * > m_sumList
 
+std::vector< TransferFunction * > m_tfList
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_element_solver-members.html b/docs/doxygen/html/class_control_element_solver-members.html new file mode 100644 index 0000000..d36c699 --- /dev/null +++ b/docs/doxygen/html/class_control_element_solver-members.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlElementSolver Member List
+
+
+ +

This is the complete list of members for ControlElementSolver, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + +
ControlElementSolver() (defined in ControlElementSolver)ControlElementSolverinline
ControlElementSolver(ControlEditor *controlEditor, double timeStep=1e-3, double integrationError=1e-3, bool startAllZero=true, double input=0.0) (defined in ControlElementSolver)ControlElementSolver
ControlElementSolver(ControlElementContainer *ctrlContainer, double timeStep=1e-3, double integrationError=1e-3, bool startAllZero=true, double input=0.0, wxWindow *parent=NULL) (defined in ControlElementSolver)ControlElementSolver
FillAllConnectedChildren(ConnectionLine *parent) (defined in ControlElementSolver)ControlElementSolverprotected
GetLastSolution() (defined in ControlElementSolver)ControlElementSolverinlinevirtual
GetSolutions() (defined in ControlElementSolver)ControlElementSolverinlinevirtual
Initialize(wxWindow *parent, double timeStep, double integrationError, bool startAllZero, double input) (defined in ControlElementSolver)ControlElementSolverprotected
InitializeValues(double input, bool startAllZero) (defined in ControlElementSolver)ControlElementSolvervirtual
IsOK() const (defined in ControlElementSolver)ControlElementSolverinlinevirtual
m_ctrlContainer (defined in ControlElementSolver)ControlElementSolverprotected
m_inputControl (defined in ControlElementSolver)ControlElementSolverprotected
m_integrationError (defined in ControlElementSolver)ControlElementSolverprotected
m_isOK (defined in ControlElementSolver)ControlElementSolverprotected
m_outputControl (defined in ControlElementSolver)ControlElementSolverprotected
m_solutions (defined in ControlElementSolver)ControlElementSolverprotected
m_timeStep (defined in ControlElementSolver)ControlElementSolverprotected
SolveNextElement(ConnectionLine *currentLine) (defined in ControlElementSolver)ControlElementSolverprotected
SolveNextStep(double input) (defined in ControlElementSolver)ControlElementSolvervirtual
~ControlElementSolver() (defined in ControlElementSolver)ControlElementSolverinlinevirtual
+ + + + diff --git a/docs/doxygen/html/class_control_element_solver.html b/docs/doxygen/html/class_control_element_solver.html new file mode 100644 index 0000000..f588c87 --- /dev/null +++ b/docs/doxygen/html/class_control_element_solver.html @@ -0,0 +1,146 @@ + + + + + + + +PSP-UFU: ControlElementSolver Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlElementSolver Class Reference
+
+
+ + + + + + + + + + + + + + + + +

+Public Member Functions

ControlElementSolver (ControlEditor *controlEditor, double timeStep=1e-3, double integrationError=1e-3, bool startAllZero=true, double input=0.0)
 
ControlElementSolver (ControlElementContainer *ctrlContainer, double timeStep=1e-3, double integrationError=1e-3, bool startAllZero=true, double input=0.0, wxWindow *parent=NULL)
 
+virtual bool InitializeValues (double input, bool startAllZero)
 
+virtual void SolveNextStep (double input)
 
+virtual std::vector< double > GetSolutions ()
 
+virtual double GetLastSolution ()
 
+virtual bool IsOK () const
 
+ + + + + + + +

+Protected Member Functions

+void Initialize (wxWindow *parent, double timeStep, double integrationError, bool startAllZero, double input)
 
+void FillAllConnectedChildren (ConnectionLine *parent)
 
+ConnectionLineSolveNextElement (ConnectionLine *currentLine)
 
+ + + + + + + + + + + + + + + +

+Protected Attributes

+ControlElementContainerm_ctrlContainer = NULL
 
+double m_timeStep
 
+double m_integrationError
 
+std::vector< double > m_solutions
 
+bool m_isOK = false
 
+IOControlm_inputControl = NULL
 
+IOControlm_outputControl = NULL
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_system_test-members.html b/docs/doxygen/html/class_control_system_test-members.html new file mode 100644 index 0000000..ddfae9d --- /dev/null +++ b/docs/doxygen/html/class_control_system_test-members.html @@ -0,0 +1,122 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlSystemTest Member List
+
+
+ +

This is the complete list of members for ControlSystemTest, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ControlSystemTest(ControlEditor *parent, int *inputType, double *startTime, double *slope, double *timeStep, double *simTime) (defined in ControlSystemTest)ControlSystemTest
ControlSystemTestBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control system test"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ControlSystemTestBase)ControlSystemTestBase
GetButtonCancel() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetButtonRun() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetChoiceInput() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetNotebook() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetPanelGeneral() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextInput() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSec_1() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSec_2() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSimTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSlope() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextStartTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextStep() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlSimTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlSlope() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlStartTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlTimeStep() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
m_buttonCancel (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_buttonRun (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_choiceInput (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_inputType (defined in ControlSystemTest)ControlSystemTestprotected
m_notebook (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_panelGeneral (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_simTime (defined in ControlSystemTest)ControlSystemTestprotected
m_slope (defined in ControlSystemTest)ControlSystemTestprotected
m_startTime (defined in ControlSystemTest)ControlSystemTestprotected
m_staticTextInput (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSec_1 (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSec_2 (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSimTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSlope (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextStartTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextStep (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlSimTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlSlope (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlStartTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlTimeStep (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_timeStep (defined in ControlSystemTest)ControlSystemTestprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ControlSystemTest)ControlSystemTestinlineprotectedvirtual
OnRunButtonClick(wxCommandEvent &event) (defined in ControlSystemTest)ControlSystemTestprotectedvirtual
~ControlSystemTest() (defined in ControlSystemTest)ControlSystemTestvirtual
~ControlSystemTestBase() (defined in ControlSystemTestBase)ControlSystemTestBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_control_system_test.html b/docs/doxygen/html/class_control_system_test.html new file mode 100644 index 0000000..3a8ccbd --- /dev/null +++ b/docs/doxygen/html/class_control_system_test.html @@ -0,0 +1,229 @@ + + + + + + + +PSP-UFU: ControlSystemTest Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlSystemTest Class Reference
+
+
+
+Inheritance diagram for ControlSystemTest:
+
+
+ + +ControlSystemTestBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ControlSystemTest (ControlEditor *parent, int *inputType, double *startTime, double *slope, double *timeStep, double *simTime)
 
- Public Member Functions inherited from ControlSystemTestBase
+wxStaticText * GetStaticTextInput ()
 
+wxChoice * GetChoiceInput ()
 
+wxStaticText * GetStaticTextStartTime ()
 
+wxTextCtrl * GetTextCtrlStartTime ()
 
+wxStaticText * GetStaticTextSec_1 ()
 
+wxStaticText * GetStaticTextSlope ()
 
+wxTextCtrl * GetTextCtrlSlope ()
 
+wxStaticText * GetStaticTextStep ()
 
+wxTextCtrl * GetTextCtrlTimeStep ()
 
+wxStaticText * GetStaticTextSimTime ()
 
+wxTextCtrl * GetTextCtrlSimTime ()
 
+wxStaticText * GetStaticTextSec_2 ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonRun ()
 
+wxButton * GetButtonCancel ()
 
ControlSystemTestBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control system test"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnRunButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+int * m_inputType = NULL
 
+double * m_startTime = NULL
 
+double * m_slope = NULL
 
+double * m_timeStep = NULL
 
+double * m_simTime = NULL
 
- Protected Attributes inherited from ControlSystemTestBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextInput
 
+wxChoice * m_choiceInput
 
+wxStaticText * m_staticTextStartTime
 
+wxTextCtrl * m_textCtrlStartTime
 
+wxStaticText * m_staticTextSec_1
 
+wxStaticText * m_staticTextSlope
 
+wxTextCtrl * m_textCtrlSlope
 
+wxStaticText * m_staticTextStep
 
+wxTextCtrl * m_textCtrlTimeStep
 
+wxStaticText * m_staticTextSimTime
 
+wxTextCtrl * m_textCtrlSimTime
 
+wxStaticText * m_staticTextSec_2
 
+wxButton * m_buttonRun
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_system_test.png b/docs/doxygen/html/class_control_system_test.png new file mode 100644 index 0000000..2108880 Binary files /dev/null and b/docs/doxygen/html/class_control_system_test.png differ diff --git a/docs/doxygen/html/class_control_system_test_base-members.html b/docs/doxygen/html/class_control_system_test_base-members.html new file mode 100644 index 0000000..93a4c52 --- /dev/null +++ b/docs/doxygen/html/class_control_system_test_base-members.html @@ -0,0 +1,115 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ControlSystemTestBase Member List
+
+
+ +

This is the complete list of members for ControlSystemTestBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ControlSystemTestBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control system test"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ControlSystemTestBase)ControlSystemTestBase
GetButtonCancel() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetButtonRun() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetChoiceInput() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetNotebook() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetPanelGeneral() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextInput() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSec_1() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSec_2() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSimTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextSlope() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextStartTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetStaticTextStep() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlSimTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlSlope() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlStartTime() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
GetTextCtrlTimeStep() (defined in ControlSystemTestBase)ControlSystemTestBaseinline
m_buttonCancel (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_buttonRun (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_choiceInput (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_notebook (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_panelGeneral (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextInput (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSec_1 (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSec_2 (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSimTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextSlope (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextStartTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_staticTextStep (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlSimTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlSlope (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlStartTime (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
m_textCtrlTimeStep (defined in ControlSystemTestBase)ControlSystemTestBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ControlSystemTestBase)ControlSystemTestBaseinlineprotectedvirtual
OnRunButtonClick(wxCommandEvent &event) (defined in ControlSystemTestBase)ControlSystemTestBaseinlineprotectedvirtual
~ControlSystemTestBase() (defined in ControlSystemTestBase)ControlSystemTestBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_control_system_test_base.html b/docs/doxygen/html/class_control_system_test_base.html new file mode 100644 index 0000000..2fc3db1 --- /dev/null +++ b/docs/doxygen/html/class_control_system_test_base.html @@ -0,0 +1,209 @@ + + + + + + + +PSP-UFU: ControlSystemTestBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ControlSystemTestBase Class Reference
+
+
+
+Inheritance diagram for ControlSystemTestBase:
+
+
+ + +ControlSystemTest + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextInput ()
 
+wxChoice * GetChoiceInput ()
 
+wxStaticText * GetStaticTextStartTime ()
 
+wxTextCtrl * GetTextCtrlStartTime ()
 
+wxStaticText * GetStaticTextSec_1 ()
 
+wxStaticText * GetStaticTextSlope ()
 
+wxTextCtrl * GetTextCtrlSlope ()
 
+wxStaticText * GetStaticTextStep ()
 
+wxTextCtrl * GetTextCtrlTimeStep ()
 
+wxStaticText * GetStaticTextSimTime ()
 
+wxTextCtrl * GetTextCtrlSimTime ()
 
+wxStaticText * GetStaticTextSec_2 ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonRun ()
 
+wxButton * GetButtonCancel ()
 
ControlSystemTestBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Control system test"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnRunButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextInput
 
+wxChoice * m_choiceInput
 
+wxStaticText * m_staticTextStartTime
 
+wxTextCtrl * m_textCtrlStartTime
 
+wxStaticText * m_staticTextSec_1
 
+wxStaticText * m_staticTextSlope
 
+wxTextCtrl * m_textCtrlSlope
 
+wxStaticText * m_staticTextStep
 
+wxTextCtrl * m_textCtrlTimeStep
 
+wxStaticText * m_staticTextSimTime
 
+wxTextCtrl * m_textCtrlSimTime
 
+wxStaticText * m_staticTextSec_2
 
+wxButton * m_buttonRun
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_control_system_test_base.png b/docs/doxygen/html/class_control_system_test_base.png new file mode 100644 index 0000000..29f4748 Binary files /dev/null and b/docs/doxygen/html/class_control_system_test_base.png differ diff --git a/docs/doxygen/html/class_data_report-members.html b/docs/doxygen/html/class_data_report-members.html new file mode 100644 index 0000000..bb7a975 --- /dev/null +++ b/docs/doxygen/html/class_data_report-members.html @@ -0,0 +1,154 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
DataReport Member List
+
+
+ +

This is the complete list of members for DataReport, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateGrids() (defined in DataReport)DataReportvirtual
DataReport(wxWindow *parent, Workspace *workspace) (defined in DataReport)DataReport
DataReportBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Data report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE) (defined in DataReportBase)DataReportBase
FillValues(GridSelection gridToFill=GRID_ALL) (defined in DataReport)DataReportvirtual
GetGridFault() (defined in DataReportBase)DataReportBaseinline
GetGridFaultBranches() (defined in DataReportBase)DataReportBaseinline
GetGridFaultBuses() (defined in DataReportBase)DataReportBaseinline
GetGridFaultGenerators() (defined in DataReportBase)DataReportBaseinline
GetGridPFBranches() (defined in DataReportBase)DataReportBaseinline
GetGridPFBuses() (defined in DataReportBase)DataReportBaseinline
GetGridPowerFlow() (defined in DataReportBase)DataReportBaseinline
GetNotebookDataReport() (defined in DataReportBase)DataReportBaseinline
GetNotebookFault() (defined in DataReportBase)DataReportBaseinline
GetNotebookPowerFlow() (defined in DataReportBase)DataReportBaseinline
GetPanelFault() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultBranches() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultBuses() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultData() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultGenerators() (defined in DataReportBase)DataReportBaseinline
GetPanelPFBranches() (defined in DataReportBase)DataReportBaseinline
GetPanelPFBuses() (defined in DataReportBase)DataReportBaseinline
GetPanelPowerFlow() (defined in DataReportBase)DataReportBaseinline
GetPanelPowerFlowData() (defined in DataReportBase)DataReportBaseinline
GRID_ALL enum value (defined in DataReport)DataReport
GRID_FAULT enum value (defined in DataReport)DataReport
GRID_FAULTBRANCHES enum value (defined in DataReport)DataReport
GRID_FAULTBUSES enum value (defined in DataReport)DataReport
GRID_FAULTGENERATORS enum value (defined in DataReport)DataReport
GRID_PF enum value (defined in DataReport)DataReport
GRID_PFBRANCHES enum value (defined in DataReport)DataReport
GRID_PFBUSES enum value (defined in DataReport)DataReport
GridSelection enum name (defined in DataReport)DataReport
m_activePowerChoices (defined in DataReport)DataReportprotected
m_capSusceptanceChoices (defined in DataReport)DataReportprotected
m_changingValues (defined in DataReport)DataReportprotected
m_currentChoices (defined in DataReport)DataReportprotected
m_evenRowColour (defined in DataReport)DataReportprotected
m_gridFault (defined in DataReportBase)DataReportBaseprotected
m_gridFaultBranches (defined in DataReportBase)DataReportBaseprotected
m_gridFaultBuses (defined in DataReportBase)DataReportBaseprotected
m_gridFaultGenerators (defined in DataReportBase)DataReportBaseprotected
m_gridPFBranches (defined in DataReportBase)DataReportBaseprotected
m_gridPFBuses (defined in DataReportBase)DataReportBaseprotected
m_gridPowerFlow (defined in DataReportBase)DataReportBaseprotected
m_headerColour (defined in DataReport)DataReportprotected
m_indReactanceChoices (defined in DataReport)DataReportprotected
m_notebookDataReport (defined in DataReportBase)DataReportBaseprotected
m_notebookFault (defined in DataReportBase)DataReportBaseprotected
m_notebookPowerFlow (defined in DataReportBase)DataReportBaseprotected
m_oddRowColour (defined in DataReport)DataReportprotected
m_offlineColour (defined in DataReport)DataReportprotected
m_panelFault (defined in DataReportBase)DataReportBaseprotected
m_panelFaultBranches (defined in DataReportBase)DataReportBaseprotected
m_panelFaultBuses (defined in DataReportBase)DataReportBaseprotected
m_panelFaultData (defined in DataReportBase)DataReportBaseprotected
m_panelFaultGenerators (defined in DataReportBase)DataReportBaseprotected
m_panelPFBranches (defined in DataReportBase)DataReportBaseprotected
m_panelPFBuses (defined in DataReportBase)DataReportBaseprotected
m_panelPowerFlow (defined in DataReportBase)DataReportBaseprotected
m_panelPowerFlowData (defined in DataReportBase)DataReportBaseprotected
m_reactivePowerChoices (defined in DataReport)DataReportprotected
m_resistanceChoices (defined in DataReport)DataReportprotected
m_voltageChoices (defined in DataReport)DataReportprotected
m_workspace (defined in DataReport)DataReportprotected
OnFaulrGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
OnFaultBranchesGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
OnFaultBusesGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
OnFaultGeneratorsGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
OnPFBranchesGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
OnPFBusGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
OnPowerFlowGridChanged(wxGridEvent &event) (defined in DataReport)DataReportprotectedvirtual
SetHeaders() (defined in DataReport)DataReportvirtual
SetRowsColours(wxGrid *grid, int rowStart=1) (defined in DataReport)DataReportvirtual
~DataReport() (defined in DataReport)DataReportvirtual
~DataReportBase() (defined in DataReportBase)DataReportBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_data_report.html b/docs/doxygen/html/class_data_report.html new file mode 100644 index 0000000..e542e6f --- /dev/null +++ b/docs/doxygen/html/class_data_report.html @@ -0,0 +1,315 @@ + + + + + + + +PSP-UFU: DataReport Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
DataReport Class Reference
+
+
+
+Inheritance diagram for DataReport:
+
+
+ + +DataReportBase + +
+ + + + +

+Public Types

enum  GridSelection {
+  GRID_ALL = 0, +GRID_PF, +GRID_PFBUSES, +GRID_PFBRANCHES, +
+  GRID_FAULT, +GRID_FAULTBUSES, +GRID_FAULTBRANCHES, +GRID_FAULTGENERATORS +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

DataReport (wxWindow *parent, Workspace *workspace)
 
+virtual void SetHeaders ()
 
+virtual void CreateGrids ()
 
+virtual void FillValues (GridSelection gridToFill=GRID_ALL)
 
+virtual void SetRowsColours (wxGrid *grid, int rowStart=1)
 
- Public Member Functions inherited from DataReportBase
+wxGrid * GetGridPowerFlow ()
 
+wxPanel * GetPanelPowerFlow ()
 
+wxGrid * GetGridPFBuses ()
 
+wxPanel * GetPanelPFBuses ()
 
+wxGrid * GetGridPFBranches ()
 
+wxPanel * GetPanelPFBranches ()
 
+wxNotebook * GetNotebookPowerFlow ()
 
+wxPanel * GetPanelPowerFlowData ()
 
+wxGrid * GetGridFault ()
 
+wxPanel * GetPanelFault ()
 
+wxGrid * GetGridFaultBuses ()
 
+wxPanel * GetPanelFaultBuses ()
 
+wxGrid * GetGridFaultBranches ()
 
+wxPanel * GetPanelFaultBranches ()
 
+wxGrid * GetGridFaultGenerators ()
 
+wxPanel * GetPanelFaultGenerators ()
 
+wxNotebook * GetNotebookFault ()
 
+wxPanel * GetPanelFaultData ()
 
+wxNotebook * GetNotebookDataReport ()
 
DataReportBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Data report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE)
 
+ + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnFaulrGridChanged (wxGridEvent &event)
 
+virtual void OnFaultBranchesGridChanged (wxGridEvent &event)
 
+virtual void OnFaultBusesGridChanged (wxGridEvent &event)
 
+virtual void OnFaultGeneratorsGridChanged (wxGridEvent &event)
 
+virtual void OnPFBranchesGridChanged (wxGridEvent &event)
 
+virtual void OnPowerFlowGridChanged (wxGridEvent &event)
 
+virtual void OnPFBusGridChanged (wxGridEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+Workspacem_workspace = NULL
 
+bool m_changingValues = false
 
+wxArrayString m_voltageChoices
 
+wxArrayString m_activePowerChoices
 
+wxArrayString m_reactivePowerChoices
 
+wxArrayString m_resistanceChoices
 
+wxArrayString m_indReactanceChoices
 
+wxArrayString m_capSusceptanceChoices
 
+wxArrayString m_currentChoices
 
+wxColour m_headerColour
 
+wxColour m_offlineColour
 
+wxColour m_oddRowColour
 
+wxColour m_evenRowColour
 
- Protected Attributes inherited from DataReportBase
+wxNotebook * m_notebookDataReport
 
+wxPanel * m_panelPowerFlowData
 
+wxNotebook * m_notebookPowerFlow
 
+wxPanel * m_panelPowerFlow
 
+wxGrid * m_gridPowerFlow
 
+wxPanel * m_panelPFBuses
 
+wxGrid * m_gridPFBuses
 
+wxPanel * m_panelPFBranches
 
+wxGrid * m_gridPFBranches
 
+wxPanel * m_panelFaultData
 
+wxNotebook * m_notebookFault
 
+wxPanel * m_panelFault
 
+wxGrid * m_gridFault
 
+wxPanel * m_panelFaultBuses
 
+wxGrid * m_gridFaultBuses
 
+wxPanel * m_panelFaultBranches
 
+wxGrid * m_gridFaultBranches
 
+wxPanel * m_panelFaultGenerators
 
+wxGrid * m_gridFaultGenerators
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_data_report.png b/docs/doxygen/html/class_data_report.png new file mode 100644 index 0000000..5564ee3 Binary files /dev/null and b/docs/doxygen/html/class_data_report.png differ diff --git a/docs/doxygen/html/class_data_report_base-members.html b/docs/doxygen/html/class_data_report_base-members.html new file mode 100644 index 0000000..6b05f4b --- /dev/null +++ b/docs/doxygen/html/class_data_report_base-members.html @@ -0,0 +1,126 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
DataReportBase Member List
+
+
+ +

This is the complete list of members for DataReportBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DataReportBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Data report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE) (defined in DataReportBase)DataReportBase
GetGridFault() (defined in DataReportBase)DataReportBaseinline
GetGridFaultBranches() (defined in DataReportBase)DataReportBaseinline
GetGridFaultBuses() (defined in DataReportBase)DataReportBaseinline
GetGridFaultGenerators() (defined in DataReportBase)DataReportBaseinline
GetGridPFBranches() (defined in DataReportBase)DataReportBaseinline
GetGridPFBuses() (defined in DataReportBase)DataReportBaseinline
GetGridPowerFlow() (defined in DataReportBase)DataReportBaseinline
GetNotebookDataReport() (defined in DataReportBase)DataReportBaseinline
GetNotebookFault() (defined in DataReportBase)DataReportBaseinline
GetNotebookPowerFlow() (defined in DataReportBase)DataReportBaseinline
GetPanelFault() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultBranches() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultBuses() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultData() (defined in DataReportBase)DataReportBaseinline
GetPanelFaultGenerators() (defined in DataReportBase)DataReportBaseinline
GetPanelPFBranches() (defined in DataReportBase)DataReportBaseinline
GetPanelPFBuses() (defined in DataReportBase)DataReportBaseinline
GetPanelPowerFlow() (defined in DataReportBase)DataReportBaseinline
GetPanelPowerFlowData() (defined in DataReportBase)DataReportBaseinline
m_gridFault (defined in DataReportBase)DataReportBaseprotected
m_gridFaultBranches (defined in DataReportBase)DataReportBaseprotected
m_gridFaultBuses (defined in DataReportBase)DataReportBaseprotected
m_gridFaultGenerators (defined in DataReportBase)DataReportBaseprotected
m_gridPFBranches (defined in DataReportBase)DataReportBaseprotected
m_gridPFBuses (defined in DataReportBase)DataReportBaseprotected
m_gridPowerFlow (defined in DataReportBase)DataReportBaseprotected
m_notebookDataReport (defined in DataReportBase)DataReportBaseprotected
m_notebookFault (defined in DataReportBase)DataReportBaseprotected
m_notebookPowerFlow (defined in DataReportBase)DataReportBaseprotected
m_panelFault (defined in DataReportBase)DataReportBaseprotected
m_panelFaultBranches (defined in DataReportBase)DataReportBaseprotected
m_panelFaultBuses (defined in DataReportBase)DataReportBaseprotected
m_panelFaultData (defined in DataReportBase)DataReportBaseprotected
m_panelFaultGenerators (defined in DataReportBase)DataReportBaseprotected
m_panelPFBranches (defined in DataReportBase)DataReportBaseprotected
m_panelPFBuses (defined in DataReportBase)DataReportBaseprotected
m_panelPowerFlow (defined in DataReportBase)DataReportBaseprotected
m_panelPowerFlowData (defined in DataReportBase)DataReportBaseprotected
OnFaulrGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
OnFaultBranchesGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
OnFaultBusesGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
OnFaultGeneratorsGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
OnPFBranchesGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
OnPFBusGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
OnPowerFlowGridChanged(wxGridEvent &event) (defined in DataReportBase)DataReportBaseinlineprotectedvirtual
~DataReportBase() (defined in DataReportBase)DataReportBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_data_report_base.html b/docs/doxygen/html/class_data_report_base.html new file mode 100644 index 0000000..2866655 --- /dev/null +++ b/docs/doxygen/html/class_data_report_base.html @@ -0,0 +1,242 @@ + + + + + + + +PSP-UFU: DataReportBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
DataReportBase Class Reference
+
+
+
+Inheritance diagram for DataReportBase:
+
+
+ + +DataReport + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxGrid * GetGridPowerFlow ()
 
+wxPanel * GetPanelPowerFlow ()
 
+wxGrid * GetGridPFBuses ()
 
+wxPanel * GetPanelPFBuses ()
 
+wxGrid * GetGridPFBranches ()
 
+wxPanel * GetPanelPFBranches ()
 
+wxNotebook * GetNotebookPowerFlow ()
 
+wxPanel * GetPanelPowerFlowData ()
 
+wxGrid * GetGridFault ()
 
+wxPanel * GetPanelFault ()
 
+wxGrid * GetGridFaultBuses ()
 
+wxPanel * GetPanelFaultBuses ()
 
+wxGrid * GetGridFaultBranches ()
 
+wxPanel * GetPanelFaultBranches ()
 
+wxGrid * GetGridFaultGenerators ()
 
+wxPanel * GetPanelFaultGenerators ()
 
+wxNotebook * GetNotebookFault ()
 
+wxPanel * GetPanelFaultData ()
 
+wxNotebook * GetNotebookDataReport ()
 
DataReportBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Data report"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_FRAME_STYLE)
 
+ + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnPowerFlowGridChanged (wxGridEvent &event)
 
+virtual void OnPFBusGridChanged (wxGridEvent &event)
 
+virtual void OnPFBranchesGridChanged (wxGridEvent &event)
 
+virtual void OnFaulrGridChanged (wxGridEvent &event)
 
+virtual void OnFaultBusesGridChanged (wxGridEvent &event)
 
+virtual void OnFaultBranchesGridChanged (wxGridEvent &event)
 
+virtual void OnFaultGeneratorsGridChanged (wxGridEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebookDataReport
 
+wxPanel * m_panelPowerFlowData
 
+wxNotebook * m_notebookPowerFlow
 
+wxPanel * m_panelPowerFlow
 
+wxGrid * m_gridPowerFlow
 
+wxPanel * m_panelPFBuses
 
+wxGrid * m_gridPFBuses
 
+wxPanel * m_panelPFBranches
 
+wxGrid * m_gridPFBranches
 
+wxPanel * m_panelFaultData
 
+wxNotebook * m_notebookFault
 
+wxPanel * m_panelFault
 
+wxGrid * m_gridFault
 
+wxPanel * m_panelFaultBuses
 
+wxGrid * m_gridFaultBuses
 
+wxPanel * m_panelFaultBranches
 
+wxGrid * m_gridFaultBranches
 
+wxPanel * m_panelFaultGenerators
 
+wxGrid * m_gridFaultGenerators
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_data_report_base.png b/docs/doxygen/html/class_data_report_base.png new file mode 100644 index 0000000..323ca28 Binary files /dev/null and b/docs/doxygen/html/class_data_report_base.png differ diff --git a/docs/doxygen/html/class_electric_calculation-members.html b/docs/doxygen/html/class_electric_calculation-members.html new file mode 100644 index 0000000..d99235a --- /dev/null +++ b/docs/doxygen/html/class_electric_calculation-members.html @@ -0,0 +1,111 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ElectricCalculation Member List
+
+
+ +

This is the complete list of members for ElectricCalculation, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ABCtoDQ0(std::complex< double > complexValue, double angle, double &dValue, double &qValue) (defined in ElectricCalculation)ElectricCalculation
ComplexMatrixTimesVector(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector) (defined in ElectricCalculation)ElectricCalculation
DQ0toABC(double dValue, double qValue, double angle, std::complex< double > &complexValue) (defined in ElectricCalculation)ElectricCalculation
ElectricCalculation()ElectricCalculation
GaussianElimination(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array) (defined in ElectricCalculation)ElectricCalculation
GetBusList() constElectricCalculationinline
GetCapacitorList() constElectricCalculationinline
GetElementsFromList(std::vector< Element *> elementList)ElectricCalculationvirtual
GetIndMotorList() constElectricCalculationinline
GetInductorList() constElectricCalculationinline
GetLineList() constElectricCalculationinline
GetLoadList() constElectricCalculationinline
GetLUDecomposition(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU) (defined in ElectricCalculation)ElectricCalculation
GetMachineModel(SyncGenerator *generator) (defined in ElectricCalculation)ElectricCalculation
GetSyncGeneratorList() constElectricCalculationinline
GetSyncMotorList() constElectricCalculationinline
GetTransformerList() constElectricCalculationinline
GetYBus(std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)ElectricCalculationvirtual
InvertMatrix(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)ElectricCalculationvirtual
LUEvaluate(std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b) (defined in ElectricCalculation)ElectricCalculation
m_busList (defined in ElectricCalculation)ElectricCalculationprotected
m_capacitorList (defined in ElectricCalculation)ElectricCalculationprotected
m_indMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_inductorList (defined in ElectricCalculation)ElectricCalculationprotected
m_lineList (defined in ElectricCalculation)ElectricCalculationprotected
m_loadList (defined in ElectricCalculation)ElectricCalculationprotected
m_powerElementList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncGeneratorList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_transformerList (defined in ElectricCalculation)ElectricCalculationprotected
UpdateElementsPowerFlow(std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)ElectricCalculationvirtual
~ElectricCalculation()ElectricCalculation
+ + + + diff --git a/docs/doxygen/html/class_electric_calculation.html b/docs/doxygen/html/class_electric_calculation.html new file mode 100644 index 0000000..b9828b5 --- /dev/null +++ b/docs/doxygen/html/class_electric_calculation.html @@ -0,0 +1,670 @@ + + + + + + + +PSP-UFU: ElectricCalculation Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ElectricCalculation Class Reference
+
+
+ +

#include <ElectricCalculation.h>

+
+Inheritance diagram for ElectricCalculation:
+
+
+ + +Electromechanical +Fault +PowerFlow + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ElectricCalculation ()
 Constructor.
 
~ElectricCalculation ()
 Destructor.
 
virtual void GetElementsFromList (std::vector< Element *> elementList)
 Separate the power elements from a generic list. More...
 
virtual bool GetYBus (std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)
 Get the admittance matrix from the list of elements (use GetElementsFromList first). More...
 
virtual bool InvertMatrix (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)
 Invert a matrix. More...
 
virtual void UpdateElementsPowerFlow (std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)
 Update the elements after the power flow calculation. More...
 
+void ABCtoDQ0 (std::complex< double > complexValue, double angle, double &dValue, double &qValue)
 
+void DQ0toABC (double dValue, double qValue, double angle, std::complex< double > &complexValue)
 
+std::vector< std::complex< double > > GaussianElimination (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array)
 
+Machines::SyncMachineModel GetMachineModel (SyncGenerator *generator)
 
+std::vector< std::complex< double > > ComplexMatrixTimesVector (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector)
 
+void GetLUDecomposition (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU)
 
+std::vector< std::complex< double > > LUEvaluate (std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b)
 
const std::vector< Bus * > GetBusList () const
 Get the buses of the system (use GetElementsFromList first). More...
 
const std::vector< Capacitor * > GetCapacitorList () const
 Get the capacitors of the system (use GetElementsFromList first). More...
 
const std::vector< IndMotor * > GetIndMotorList () const
 Get the induction motors of the system (use GetElementsFromList first). More...
 
const std::vector< Inductor * > GetInductorList () const
 Get the inductors of the system (use GetElementsFromList first). More...
 
const std::vector< Line * > GetLineList () const
 Get the lines of the system (use GetElementsFromList first). More...
 
const std::vector< Load * > GetLoadList () const
 Get the loads of the system (use GetElementsFromList first). More...
 
const std::vector< SyncGenerator * > GetSyncGeneratorList () const
 Get the synchronous generators of the system (use GetElementsFromList first). More...
 
const std::vector< SyncMotor * > GetSyncMotorList () const
 Get the synchronous motors of the system (use GetElementsFromList first). More...
 
const std::vector< Transformer * > GetTransformerList () const
 Get the transformers of the system (use GetElementsFromList first). More...
 
+ + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< PowerElement * > m_powerElementList
 
+std::vector< Bus * > m_busList
 
+std::vector< Capacitor * > m_capacitorList
 
+std::vector< IndMotor * > m_indMotorList
 
+std::vector< Inductor * > m_inductorList
 
+std::vector< Line * > m_lineList
 
+std::vector< Load * > m_loadList
 
+std::vector< SyncGenerator * > m_syncGeneratorList
 
+std::vector< SyncMotor * > m_syncMotorList
 
+std::vector< Transformer * > m_transformerList
 
+

Detailed Description

+
Author
Thales Lima Oliveira
+
Date
09/01/2017
+

Member Function Documentation

+ +

◆ GetBusList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<Bus*> ElectricCalculation::GetBusList () const
+
+inline
+
+ +

Get the buses of the system (use GetElementsFromList first).

+
Returns
A list of bus elements.
+ +
+
+ +

◆ GetCapacitorList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<Capacitor*> ElectricCalculation::GetCapacitorList () const
+
+inline
+
+ +

Get the capacitors of the system (use GetElementsFromList first).

+
Returns
A list of capacitor elements.
+ +
+
+ +

◆ GetElementsFromList()

+ +
+
+ + + + + +
+ + + + + + + + +
void ElectricCalculation::GetElementsFromList (std::vector< Element *> elementList)
+
+virtual
+
+ +

Separate the power elements from a generic list.

+
Parameters
+ + +
elementListList of generic elements.
+
+
+ +
+
+ +

◆ GetIndMotorList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<IndMotor*> ElectricCalculation::GetIndMotorList () const
+
+inline
+
+ +

Get the induction motors of the system (use GetElementsFromList first).

+
Returns
A list of induction motor elements.
+ +
+
+ +

◆ GetInductorList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<Inductor*> ElectricCalculation::GetInductorList () const
+
+inline
+
+ +

Get the inductors of the system (use GetElementsFromList first).

+
Returns
A list of inductor elements.
+ +
+
+ +

◆ GetLineList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<Line*> ElectricCalculation::GetLineList () const
+
+inline
+
+ +

Get the lines of the system (use GetElementsFromList first).

+
Returns
A list of line elements.
+ +
+
+ +

◆ GetLoadList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<Load*> ElectricCalculation::GetLoadList () const
+
+inline
+
+ +

Get the loads of the system (use GetElementsFromList first).

+
Returns
A list of load elements.
+ +
+
+ +

◆ GetSyncGeneratorList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<SyncGenerator*> ElectricCalculation::GetSyncGeneratorList () const
+
+inline
+
+ +

Get the synchronous generators of the system (use GetElementsFromList first).

+
Returns
A list of synchronous generator elements.
+ +
+
+ +

◆ GetSyncMotorList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<SyncMotor*> ElectricCalculation::GetSyncMotorList () const
+
+inline
+
+ +

Get the synchronous motors of the system (use GetElementsFromList first).

+
Returns
A list of synchronous motor elements.
+ +
+
+ +

◆ GetTransformerList()

+ +
+
+ + + + + +
+ + + + + + + +
const std::vector<Transformer*> ElectricCalculation::GetTransformerList () const
+
+inline
+
+ +

Get the transformers of the system (use GetElementsFromList first).

+
Returns
A list of transformer elements.
+ +
+
+ +

◆ GetYBus()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool ElectricCalculation::GetYBus (std::vector< std::vector< std::complex< double > > > & yBus,
double systemPowerBase,
YBusSequence sequence = POSITIVE_SEQ,
bool includeSyncMachines = false,
bool allLoadsAsImpedances = false 
)
+
+virtual
+
+ +

Get the admittance matrix from the list of elements (use GetElementsFromList first).

+
Parameters
+ + + + + +
yBusAdmittance matrix. The previous content will be erased.
systemPowerBaseBase power of the system.
sequenceSequence of admittance matrix (positive, negative and zero).
includeSyncMachinesInclude the synchronous machines on calculation.
+
+
+
Returns
Return true if was possible to build the admittance matrix.
+ +
+
+ +

◆ InvertMatrix()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool ElectricCalculation::InvertMatrix (std::vector< std::vector< std::complex< double > > > matrix,
std::vector< std::vector< std::complex< double > > > & inverse 
)
+
+virtual
+
+ +

Invert a matrix.

+
Parameters
+ + + +
matrixMatrix to invert.
inverseInverted matrix. The previous content will be erased.
+
+
+
Returns
Return true if was possible to invert the matrix.
+ +
+
+ +

◆ UpdateElementsPowerFlow()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void ElectricCalculation::UpdateElementsPowerFlow (std::vector< std::complex< double > > voltage,
std::vector< std::complex< double > > power,
std::vector< BusType > busType,
std::vector< ReactiveLimitsreactiveLimit,
double systemPowerBase 
)
+
+virtual
+
+ +

Update the elements after the power flow calculation.

+
Parameters
+ + + + + + +
voltageArray with the buses voltages.
powerArray with the buses injected power.
busTypeArray with the buses type.
reactiveLimitArray with the reactive limit data.
systemPowerBaseBase power of the system.
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_electric_calculation.png b/docs/doxygen/html/class_electric_calculation.png new file mode 100644 index 0000000..42f0f82 Binary files /dev/null and b/docs/doxygen/html/class_electric_calculation.png differ diff --git a/docs/doxygen/html/class_electromechanical-members.html b/docs/doxygen/html/class_electromechanical-members.html new file mode 100644 index 0000000..e40d761 --- /dev/null +++ b/docs/doxygen/html/class_electromechanical-members.html @@ -0,0 +1,159 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Electromechanical Member List
+
+
+ +

This is the complete list of members for Electromechanical, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ABCtoDQ0(std::complex< double > complexValue, double angle, double &dValue, double &qValue) (defined in ElectricCalculation)ElectricCalculation
CalculateIntegrationConstants(SyncGenerator *syncGenerator, double id, double iq, double k=1.0) (defined in Electromechanical)Electromechanicalprotected
CalculateMachinesCurrents() (defined in Electromechanical)Electromechanicalprotected
CalculateReferenceSpeed() (defined in Electromechanical)Electromechanicalprotected
CalculateSyncMachineIntVariables(SyncGenerator *syncGenerator, double id, double iq, double pe, double k=1.0) (defined in Electromechanical)Electromechanicalprotected
CalculateSyncMachineNonIntVariables(SyncGenerator *syncGenerator, double &id, double &iq, double &pe, double k=1.0) (defined in Electromechanical)Electromechanicalprotected
ComplexMatrixTimesVector(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector) (defined in ElectricCalculation)ElectricCalculation
DQ0toABC(double dValue, double qValue, double angle, std::complex< double > &complexValue) (defined in ElectricCalculation)ElectricCalculation
ElectricCalculation()ElectricCalculation
Electromechanical(wxWindow *parent, std::vector< Element *> elementList, SimulationData data) (defined in Electromechanical)Electromechanical
EventTrigger(double eventTime, double currentTime) (defined in Electromechanical)Electromechanicalinlineprotected
GaussianElimination(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array) (defined in ElectricCalculation)ElectricCalculation
GetBusList() constElectricCalculationinline
GetCapacitorList() constElectricCalculationinline
GetElementsFromList(std::vector< Element *> elementList)ElectricCalculationvirtual
GetErrorMessage() const (defined in Electromechanical)Electromechanicalinline
GetIndMotorList() constElectricCalculationinline
GetInductorList() constElectricCalculationinline
GetLineList() constElectricCalculationinline
GetLoadList() constElectricCalculationinline
GetLUDecomposition(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU) (defined in ElectricCalculation)ElectricCalculation
GetMachineModel(SyncGenerator *generator) (defined in ElectricCalculation)ElectricCalculation
GetPowerValue(double value, ElectricalUnit unit) (defined in Electromechanical)Electromechanicalprotected
GetSyncGeneratorList() constElectricCalculationinline
GetSyncMachineAdmittance(SyncGenerator *generator) (defined in Electromechanical)Electromechanicalprotected
GetSyncMotorList() constElectricCalculationinline
GetTimeVector() const (defined in Electromechanical)Electromechanicalinline
GetTransformerList() constElectricCalculationinline
GetYBus(std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)ElectricCalculationvirtual
HasEvent(double currentTime) (defined in Electromechanical)Electromechanicalprotected
InitializeDynamicElements() (defined in Electromechanical)Electromechanicalprotected
InsertSyncMachinesOnYBus() (defined in Electromechanical)Electromechanicalprotected
InvertMatrix(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)ElectricCalculationvirtual
LUEvaluate(std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b) (defined in ElectricCalculation)ElectricCalculation
m_busList (defined in ElectricCalculation)ElectricCalculationprotected
m_capacitorList (defined in ElectricCalculation)ElectricCalculationprotected
m_ctrlTimeStepMultiplier (defined in Electromechanical)Electromechanicalprotected
m_deltaErrorVector (defined in Electromechanical)Electromechanical
m_errorMsg (defined in Electromechanical)Electromechanicalprotected
m_eventOccurrenceList (defined in Electromechanical)Electromechanicalprotected
m_eventTimeList (defined in Electromechanical)Electromechanicalprotected
m_iBus (defined in Electromechanical)Electromechanicalprotected
m_indMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_inductorList (defined in ElectricCalculation)ElectricCalculationprotected
m_lineList (defined in ElectricCalculation)ElectricCalculationprotected
m_loadList (defined in ElectricCalculation)ElectricCalculationprotected
m_maxIterations (defined in Electromechanical)Electromechanicalprotected
m_numIt (defined in Electromechanical)Electromechanicalprotected
m_numItVector (defined in Electromechanical)Electromechanical
m_parent (defined in Electromechanical)Electromechanicalprotected
m_plotTime (defined in Electromechanical)Electromechanicalprotected
m_powerElementList (defined in ElectricCalculation)ElectricCalculationprotected
m_powerSystemBase (defined in Electromechanical)Electromechanicalprotected
m_refSpeed (defined in Electromechanical)Electromechanicalprotected
m_simTime (defined in Electromechanical)Electromechanicalprotected
m_syncGeneratorList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_systemFreq (defined in Electromechanical)Electromechanicalprotected
m_timeStep (defined in Electromechanical)Electromechanicalprotected
m_timeVector (defined in Electromechanical)Electromechanicalprotected
m_tolerance (defined in Electromechanical)Electromechanicalprotected
m_transEdErrorVector (defined in Electromechanical)Electromechanical
m_transEqErrorVector (defined in Electromechanical)Electromechanical
m_transformerList (defined in ElectricCalculation)ElectricCalculationprotected
m_useCOI (defined in Electromechanical)Electromechanicalprotected
m_vBus (defined in Electromechanical)Electromechanicalprotected
m_wError (defined in Electromechanical)Electromechanicalprotected
m_wErrorVector (defined in Electromechanical)Electromechanical
m_yBus (defined in Electromechanical)Electromechanicalprotected
m_yBusL (defined in Electromechanical)Electromechanicalprotected
m_yBusU (defined in Electromechanical)Electromechanicalprotected
RunStabilityCalculation() (defined in Electromechanical)Electromechanical
SaveData() (defined in Electromechanical)Electromechanicalprotected
SetEvent(double currentTime) (defined in Electromechanical)Electromechanicalprotected
SetEventTimeList() (defined in Electromechanical)Electromechanicalprotected
SetSyncMachinesModel() (defined in Electromechanical)Electromechanicalprotected
SolveSynchronousMachines() (defined in Electromechanical)Electromechanicalprotected
UpdateElementsPowerFlow(std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)ElectricCalculationvirtual
~ElectricCalculation()ElectricCalculation
~Electromechanical() (defined in Electromechanical)Electromechanical
+ + + + diff --git a/docs/doxygen/html/class_electromechanical.html b/docs/doxygen/html/class_electromechanical.html new file mode 100644 index 0000000..bc67ff3 --- /dev/null +++ b/docs/doxygen/html/class_electromechanical.html @@ -0,0 +1,349 @@ + + + + + + + +PSP-UFU: Electromechanical Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Electromechanical Class Reference
+
+
+
+Inheritance diagram for Electromechanical:
+
+
+ + +ElectricCalculation + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Electromechanical (wxWindow *parent, std::vector< Element *> elementList, SimulationData data)
 
+bool RunStabilityCalculation ()
 
+wxString GetErrorMessage () const
 
+std::vector< double > GetTimeVector () const
 
- Public Member Functions inherited from ElectricCalculation
ElectricCalculation ()
 Constructor.
 
~ElectricCalculation ()
 Destructor.
 
virtual void GetElementsFromList (std::vector< Element *> elementList)
 Separate the power elements from a generic list. More...
 
virtual bool GetYBus (std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)
 Get the admittance matrix from the list of elements (use GetElementsFromList first). More...
 
virtual bool InvertMatrix (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)
 Invert a matrix. More...
 
virtual void UpdateElementsPowerFlow (std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)
 Update the elements after the power flow calculation. More...
 
+void ABCtoDQ0 (std::complex< double > complexValue, double angle, double &dValue, double &qValue)
 
+void DQ0toABC (double dValue, double qValue, double angle, std::complex< double > &complexValue)
 
+std::vector< std::complex< double > > GaussianElimination (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array)
 
+Machines::SyncMachineModel GetMachineModel (SyncGenerator *generator)
 
+std::vector< std::complex< double > > ComplexMatrixTimesVector (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector)
 
+void GetLUDecomposition (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU)
 
+std::vector< std::complex< double > > LUEvaluate (std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b)
 
const std::vector< Bus * > GetBusList () const
 Get the buses of the system (use GetElementsFromList first). More...
 
const std::vector< Capacitor * > GetCapacitorList () const
 Get the capacitors of the system (use GetElementsFromList first). More...
 
const std::vector< IndMotor * > GetIndMotorList () const
 Get the induction motors of the system (use GetElementsFromList first). More...
 
const std::vector< Inductor * > GetInductorList () const
 Get the inductors of the system (use GetElementsFromList first). More...
 
const std::vector< Line * > GetLineList () const
 Get the lines of the system (use GetElementsFromList first). More...
 
const std::vector< Load * > GetLoadList () const
 Get the loads of the system (use GetElementsFromList first). More...
 
const std::vector< SyncGenerator * > GetSyncGeneratorList () const
 Get the synchronous generators of the system (use GetElementsFromList first). More...
 
const std::vector< SyncMotor * > GetSyncMotorList () const
 Get the synchronous motors of the system (use GetElementsFromList first). More...
 
const std::vector< Transformer * > GetTransformerList () const
 Get the transformers of the system (use GetElementsFromList first). More...
 
+ + + + + + + + + + + +

+Public Attributes

+std::vector< double > m_wErrorVector
 
+std::vector< double > m_deltaErrorVector
 
+std::vector< double > m_transEdErrorVector
 
+std::vector< double > m_transEqErrorVector
 
+std::vector< double > m_numItVector
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+void SetEventTimeList ()
 
+bool HasEvent (double currentTime)
 
+void SetEvent (double currentTime)
 
+bool EventTrigger (double eventTime, double currentTime)
 
+double GetPowerValue (double value, ElectricalUnit unit)
 
+void InsertSyncMachinesOnYBus ()
 
+std::complex< double > GetSyncMachineAdmittance (SyncGenerator *generator)
 
+bool InitializeDynamicElements ()
 
+void CalculateMachinesCurrents ()
 
+void CalculateIntegrationConstants (SyncGenerator *syncGenerator, double id, double iq, double k=1.0)
 
+bool SolveSynchronousMachines ()
 
+void SetSyncMachinesModel ()
 
+double CalculateSyncMachineIntVariables (SyncGenerator *syncGenerator, double id, double iq, double pe, double k=1.0)
 
+void CalculateSyncMachineNonIntVariables (SyncGenerator *syncGenerator, double &id, double &iq, double &pe, double k=1.0)
 
+void CalculateReferenceSpeed ()
 
+void SaveData ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+wxString m_errorMsg = _("Unknown error")
 
+double m_systemFreq = 60.0
 
+double m_refSpeed = 2.0 * M_PI * 60.0
 
+bool m_useCOI = false
 
+std::vector< std::vector< std::complex< double > > > m_yBus
 
+std::vector< std::vector< std::complex< double > > > m_yBusU
 
+std::vector< std::vector< std::complex< double > > > m_yBusL
 
+std::vector< std::complex< double > > m_vBus
 
+std::vector< std::complex< double > > m_iBus
 
+double m_powerSystemBase = 100e6
 
+double m_simTime = 10.0
 
+double m_plotTime = 1e-2
 
+double m_timeStep = 1e-2
 
+double m_ctrlTimeStepMultiplier = 0.1
 
+double m_tolerance = 1e-8
 
+int m_maxIterations = 100
 
+std::vector< double > m_eventTimeList
 
+std::vector< bool > m_eventOccurrenceList
 
+std::vector< double > m_timeVector
 
+double m_wError = 0.0
 
+double m_numIt = 0
 
- Protected Attributes inherited from ElectricCalculation
+std::vector< PowerElement * > m_powerElementList
 
+std::vector< Bus * > m_busList
 
+std::vector< Capacitor * > m_capacitorList
 
+std::vector< IndMotor * > m_indMotorList
 
+std::vector< Inductor * > m_inductorList
 
+std::vector< Line * > m_lineList
 
+std::vector< Load * > m_loadList
 
+std::vector< SyncGenerator * > m_syncGeneratorList
 
+std::vector< SyncMotor * > m_syncMotorList
 
+std::vector< Transformer * > m_transformerList
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_electromechanical.png b/docs/doxygen/html/class_electromechanical.png new file mode 100644 index 0000000..fe88d01 Binary files /dev/null and b/docs/doxygen/html/class_electromechanical.png differ diff --git a/docs/doxygen/html/class_element-members.html b/docs/doxygen/html/class_element-members.html new file mode 100644 index 0000000..8175beb --- /dev/null +++ b/docs/doxygen/html/class_element-members.html @@ -0,0 +1,175 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Element Member List
+
+
+ +

This is the complete list of members for Element, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) const =0Elementpure virtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constElementinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) const =0Elementpure virtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_online (defined in Element)Elementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Elementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Elementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
+ + + + diff --git a/docs/doxygen/html/class_element.html b/docs/doxygen/html/class_element.html new file mode 100644 index 0000000..8a0008f --- /dev/null +++ b/docs/doxygen/html/class_element.html @@ -0,0 +1,2979 @@ + + + + + + + +PSP-UFU: Element Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Element Class Referenceabstract
+
+
+
+Inheritance diagram for Element:
+
+
+ + +ControlElement +GraphicalElement +PowerElement +ConnectionLine +Constant +Exponential +Gain +IOControl +Limiter +Multiplier +RateLimiter +Sum +TransferFunction +Text +Branch +Bus +Machines +Shunt + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const =0
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const =0
 Check if the element's rect intersects other rect. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + +

+Static Public Member Functions

static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+

Member Function Documentation

+ +

◆ AddChild()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::AddChild (Elementchild)
+
+virtual
+
+ +

Add a child to the child list.

+
Parameters
+ + +
childNew child.
+
+
+ +
+
+ +

◆ AddParent() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual bool Element::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+inlinevirtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented in Transformer, Text, Bus, Line, Load, Capacitor, Inductor, and Machines.

+ +
+
+ +

◆ AddParent() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::AddParent (Elementparent)
+
+inlinevirtual
+
+ +

Add a parent to the element.

+
Parameters
+ + +
parentElement parent.
+
+
+ +
+
+ +

◆ AddPoint()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::AddPoint (wxPoint2DDouble point)
+
+inlinevirtual
+
+ +

Add point to the list of points that connect the element to the bus.

+
Parameters
+ + +
pointPoint to be added.
+
+
+ +

Reimplemented in Line, and Branch.

+ +
+
+ +

◆ CalculateBoundaries()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::CalculateBoundaries (wxPoint2DDouble & leftUp,
wxPoint2DDouble & rightBottom 
) const
+
+virtual
+
+ +

Calculate the element boundaries.

+
Parameters
+ + + +
leftUpTop-left position of the element.
rightBottomBottom-right position of the element.
+
+
+ +

Reimplemented in Line.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Element::Contains (wxPoint2DDouble position) const
+
+pure virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implemented in Transformer, Text, Bus, Line, IOControl, TransferFunction, Capacitor, Inductor, Constant, Gain, Machines, Sum, ConnectionLine, Exponential, Limiter, Multiplier, RateLimiter, Branch, and Shunt.

+ +
+
+ +

◆ DoubleFromString()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool Element::DoubleFromString (wxWindow * parent,
wxString strValue,
double & value,
wxString errorMsg 
)
+
+static
+
+ +

Get a double value from a string. Show a error message if the conversion fail.

+
Parameters
+ + + + + +
parentMessage box parent.
strValueString value to be converted.
valueDouble value converted.
errorMsgError message.
+
+
+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual void Element::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+inlinevirtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented in Transformer, Bus, Line, Load, IOControl, TransferFunction, Capacitor, Inductor, Machines, Constant, Gain, Sum, Branch, ConnectionLine, Exponential, Limiter, Multiplier, and RateLimiter.

+ +
+
+ +

◆ DrawCircle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Element::DrawCircle (wxPoint2DDouble position,
double radius,
int numSegments,
GLenum mode = GL_LINE_LOOP 
) const
+
+virtual
+
+ +

Draw a circle.

+
Parameters
+ + + + + +
positionCircle position.
radiusCircle radius
numSegmentsNum of segments of the circle.
modeOpenGl primitive.
+
+
+ +
+
+ +

◆ DrawLine()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::DrawLine (std::vector< wxPoint2DDouble > points,
GLenum mode = GL_LINE_STRIP 
) const
+
+virtual
+
+ +

Draw line.

+
Parameters
+ + + +
pointsLine vertices.
modeOpenGl primitive.
+
+
+ +
+
+ +

◆ DrawPickbox()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::DrawPickbox (wxPoint2DDouble position) const
+
+virtual
+
+ +

Draw pickbox.

+
Parameters
+ + +
positionPickbox position.
+
+
+ +
+
+ +

◆ DrawPoint()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::DrawPoint (wxPoint2DDouble position,
double size 
) const
+
+virtual
+
+ +

Draw a point.

+
Parameters
+ + + +
positionPoint position.
sizePoint size.
+
+
+ +
+
+ +

◆ DrawRectangle() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void Element::DrawRectangle (wxPoint2DDouble position,
double width,
double height,
GLenum mode = GL_QUADS 
) const
+
+virtual
+
+ +

Draw rectangle.

+
Parameters
+ + + + + +
positionRectangle position.
widthRectangle width.
heightRectangle height.
modeOpenGl primitive.
+
+
+ +
+
+ +

◆ DrawRectangle() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::DrawRectangle (wxPoint2DDouble * points,
GLenum mode = GL_QUADS 
) const
+
+virtual
+
+ +

Draw rectangle.

+
Parameters
+ + + +
pointsRectangle vertices.
modeOpenGl primitive.
+
+
+ +
+
+ +

◆ DrawTriangle()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::DrawTriangle (std::vector< wxPoint2DDouble > points,
GLenum mode = GL_TRIANGLES 
) const
+
+virtual
+
+ +

Draw a triangle.

+
Parameters
+ + + +
pointsTriangle vertices.
modeOpenGl primitive.
+
+
+ +
+
+ +

◆ GeneralMenuItens()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::GeneralMenuItens (wxMenu & menu)
+
+virtual
+
+ +

Insert general itens to context menu.

+
Parameters
+ + +
menuMenu that will be inserted the general itens.
+
+
+ +
+
+ +

◆ GetAngle()

+ +
+
+ + + + + +
+ + + + + + + +
double Element::GetAngle () const
+
+inline
+
+ +

Get the element angle.

+
Returns
Angle value.
+ +
+
+ +

◆ GetBestPickboxCursor()

+ +
+
+ + + + + +
+ + + + + + + +
virtual wxCursor Element::GetBestPickboxCursor () const
+
+inlinevirtual
+
+ +

Get the best cursor to shown to the user when the mouse is above a pickbox.

+
Returns
Cursor.
+ +

Reimplemented in Bus, Line, and Branch.

+ +
+
+ +

◆ GetChildList()

+ +
+
+ + + + + +
+ + + + + + + +
virtual std::vector<Element*> Element::GetChildList () const
+
+inlinevirtual
+
+ +

Get the Child list.

+
Returns
Child List.
+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Element::GetContextMenu (wxMenu & menu)
+
+inlinevirtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented in SyncGenerator, SyncMotor, Transformer, Bus, Line, Load, Branch, Capacitor, Inductor, and IndMotor.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
virtual Element* Element::GetCopy ()
+
+inlinevirtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented in SyncGenerator, SyncMotor, Transformer, Text, Bus, Line, IOControl, TransferFunction, ConnectionLine, Sum, Gain, Load, Limiter, RateLimiter, Constant, Exponential, IndMotor, Multiplier, Capacitor, and Inductor.

+ +
+
+ +

◆ GetHeight()

+ +
+
+ + + + + +
+ + + + + + + +
double Element::GetHeight () const
+
+inline
+
+ +

Get the element height.

+
Returns
Element height.
+ +
+
+ +

◆ GetID()

+ +
+
+ + + + + +
+ + + + + + + +
virtual int Element::GetID () const
+
+inlinevirtual
+
+ +

Get the element ID.

+
Returns
Element ID.
+ +
+
+ +

◆ GetParentList()

+ +
+
+ + + + + +
+ + + + + + + +
virtual std::vector<Element*> Element::GetParentList () const
+
+inlinevirtual
+
+ +

Get the parent list.

+
Returns
Parent list.
+ +
+
+ +

◆ GetPointList()

+ +
+
+ + + + + +
+ + + + + + + +
virtual std::vector<wxPoint2DDouble> Element::GetPointList () const
+
+inlinevirtual
+
+ +

Get the list of points that connect the element to bus.

+
Returns
List of points.
+ +
+
+ +

◆ GetPosition()

+ +
+
+ + + + + +
+ + + + + + + +
wxPoint2DDouble Element::GetPosition () const
+
+inline
+
+ +

Get the element position.

+
Returns
Element position.
+ +
+
+ +

◆ GetRect()

+ +
+
+ + + + + +
+ + + + + + + +
wxRect2DDouble Element::GetRect () const
+
+inline
+
+ +

Get the element rectangle.

+
Returns
Element rectangle.
+ +
+
+ +

◆ GetRotationAngle()

+ +
+
+ + + + + +
+ + + + + + + +
double Element::GetRotationAngle () const
+
+inline
+
+ +

Get the angle of rotation.

+
Returns
Rotation angle.
+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
virtual wxString Element::GetTipText () const
+
+inlinevirtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented in SyncGenerator, SyncMotor, Transformer, Bus, Line, Load, Capacitor, Inductor, and IndMotor.

+ +
+
+ +

◆ GetWidth()

+ +
+
+ + + + + +
+ + + + + + + +
double Element::GetWidth () const
+
+inline
+
+ +

Get the element width.

+
Returns
Element width.
+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Element::Intersects (wxRect2DDouble rect) const
+
+pure virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implemented in Transformer, Text, Bus, Line, IOControl, TransferFunction, Capacitor, Inductor, Branch, Machines, Constant, Gain, Sum, ConnectionLine, Exponential, Limiter, Multiplier, RateLimiter, and Shunt.

+ +
+
+ +

◆ IntFromString()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool Element::IntFromString (wxWindow * parent,
wxString strValue,
int & value,
wxString errorMsg 
)
+
+static
+
+ +

Convert a string to int. Show a error message if the conversion fail.

+
Parameters
+ + + + + +
parentMessage box parent.
strValueString value to be converted.
valueInt value converted.
errorMsgError message.
+
+
+ +
+
+ +

◆ IsDragging()

+ +
+
+ + + + + +
+ + + + + + + +
bool Element::IsDragging () const
+
+inline
+
+ +

Checks if the element is being dragged.

+
Returns
True if is being dragged, false otherwise.
+ +
+
+ +

◆ IsOnline()

+ +
+
+ + + + + +
+ + + + + + + +
bool Element::IsOnline () const
+
+inline
+
+ +

Checks if the element is online or offline.

+
Returns
True if online, false if offline.
+ +
+
+ +

◆ IsPickboxShown()

+ +
+
+ + + + + +
+ + + + + + + +
bool Element::IsPickboxShown () const
+
+inline
+
+ +

Checks if the pickbox is shown.

+
Returns
True if the pickbox is show, false otherwise.
+ +
+
+ +

◆ IsSelected()

+ +
+
+ + + + + +
+ + + + + + + +
bool Element::IsSelected () const
+
+inline
+
+ +

Checks if the element is selected.

+
Returns
True if selected, false otherwise.
+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented in Transformer, ControlElement, Line, Gain, Machines, ConnectionLine, Branch, and Shunt.

+ +
+
+ +

◆ MoveNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual void Element::MoveNode (Elementparent,
wxPoint2DDouble position 
)
+
+inlinevirtual
+
+ +

Move a node. StartMove(wxPoint2DDouble position) before start moving.

+
Parameters
+ + + +
parentNode's parent.
positionNew node position.
+
+
+ +

Reimplemented in Transformer, Line, Machines, Branch, and Shunt.

+ +
+
+ +

◆ MovePickbox()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::MovePickbox (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Move the pickbox.

+
Parameters
+ + +
positionposition that the pickbox will be moved.
+
+
+ +

Reimplemented in Bus, Line, and Branch.

+ +
+
+ +

◆ NodeContains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Element::NodeContains (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Check if a node contains a point. If contains, set the attributes related to node movement.

+
Parameters
+ + +
positionPosition tested.
+
+
+
Returns
True if at least one node contains the position, false otherwise.
+ +

Reimplemented in Machines, Shunt, and Branch.

+ +
+
+ +

◆ PickboxContains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Element::PickboxContains (wxPoint2DDouble position)
+
+inlinevirtual
+
+ +

Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+
Returns
True if the element constains the pickbox, false otherwise.
+ +

Reimplemented in Bus, Line, and Branch.

+ +
+
+ +

◆ PointToLineDistance()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
double Element::PointToLineDistance (wxPoint2DDouble point,
int * segmentNumber = NULL 
) const
+
+virtual
+
+ +

Calculate the distance between a line (formed by point list) and a point.

+
Parameters
+ + + +
pointorigin point.
segmentNumberSotores the segment number clicked
+
+
+
Returns
The distance between the point and the line.
+ +
+
+ +

◆ RemoveChild()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::RemoveChild (Elementchild)
+
+virtual
+
+ +

Remove a child from the list.

+
Parameters
+ + +
childChild to remove.
+
+
+ +
+
+ +

◆ RemoveParent()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::RemoveParent (Elementparent)
+
+inlinevirtual
+
+ +

Remove a parent.

+
Parameters
+ + +
parentParent to be removed.
+
+
+ +

Reimplemented in Machines, Branch, Shunt, and ConnectionLine.

+ +
+
+ +

◆ ReplaceChild()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::ReplaceChild (ElementoldChild,
ElementnewChild 
)
+
+virtual
+
+ +

Replace a child from the list.

+
Parameters
+ + + +
oldChildOld child.
newChildNew child.
+
+
+ +
+
+ +

◆ ReplaceParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Element::ReplaceParent (ElementoldParent,
ElementnewParent 
)
+
+virtual
+
+ +

Replace a parent.

+
Parameters
+ + + +
oldParentParent to be replaced.
newParentNew parent.
+
+
+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::Rotate (bool clockwise = true)
+
+inlinevirtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented in Transformer, Text, Bus, Load, IOControl, Machines, TransferFunction, Capacitor, Inductor, Constant, Gain, Sum, Exponential, Limiter, Multiplier, and RateLimiter.

+ +
+
+ +

◆ RotateAtPosition()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
wxPoint2DDouble Element::RotateAtPosition (wxPoint2DDouble pointToRotate,
double angle,
bool degrees = true 
) const
+
+virtual
+
+ +

Rotate a point as element position being the origin.

+
Parameters
+ + + + +
pointToRotatePoint that will be rotated.
angleAngle of rotation.
degreesTrue if the angle is in degrees, false if radians.
+
+
+ +
+
+ +

◆ RotatedRectanglesIntersects()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool Element::RotatedRectanglesIntersects (wxRect2DDouble rect1,
wxRect2DDouble rect2,
double angle1,
double angle2 
) const
+
+virtual
+
+ +

Check if two roteted rectangles intersect.

+
Parameters
+ + + + + +
rect1First rect.
rect2Second rect.
angle1Rotation algle of first rectangle.
angle2Rotation angle of second rectangle.
+
+
+ +
+
+ +

◆ RotateNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual void Element::RotateNode (Elementparent,
bool clockwise = true 
)
+
+inlinevirtual
+
+ +

Rotate a node.

+
Parameters
+ + + +
parentNode's parent.
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented in Transformer, Line, Branch, Machines, and Shunt.

+ +
+
+ +

◆ SetAngle()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::SetAngle (double angle)
+
+inline
+
+ +

Set element angle.

+
Parameters
+ + +
angleAngle value in degrees.
+
+
+ +
+
+ +

◆ SetBorderSize()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::SetBorderSize (double borderSize)
+
+inline
+
+ +

Set the size of the border (shown in selected elements).

+
Parameters
+ + +
borderSizeBorder size.
+
+
+ +
+
+ +

◆ SetDragging()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::SetDragging (bool dragging = true)
+
+inline
+
+ +

Set if the element are being dragged.

+
Parameters
+ + +
draggingTrue if is dragging, false otherwise.
+
+
+ +
+
+ +

◆ SetHeight()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::SetHeight (double height)
+
+inline
+
+ +

Set element height.

+
Parameters
+ + +
heightHeight value.
+
+
+ +
+
+ +

◆ SetID()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::SetID (int id)
+
+inlinevirtual
+
+ +

Set the element ID.

+
Parameters
+ + +
idElement ID.
+
+
+ +
+
+ +

◆ SetNodeParent()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Element::SetNodeParent (Elementparent)
+
+inlinevirtual
+
+ +

Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated.

+
Parameters
+ + +
parentNode parent.
+
+
+
Returns
True if was possible to set the parent.
+ +

Reimplemented in Transformer, Line, Machines, Shunt, and Branch.

+ +
+
+ +

◆ SetOnline()

+ +
+
+ + + + + + + + +
bool Element::SetOnline (bool online = true)
+
+ +

Set if the element is online or offline.

+
Parameters
+ + +
onlineTrue if online, false if offline.
+
+
+ +
+
+ +

◆ SetPointList()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void Element::SetPointList (std::vector< wxPoint2DDouble > pointList)
+
+inlinevirtual
+
+ +

Set the list of points that connect the element to the bus.

+
Parameters
+ + +
pointListList of points.
+
+
+ +

Reimplemented in Line.

+ +
+
+ +

◆ SetPosition()

+ +
+
+ + + + + + + + +
void Element::SetPosition (const wxPoint2DDouble position)
+
+ +

Set the element position and update the rectangle.

+
Parameters
+ + +
positionPosition value.
+
+
+ +
+
+ +

◆ SetSelected()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::SetSelected (bool selected = true)
+
+inline
+
+ +

Set element selection.

+
Parameters
+ + +
selectedTrue if selected, false otherwise.
+
+
+ +
+
+ +

◆ SetWidth()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::SetWidth (double width)
+
+inline
+
+ +

Set element width.

+
Parameters
+ + +
widthWidth value.
+
+
+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual bool Element::ShowForm (wxWindow * parent,
Elementelement 
)
+
+inlinevirtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented in SyncMotor, SyncGenerator, Transformer, Bus, Line, Load, Capacitor, Inductor, IOControl, IndMotor, TransferFunction, Constant, Gain, Sum, Exponential, Limiter, Multiplier, and RateLimiter.

+ +
+
+ +

◆ ShowPickbox()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::ShowPickbox (bool showPickbox = true)
+
+inline
+
+ +

Set if the pickbox is shown.

+
Parameters
+ + +
showPickboxTrue if show, false otherwise.
+
+
+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void Element::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented in Transformer, ControlElement, Line, Machines, ConnectionLine, Shunt, and Branch.

+ +
+
+ +

◆ StringFromDouble()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
wxString Element::StringFromDouble (double value,
int minDecimal = 1 
)
+
+static
+
+ +

Convert a double value to string.

+
Parameters
+ + + +
valueValue to be converted.
minDecimalMinimum number of decimal places.
+
+
+ +
+
+ +

◆ WorldToScreen() [1/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
wxPoint2DDouble Element::WorldToScreen (wxPoint2DDouble translation,
double scale,
double offsetX = 0.0,
double offsetY = 0.0 
) const
+
+virtual
+
+ +

Convert the element position to screen position.

+
Parameters
+ + + + + +
translationSystem translation.
scaleSystem scale
offsetXOffset in X axis.
offsetYOffset if Y axis.
+
+
+ +
+
+ +

◆ WorldToScreen() [2/2]

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
wxPoint2DDouble Element::WorldToScreen (wxPoint2DDouble position,
wxPoint2DDouble translation,
double scale,
double offsetX = 0.0,
double offsetY = 0.0 
) const
+
+virtual
+
+ +

Convert a generic position to screen position.

+
Parameters
+ + + + + + +
positionPosition to be converted.
translationSystem translation.
scaleSystem scale.
offsetXOffset in X axis.
offsetYOffset in Y axis.
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_element.png b/docs/doxygen/html/class_element.png new file mode 100644 index 0000000..4cd2b49 Binary files /dev/null and b/docs/doxygen/html/class_element.png differ diff --git a/docs/doxygen/html/class_element_data_object-members.html b/docs/doxygen/html/class_element_data_object-members.html new file mode 100644 index 0000000..48a6422 --- /dev/null +++ b/docs/doxygen/html/class_element_data_object-members.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ElementDataObject Member List
+
+
+ +

This is the complete list of members for ElementDataObject, including all inherited members.

+ + + + + + + + + +
ElementDataObject() (defined in ElementDataObject)ElementDataObject
ElementDataObject(std::vector< Element *> elementList) (defined in ElementDataObject)ElementDataObject
GetDataHere(void *buf) const override (defined in ElementDataObject)ElementDataObject
GetDataSize() const override (defined in ElementDataObject)ElementDataObject
GetElementsLists() (defined in ElementDataObject)ElementDataObjectinline
m_elementsLists (defined in ElementDataObject)ElementDataObjectprotected
SetData(size_t len, const void *buf) override (defined in ElementDataObject)ElementDataObject
~ElementDataObject() (defined in ElementDataObject)ElementDataObject
+ + + + diff --git a/docs/doxygen/html/class_element_data_object.html b/docs/doxygen/html/class_element_data_object.html new file mode 100644 index 0000000..c4cefd5 --- /dev/null +++ b/docs/doxygen/html/class_element_data_object.html @@ -0,0 +1,117 @@ + + + + + + + +PSP-UFU: ElementDataObject Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ElementDataObject Class Reference
+
+
+
+Inheritance diagram for ElementDataObject:
+
+
+ + + +
+ + + + + + + + + + + + +

+Public Member Functions

ElementDataObject (std::vector< Element *> elementList)
 
+size_t GetDataSize () const override
 
+bool GetDataHere (void *buf) const override
 
+bool SetData (size_t len, const void *buf) override
 
+ElementsListsGetElementsLists ()
 
+ + + +

+Protected Attributes

+ElementsListsm_elementsLists = NULL
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_element_data_object.png b/docs/doxygen/html/class_element_data_object.png new file mode 100644 index 0000000..4aef5a8 Binary files /dev/null and b/docs/doxygen/html/class_element_data_object.png differ diff --git a/docs/doxygen/html/class_element_plot_data-members.html b/docs/doxygen/html/class_element_plot_data-members.html new file mode 100644 index 0000000..98a6565 --- /dev/null +++ b/docs/doxygen/html/class_element_plot_data-members.html @@ -0,0 +1,118 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ElementPlotData Member List
+
+
+ +

This is the complete list of members for ElementPlotData, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddData(std::vector< double > values, wxString name) (defined in ElementPlotData)ElementPlotData
CT_BUS enum value (defined in ElementPlotData)ElementPlotData
CT_IND_MOTOR enum value (defined in ElementPlotData)ElementPlotData
CT_LINE enum value (defined in ElementPlotData)ElementPlotData
CT_LOAD enum value (defined in ElementPlotData)ElementPlotData
CT_SHUNT_CAPACITOR enum value (defined in ElementPlotData)ElementPlotData
CT_SHUNT_INDUCTOR enum value (defined in ElementPlotData)ElementPlotData
CT_SYNC_COMPENSATOR enum value (defined in ElementPlotData)ElementPlotData
CT_SYNC_GENERATOR enum value (defined in ElementPlotData)ElementPlotData
CT_TEST enum value (defined in ElementPlotData)ElementPlotData
CT_TIME enum value (defined in ElementPlotData)ElementPlotData
CT_TRANSFORMER enum value (defined in ElementPlotData)ElementPlotData
CurveType enum name (defined in ElementPlotData)ElementPlotData
ElementPlotData() (defined in ElementPlotData)ElementPlotDatainline
ElementPlotData(wxString name, CurveType curveType) (defined in ElementPlotData)ElementPlotData
GetAxis(int index) const (defined in ElementPlotData)ElementPlotDatainline
GetColour(int index) const (defined in ElementPlotData)ElementPlotDatainline
GetCurveType() const (defined in ElementPlotData)ElementPlotDatainline
GetDataName(int index) const (defined in ElementPlotData)ElementPlotDatainline
GetElementDataNumber() const (defined in ElementPlotData)ElementPlotDatainline
GetName() const (defined in ElementPlotData)ElementPlotDatainline
GetPenType(int index) const (defined in ElementPlotData)ElementPlotDatainline
GetPlotData(int index) const (defined in ElementPlotData)ElementPlotDatainline
GetThick(int index) const (defined in ElementPlotData)ElementPlotDatainline
GetValues(int index) const (defined in ElementPlotData)ElementPlotDatainline
m_curveType (defined in ElementPlotData)ElementPlotDataprotected
m_elementData (defined in ElementPlotData)ElementPlotDataprotected
m_name (defined in ElementPlotData)ElementPlotDataprotected
NUM_ELEMENTS enum value (defined in ElementPlotData)ElementPlotData
SetAxis(int index, int axis) (defined in ElementPlotData)ElementPlotDatainline
SetColour(int index, wxColour colour) (defined in ElementPlotData)ElementPlotDatainline
SetCurveType(CurveType type) (defined in ElementPlotData)ElementPlotDatainline
SetDataName(int index, wxString name) (defined in ElementPlotData)ElementPlotDatainline
SetName(wxString name) (defined in ElementPlotData)ElementPlotDatainline
SetPenType(int index, wxPenStyle penType) (defined in ElementPlotData)ElementPlotDatainline
SetPlot(int index, bool plot=true) (defined in ElementPlotData)ElementPlotDatainline
SetThick(int index, int thick) (defined in ElementPlotData)ElementPlotDatainline
SetValues(int index, std::vector< double > values) (defined in ElementPlotData)ElementPlotDatainline
~ElementPlotData() (defined in ElementPlotData)ElementPlotData
+ + + + diff --git a/docs/doxygen/html/class_element_plot_data.html b/docs/doxygen/html/class_element_plot_data.html new file mode 100644 index 0000000..2c2b30c --- /dev/null +++ b/docs/doxygen/html/class_element_plot_data.html @@ -0,0 +1,185 @@ + + + + + + + +PSP-UFU: ElementPlotData Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ElementPlotData Class Reference
+
+
+ + + + +

+Public Types

enum  CurveType {
+  CT_BUS = 0, +CT_SYNC_GENERATOR, +CT_SYNC_COMPENSATOR, +CT_TRANSFORMER, +
+  CT_LINE, +CT_IND_MOTOR, +CT_SHUNT_INDUCTOR, +CT_SHUNT_CAPACITOR, +
+  CT_LOAD, +CT_TEST, +NUM_ELEMENTS, +CT_TIME +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ElementPlotData (wxString name, CurveType curveType)
 
+wxString GetName () const
 
+void SetName (wxString name)
 
+CurveType GetCurveType () const
 
+void SetCurveType (CurveType type)
 
+PlotDataGetPlotData (int index) const
 
+void AddData (std::vector< double > values, wxString name)
 
+int GetElementDataNumber () const
 
+std::vector< double > GetValues (int index) const
 
+void SetValues (int index, std::vector< double > values)
 
+void SetPlot (int index, bool plot=true)
 
+wxString GetDataName (int index) const
 
+void SetDataName (int index, wxString name)
 
+wxColour GetColour (int index) const
 
+void SetColour (int index, wxColour colour)
 
+int GetThick (int index) const
 
+void SetThick (int index, int thick)
 
+wxPenStyle GetPenType (int index) const
 
+void SetPenType (int index, wxPenStyle penType)
 
+int GetAxis (int index) const
 
+void SetAxis (int index, int axis)
 
+ + + + + + + +

+Protected Attributes

+wxString m_name
 
+CurveType m_curveType
 
+std::vector< PlotData * > m_elementData
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_exponential-members.html b/docs/doxygen/html/class_exponential-members.html new file mode 100644 index 0000000..d3fd78e --- /dev/null +++ b/docs/doxygen/html/class_exponential-members.html @@ -0,0 +1,197 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Exponential Member List
+
+
+ +

This is the complete list of members for Exponential, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constExponentialinlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constExponentialvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
Exponential(int id) (defined in Exponential)Exponential
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Exponentialvirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetValues(double &aValue, double &bValue) (defined in Exponential)Exponentialvirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constExponentialinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_aValue (defined in Exponential)Exponentialprotected
m_borderSize (defined in Element)Elementprotected
m_bValue (defined in Exponential)Exponentialprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Exponentialvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetValues(double aValue, double bValue) (defined in Exponential)Exponentialvirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Exponentialvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in Exponential)Exponentialvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in Exponential)Exponentialvirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~Exponential() (defined in Exponential)Exponential
+ + + + diff --git a/docs/doxygen/html/class_exponential.html b/docs/doxygen/html/class_exponential.html new file mode 100644 index 0000000..ced1fe0 --- /dev/null +++ b/docs/doxygen/html/class_exponential.html @@ -0,0 +1,696 @@ + + + + + + + +PSP-UFU: Exponential Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Exponential Class Reference
+
+
+
+Inheritance diagram for Exponential:
+
+
+ + +ControlElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Exponential (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual void UpdatePoints ()
 
+virtual void GetValues (double &aValue, double &bValue)
 
+virtual void SetValues (double aValue, double bValue)
 
+virtual bool Solve (double input, double timeStep)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double m_aValue = 0.001
 
+double m_bValue = 5.0
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Exponential::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Exponential::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Exponential::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Exponential::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Exponential::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Exponential::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_exponential.png b/docs/doxygen/html/class_exponential.png new file mode 100644 index 0000000..99cdc3b Binary files /dev/null and b/docs/doxygen/html/class_exponential.png differ diff --git a/docs/doxygen/html/class_exponential_form-members.html b/docs/doxygen/html/class_exponential_form-members.html new file mode 100644 index 0000000..77b2054 --- /dev/null +++ b/docs/doxygen/html/class_exponential_form-members.html @@ -0,0 +1,106 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ExponentialForm Member List
+
+
+ +

This is the complete list of members for ExponentialForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ExponentialForm(wxWindow *parent, Exponential *exponential) (defined in ExponentialForm)ExponentialForm
ExponentialFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Exponential"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ExponentialFormBase)ExponentialFormBase
GetButtonCancel() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetButtonOK() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetNotebook() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetPanelGeneral() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetStaticTextAValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetStaticTextBValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetStaticTextExp() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetTextCtrlAValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetTextCtrlBValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
m_buttonCancel (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_buttonOK (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_exponential (defined in ExponentialForm)ExponentialFormprotected
m_notebook (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_panelGeneral (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_parent (defined in ExponentialForm)ExponentialFormprotected
m_staticTextAValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_staticTextBValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_staticTextExp (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_textCtrlAValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_textCtrlBValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ExponentialForm)ExponentialForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in ExponentialForm)ExponentialFormprotectedvirtual
ValidateData() (defined in ExponentialForm)ExponentialFormvirtual
~ExponentialForm() (defined in ExponentialForm)ExponentialFormvirtual
~ExponentialFormBase() (defined in ExponentialFormBase)ExponentialFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_exponential_form.html b/docs/doxygen/html/class_exponential_form.html new file mode 100644 index 0000000..714fda1 --- /dev/null +++ b/docs/doxygen/html/class_exponential_form.html @@ -0,0 +1,181 @@ + + + + + + + +PSP-UFU: ExponentialForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ExponentialForm Class Reference
+
+
+
+Inheritance diagram for ExponentialForm:
+
+
+ + +ExponentialFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ExponentialForm (wxWindow *parent, Exponential *exponential)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from ExponentialFormBase
+wxStaticText * GetStaticTextExp ()
 
+wxStaticText * GetStaticTextAValue ()
 
+wxTextCtrl * GetTextCtrlAValue ()
 
+wxStaticText * GetStaticTextBValue ()
 
+wxTextCtrl * GetTextCtrlBValue ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
ExponentialFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Exponential"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Exponentialm_exponential = NULL
 
- Protected Attributes inherited from ExponentialFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextExp
 
+wxStaticText * m_staticTextAValue
 
+wxTextCtrl * m_textCtrlAValue
 
+wxStaticText * m_staticTextBValue
 
+wxTextCtrl * m_textCtrlBValue
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_exponential_form.png b/docs/doxygen/html/class_exponential_form.png new file mode 100644 index 0000000..38d4e8b Binary files /dev/null and b/docs/doxygen/html/class_exponential_form.png differ diff --git a/docs/doxygen/html/class_exponential_form_base-members.html b/docs/doxygen/html/class_exponential_form_base-members.html new file mode 100644 index 0000000..1609306 --- /dev/null +++ b/docs/doxygen/html/class_exponential_form_base-members.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ExponentialFormBase Member List
+
+
+ +

This is the complete list of members for ExponentialFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + +
ExponentialFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Exponential"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ExponentialFormBase)ExponentialFormBase
GetButtonCancel() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetButtonOK() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetNotebook() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetPanelGeneral() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetStaticTextAValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetStaticTextBValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetStaticTextExp() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetTextCtrlAValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
GetTextCtrlBValue() (defined in ExponentialFormBase)ExponentialFormBaseinline
m_buttonCancel (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_buttonOK (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_notebook (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_panelGeneral (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_staticTextAValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_staticTextBValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_staticTextExp (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_textCtrlAValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
m_textCtrlBValue (defined in ExponentialFormBase)ExponentialFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ExponentialFormBase)ExponentialFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in ExponentialFormBase)ExponentialFormBaseinlineprotectedvirtual
~ExponentialFormBase() (defined in ExponentialFormBase)ExponentialFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_exponential_form_base.html b/docs/doxygen/html/class_exponential_form_base.html new file mode 100644 index 0000000..a8fa606 --- /dev/null +++ b/docs/doxygen/html/class_exponential_form_base.html @@ -0,0 +1,167 @@ + + + + + + + +PSP-UFU: ExponentialFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ExponentialFormBase Class Reference
+
+
+
+Inheritance diagram for ExponentialFormBase:
+
+
+ + +ExponentialForm + +
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextExp ()
 
+wxStaticText * GetStaticTextAValue ()
 
+wxTextCtrl * GetTextCtrlAValue ()
 
+wxStaticText * GetStaticTextBValue ()
 
+wxTextCtrl * GetTextCtrlBValue ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
ExponentialFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Exponential"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextExp
 
+wxStaticText * m_staticTextAValue
 
+wxTextCtrl * m_textCtrlAValue
 
+wxStaticText * m_staticTextBValue
 
+wxTextCtrl * m_textCtrlBValue
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_exponential_form_base.png b/docs/doxygen/html/class_exponential_form_base.png new file mode 100644 index 0000000..15110e5 Binary files /dev/null and b/docs/doxygen/html/class_exponential_form_base.png differ diff --git a/docs/doxygen/html/class_fault-members.html b/docs/doxygen/html/class_fault-members.html new file mode 100644 index 0000000..ae5238b --- /dev/null +++ b/docs/doxygen/html/class_fault-members.html @@ -0,0 +1,132 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Fault Member List
+
+
+ +

This is the complete list of members for Fault, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ABCtoDQ0(std::complex< double > complexValue, double angle, double &dValue, double &qValue) (defined in ElectricCalculation)ElectricCalculation
ComplexMatrixTimesVector(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector) (defined in ElectricCalculation)ElectricCalculation
DQ0toABC(double dValue, double qValue, double angle, std::complex< double > &complexValue) (defined in ElectricCalculation)ElectricCalculation
ElectricCalculation()ElectricCalculation
Fault(std::vector< Element *> elementList)Fault
Fault()Fault
GaussianElimination(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array) (defined in ElectricCalculation)ElectricCalculation
GetBusList() constElectricCalculationinline
GetCapacitorList() constElectricCalculationinline
GetElementsFromList(std::vector< Element *> elementList)ElectricCalculationvirtual
GetErrorMessage()Faultinlinevirtual
GetIndMotorList() constElectricCalculationinline
GetInductorList() constElectricCalculationinline
GetLineList() constElectricCalculationinline
GetLoadList() constElectricCalculationinline
GetLUDecomposition(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU) (defined in ElectricCalculation)ElectricCalculation
GetMachineModel(SyncGenerator *generator) (defined in ElectricCalculation)ElectricCalculation
GetSyncGeneratorList() constElectricCalculationinline
GetSyncMotorList() constElectricCalculationinline
GetTransformerList() constElectricCalculationinline
GetYBus(std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)ElectricCalculationvirtual
InvertMatrix(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)ElectricCalculationvirtual
LUEvaluate(std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b) (defined in ElectricCalculation)ElectricCalculation
m_busList (defined in ElectricCalculation)ElectricCalculationprotected
m_capacitorList (defined in ElectricCalculation)ElectricCalculationprotected
m_errorMsg (defined in Fault)Faultprotected
m_fCurrentA (defined in Fault)Faultprotected
m_fCurrentB (defined in Fault)Faultprotected
m_fCurrentC (defined in Fault)Faultprotected
m_indMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_inductorList (defined in ElectricCalculation)ElectricCalculationprotected
m_lineList (defined in ElectricCalculation)ElectricCalculationprotected
m_loadList (defined in ElectricCalculation)ElectricCalculationprotected
m_posFaultVoltageA (defined in Fault)Faultprotected
m_posFaultVoltageB (defined in Fault)Faultprotected
m_posFaultVoltageC (defined in Fault)Faultprotected
m_posFaultVoltageNeg (defined in Fault)Faultprotected
m_posFaultVoltagePos (defined in Fault)Faultprotected
m_posFaultVoltageZero (defined in Fault)Faultprotected
m_powerElementList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncGeneratorList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_systemPowerBase (defined in Fault)Faultprotected
m_transformerList (defined in ElectricCalculation)ElectricCalculationprotected
m_zBusNeg (defined in Fault)Faultprotected
m_zBusPos (defined in Fault)Faultprotected
m_zBusZero (defined in Fault)Faultprotected
RunFaultCalculation(double systemPowerBase)Faultvirtual
RunSCPowerCalcutation(double systemPowerBase)Faultvirtual
UpdateElementsFault(double systemPowerBase)Faultvirtual
UpdateElementsPowerFlow(std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)ElectricCalculationvirtual
~ElectricCalculation()ElectricCalculation
~Fault()Fault
+ + + + diff --git a/docs/doxygen/html/class_fault.html b/docs/doxygen/html/class_fault.html new file mode 100644 index 0000000..569270f --- /dev/null +++ b/docs/doxygen/html/class_fault.html @@ -0,0 +1,428 @@ + + + + + + + +PSP-UFU: Fault Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Fault Class Reference
+
+
+ +

#include <Fault.h>

+
+Inheritance diagram for Fault:
+
+
+ + +ElectricCalculation + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 Fault (std::vector< Element *> elementList)
 Contructor. More...
 
Fault ()
 Default contructor. Use GetElementsFromList(std::vector<Element*> elementList).
 
~Fault ()
 Destructor.
 
virtual bool RunFaultCalculation (double systemPowerBase)
 Calculate the fault of the system. Return true if was possible the calculation. More...
 
virtual bool RunSCPowerCalcutation (double systemPowerBase)
 Calculate the short-circuit power of the system. Return true if was possible the calculation. More...
 
virtual void UpdateElementsFault (double systemPowerBase)
 Update the data of the elements. More...
 
virtual wxString GetErrorMessage ()
 Get the error message generated in RunFaultCalculation(double systemPowerBase). More...
 
- Public Member Functions inherited from ElectricCalculation
ElectricCalculation ()
 Constructor.
 
~ElectricCalculation ()
 Destructor.
 
virtual void GetElementsFromList (std::vector< Element *> elementList)
 Separate the power elements from a generic list. More...
 
virtual bool GetYBus (std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)
 Get the admittance matrix from the list of elements (use GetElementsFromList first). More...
 
virtual bool InvertMatrix (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)
 Invert a matrix. More...
 
virtual void UpdateElementsPowerFlow (std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)
 Update the elements after the power flow calculation. More...
 
+void ABCtoDQ0 (std::complex< double > complexValue, double angle, double &dValue, double &qValue)
 
+void DQ0toABC (double dValue, double qValue, double angle, std::complex< double > &complexValue)
 
+std::vector< std::complex< double > > GaussianElimination (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array)
 
+Machines::SyncMachineModel GetMachineModel (SyncGenerator *generator)
 
+std::vector< std::complex< double > > ComplexMatrixTimesVector (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector)
 
+void GetLUDecomposition (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU)
 
+std::vector< std::complex< double > > LUEvaluate (std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b)
 
const std::vector< Bus * > GetBusList () const
 Get the buses of the system (use GetElementsFromList first). More...
 
const std::vector< Capacitor * > GetCapacitorList () const
 Get the capacitors of the system (use GetElementsFromList first). More...
 
const std::vector< IndMotor * > GetIndMotorList () const
 Get the induction motors of the system (use GetElementsFromList first). More...
 
const std::vector< Inductor * > GetInductorList () const
 Get the inductors of the system (use GetElementsFromList first). More...
 
const std::vector< Line * > GetLineList () const
 Get the lines of the system (use GetElementsFromList first). More...
 
const std::vector< Load * > GetLoadList () const
 Get the loads of the system (use GetElementsFromList first). More...
 
const std::vector< SyncGenerator * > GetSyncGeneratorList () const
 Get the synchronous generators of the system (use GetElementsFromList first). More...
 
const std::vector< SyncMotor * > GetSyncMotorList () const
 Get the synchronous motors of the system (use GetElementsFromList first). More...
 
const std::vector< Transformer * > GetTransformerList () const
 Get the transformers of the system (use GetElementsFromList first). More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxString m_errorMsg = ""
 
+double m_systemPowerBase
 
+std::vector< std::vector< std::complex< double > > > m_zBusPos
 
+std::vector< std::vector< std::complex< double > > > m_zBusNeg
 
+std::vector< std::vector< std::complex< double > > > m_zBusZero
 
+std::vector< std::complex< double > > m_posFaultVoltagePos
 
+std::vector< std::complex< double > > m_posFaultVoltageNeg
 
+std::vector< std::complex< double > > m_posFaultVoltageZero
 
+std::complex< double > m_fCurrentA
 
+std::complex< double > m_fCurrentB
 
+std::complex< double > m_fCurrentC
 
+std::vector< std::complex< double > > m_posFaultVoltageA
 
+std::vector< std::complex< double > > m_posFaultVoltageB
 
+std::vector< std::complex< double > > m_posFaultVoltageC
 
- Protected Attributes inherited from ElectricCalculation
+std::vector< PowerElement * > m_powerElementList
 
+std::vector< Bus * > m_busList
 
+std::vector< Capacitor * > m_capacitorList
 
+std::vector< IndMotor * > m_indMotorList
 
+std::vector< Inductor * > m_inductorList
 
+std::vector< Line * > m_lineList
 
+std::vector< Load * > m_loadList
 
+std::vector< SyncGenerator * > m_syncGeneratorList
 
+std::vector< SyncMotor * > m_syncMotorList
 
+std::vector< Transformer * > m_transformerList
 
+

Detailed Description

+
Author
Thales Lima Oliveira
+
Date
10/01/2017
+

Constructor & Destructor Documentation

+ +

◆ Fault()

+ +
+
+ + + + + + + + +
Fault::Fault (std::vector< Element *> elementList)
+
+ +

Contructor.

+
Parameters
+ + +
elementListList of elements in workspace
+
+
+ +
+
+

Member Function Documentation

+ +

◆ GetErrorMessage()

+ +
+
+ + + + + +
+ + + + + + + +
virtual wxString Fault::GetErrorMessage ()
+
+inlinevirtual
+
+ +

Get the error message generated in RunFaultCalculation(double systemPowerBase).

+
Returns
Error message.
+ +
+
+ +

◆ RunFaultCalculation()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Fault::RunFaultCalculation (double systemPowerBase)
+
+virtual
+
+ +

Calculate the fault of the system. Return true if was possible the calculation.

+
Parameters
+ + +
systemPowerBaseSystem base of power.
+
+
+ +
+
+ +

◆ RunSCPowerCalcutation()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Fault::RunSCPowerCalcutation (double systemPowerBase)
+
+virtual
+
+ +

Calculate the short-circuit power of the system. Return true if was possible the calculation.

+
Parameters
+ + +
systemPowerBaseSystem base of power.
+
+
+ +
+
+ +

◆ UpdateElementsFault()

+ +
+
+ + + + + +
+ + + + + + + + +
void Fault::UpdateElementsFault (double systemPowerBase)
+
+virtual
+
+ +

Update the data of the elements.

+
Parameters
+ + +
systemPowerBaseSystem base of power.
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_fault.png b/docs/doxygen/html/class_fault.png new file mode 100644 index 0000000..8c30aeb Binary files /dev/null and b/docs/doxygen/html/class_fault.png differ diff --git a/docs/doxygen/html/class_file_handing-members.html b/docs/doxygen/html/class_file_handing-members.html new file mode 100644 index 0000000..bfa0b95 --- /dev/null +++ b/docs/doxygen/html/class_file_handing-members.html @@ -0,0 +1,107 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
FileHanding Member List
+
+
+ +

This is the complete list of members for FileHanding, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AppendNode(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *parentNode, const char *name, rapidxml::node_type nodeType=rapidxml::node_element) (defined in FileHanding)FileHandingprotected
FileHanding() (defined in FileHanding)FileHanding
FileHanding(Workspace *workspace) (defined in FileHanding)FileHanding
FileHanding(ControlEditor *controlEditor) (defined in FileHanding)FileHanding
GetAttributeValueInt(rapidxml::xml_node<> *parent, const char *nodeName, const char *atrName) (defined in FileHanding)FileHandingprotected
GetAttributeValueInt(rapidxml::xml_node<> *node, const char *atrName) (defined in FileHanding)FileHandingprotected
GetControlElementFromID(std::vector< ControlElement *> elementList, int id) (defined in FileHanding)FileHandingprotected
GetNodeValueDouble(rapidxml::xml_node<> *parent, const char *nodeName) (defined in FileHanding)FileHandingprotected
GetNodeValueInt(rapidxml::xml_node<> *parent, const char *nodeName) (defined in FileHanding)FileHandingprotected
m_controlEditor (defined in FileHanding)FileHandingprotected
m_workspace (defined in FileHanding)FileHandingprotected
OpenControl(wxFileName path, std::vector< ControlElement *> &ctrlElementList, std::vector< ConnectionLine *> &ctrlConnectionList) (defined in FileHanding)FileHanding
OpenControlElements(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=NULL) (defined in FileHanding)FileHanding
OpenControlNodeList(rapidxml::xml_node<> *elementNode, std::vector< Node *> &nodeVector) (defined in FileHanding)FileHandingprotected
OpenProject(wxFileName path) (defined in FileHanding)FileHanding
SaveControl(wxFileName path) (defined in FileHanding)FileHanding
SaveControlElements(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=NULL) (defined in FileHanding)FileHanding
SaveControlNodes(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *nodesN, std::vector< Node *> nodeList) (defined in FileHanding)FileHandingprotected
SaveProject(wxFileName path) (defined in FileHanding)FileHanding
SetControlEditor(ControlEditor *controlEditor) (defined in FileHanding)FileHandinginline
SetNodeAttribute(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, const char *atrName, wxString value) (defined in FileHanding)FileHandingprotected
SetNodeAttribute(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, const char *atrName, int value) (defined in FileHanding)FileHandingprotected
SetNodeAttribute(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, const char *atrName, double value) (defined in FileHanding)FileHandingprotected
SetNodeValue(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, wxString value) (defined in FileHanding)FileHandingprotected
SetNodeValue(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, int value) (defined in FileHanding)FileHandingprotected
SetNodeValue(rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, double value) (defined in FileHanding)FileHandingprotected
SetWorkspace(Workspace *workspace) (defined in FileHanding)FileHandinginline
~FileHanding() (defined in FileHanding)FileHanding
+ + + + diff --git a/docs/doxygen/html/class_file_handing.html b/docs/doxygen/html/class_file_handing.html new file mode 100644 index 0000000..a597076 --- /dev/null +++ b/docs/doxygen/html/class_file_handing.html @@ -0,0 +1,173 @@ + + + + + + + +PSP-UFU: FileHanding Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
FileHanding Class Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

FileHanding (Workspace *workspace)
 
FileHanding (ControlEditor *controlEditor)
 
+void SetWorkspace (Workspace *workspace)
 
+void SetControlEditor (ControlEditor *controlEditor)
 
+void SaveProject (wxFileName path)
 
+bool OpenProject (wxFileName path)
 
+void SaveControl (wxFileName path)
 
+bool OpenControl (wxFileName path, std::vector< ControlElement *> &ctrlElementList, std::vector< ConnectionLine *> &ctrlConnectionList)
 
+void SaveControlElements (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=NULL)
 
+bool OpenControlElements (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *elementsNode, ControlElementContainer *ctrlContainer=NULL)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+rapidxml::xml_node * AppendNode (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *parentNode, const char *name, rapidxml::node_type nodeType=rapidxml::node_element)
 
+void SetNodeValue (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, wxString value)
 
+void SetNodeValue (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, int value)
 
+void SetNodeValue (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, double value)
 
+void SetNodeAttribute (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, const char *atrName, wxString value)
 
+void SetNodeAttribute (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, const char *atrName, int value)
 
+void SetNodeAttribute (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *node, const char *atrName, double value)
 
+double GetNodeValueDouble (rapidxml::xml_node<> *parent, const char *nodeName)
 
+int GetNodeValueInt (rapidxml::xml_node<> *parent, const char *nodeName)
 
+int GetAttributeValueInt (rapidxml::xml_node<> *parent, const char *nodeName, const char *atrName)
 
+int GetAttributeValueInt (rapidxml::xml_node<> *node, const char *atrName)
 
+void SaveControlNodes (rapidxml::xml_document<> &doc, rapidxml::xml_node<> *nodesN, std::vector< Node *> nodeList)
 
+ControlElementGetControlElementFromID (std::vector< ControlElement *> elementList, int id)
 
+bool OpenControlNodeList (rapidxml::xml_node<> *elementNode, std::vector< Node *> &nodeVector)
 
+ + + + + +

+Protected Attributes

+Workspacem_workspace = NULL
 
+ControlEditorm_controlEditor = NULL
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_gain-members.html b/docs/doxygen/html/class_gain-members.html new file mode 100644 index 0000000..e54be88 --- /dev/null +++ b/docs/doxygen/html/class_gain-members.html @@ -0,0 +1,199 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Gain Member List
+
+
+ +

This is the complete list of members for Gain, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constGaininlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constGainvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
Gain(int id) (defined in Gain)Gain
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Gainvirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetValue() const (defined in Gain)Gaininlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constGaininlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_fontSize (defined in Gain)Gainprotected
m_glStringValue (defined in Gain)Gainprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_triPts (defined in Gain)Gainprotected
m_value (defined in Gain)Gainprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Gainvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Gainvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetValue(double value) (defined in Gain)Gainvirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Gainvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in Gain)Gainvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in Gain)Gainvirtual
UpdateText() (defined in Gain)Gaininlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~Gain() (defined in Gain)Gain
+ + + + diff --git a/docs/doxygen/html/class_gain.html b/docs/doxygen/html/class_gain.html new file mode 100644 index 0000000..5365901 --- /dev/null +++ b/docs/doxygen/html/class_gain.html @@ -0,0 +1,738 @@ + + + + + + + +PSP-UFU: Gain Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Gain Class Reference
+
+
+
+Inheritance diagram for Gain:
+
+
+ + +ControlElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Gain (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+virtual void UpdateText ()
 
+virtual void SetValue (double value)
 
+virtual double GetValue () const
 
+virtual void UpdatePoints ()
 
+virtual bool Solve (double input, double timeStep)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double m_value = 1.0
 
+wxGLStringm_glStringValue = NULL
 
+int m_fontSize = 10
 
+std::vector< wxPoint2DDouble > m_triPts
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Gain::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Gain::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Gain::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Gain::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void Gain::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from ControlElement.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Gain::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Gain::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_gain.png b/docs/doxygen/html/class_gain.png new file mode 100644 index 0000000..33a00d0 Binary files /dev/null and b/docs/doxygen/html/class_gain.png differ diff --git a/docs/doxygen/html/class_gain_form-members.html b/docs/doxygen/html/class_gain_form-members.html new file mode 100644 index 0000000..30da7b3 --- /dev/null +++ b/docs/doxygen/html/class_gain_form-members.html @@ -0,0 +1,100 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GainForm Member List
+
+
+ +

This is the complete list of members for GainForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
GainForm(wxWindow *parent, Gain *gain) (defined in GainForm)GainForm
GainFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Gain"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in GainFormBase)GainFormBase
GetButtonCancel() (defined in GainFormBase)GainFormBaseinline
GetButtonOK() (defined in GainFormBase)GainFormBaseinline
GetNotebook() (defined in GainFormBase)GainFormBaseinline
GetPanelGeneral() (defined in GainFormBase)GainFormBaseinline
GetStaticTextValue() (defined in GainFormBase)GainFormBaseinline
GetTextCtrlValue() (defined in GainFormBase)GainFormBaseinline
m_buttonCancel (defined in GainFormBase)GainFormBaseprotected
m_buttonOK (defined in GainFormBase)GainFormBaseprotected
m_gain (defined in GainForm)GainFormprotected
m_notebook (defined in GainFormBase)GainFormBaseprotected
m_panelGeneral (defined in GainFormBase)GainFormBaseprotected
m_parent (defined in GainForm)GainFormprotected
m_staticTextValue (defined in GainFormBase)GainFormBaseprotected
m_textCtrlValue (defined in GainFormBase)GainFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in GainForm)GainForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in GainForm)GainFormprotectedvirtual
ValidateData() (defined in GainForm)GainFormvirtual
~GainForm() (defined in GainForm)GainFormvirtual
~GainFormBase() (defined in GainFormBase)GainFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_gain_form.html b/docs/doxygen/html/class_gain_form.html new file mode 100644 index 0000000..7975bcc --- /dev/null +++ b/docs/doxygen/html/class_gain_form.html @@ -0,0 +1,163 @@ + + + + + + + +PSP-UFU: GainForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GainForm Class Reference
+
+
+
+Inheritance diagram for GainForm:
+
+
+ + +GainFormBase + +
+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

GainForm (wxWindow *parent, Gain *gain)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from GainFormBase
+wxStaticText * GetStaticTextValue ()
 
+wxTextCtrl * GetTextCtrlValue ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
GainFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Gain"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent
 
+Gainm_gain
 
- Protected Attributes inherited from GainFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextValue
 
+wxTextCtrl * m_textCtrlValue
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_gain_form.png b/docs/doxygen/html/class_gain_form.png new file mode 100644 index 0000000..de22221 Binary files /dev/null and b/docs/doxygen/html/class_gain_form.png differ diff --git a/docs/doxygen/html/class_gain_form_base-members.html b/docs/doxygen/html/class_gain_form_base-members.html new file mode 100644 index 0000000..1db0dc8 --- /dev/null +++ b/docs/doxygen/html/class_gain_form_base-members.html @@ -0,0 +1,95 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GainFormBase Member List
+
+
+ +

This is the complete list of members for GainFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + +
GainFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Gain"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in GainFormBase)GainFormBase
GetButtonCancel() (defined in GainFormBase)GainFormBaseinline
GetButtonOK() (defined in GainFormBase)GainFormBaseinline
GetNotebook() (defined in GainFormBase)GainFormBaseinline
GetPanelGeneral() (defined in GainFormBase)GainFormBaseinline
GetStaticTextValue() (defined in GainFormBase)GainFormBaseinline
GetTextCtrlValue() (defined in GainFormBase)GainFormBaseinline
m_buttonCancel (defined in GainFormBase)GainFormBaseprotected
m_buttonOK (defined in GainFormBase)GainFormBaseprotected
m_notebook (defined in GainFormBase)GainFormBaseprotected
m_panelGeneral (defined in GainFormBase)GainFormBaseprotected
m_staticTextValue (defined in GainFormBase)GainFormBaseprotected
m_textCtrlValue (defined in GainFormBase)GainFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in GainFormBase)GainFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in GainFormBase)GainFormBaseinlineprotectedvirtual
~GainFormBase() (defined in GainFormBase)GainFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_gain_form_base.html b/docs/doxygen/html/class_gain_form_base.html new file mode 100644 index 0000000..ce554a8 --- /dev/null +++ b/docs/doxygen/html/class_gain_form_base.html @@ -0,0 +1,149 @@ + + + + + + + +PSP-UFU: GainFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GainFormBase Class Reference
+
+
+
+Inheritance diagram for GainFormBase:
+
+
+ + +GainForm + +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextValue ()
 
+wxTextCtrl * GetTextCtrlValue ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
GainFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Gain"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextValue
 
+wxTextCtrl * m_textCtrlValue
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_gain_form_base.png b/docs/doxygen/html/class_gain_form_base.png new file mode 100644 index 0000000..5928809 Binary files /dev/null and b/docs/doxygen/html/class_gain_form_base.png differ diff --git a/docs/doxygen/html/class_general_properties_form-members.html b/docs/doxygen/html/class_general_properties_form-members.html new file mode 100644 index 0000000..0340b14 --- /dev/null +++ b/docs/doxygen/html/class_general_properties_form-members.html @@ -0,0 +1,103 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GeneralPropertiesForm Member List
+
+
+ +

This is the complete list of members for GeneralPropertiesForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + +
GeneralPropertiesForm(wxWindow *parent, PropertiesData *properties) (defined in GeneralPropertiesForm)GeneralPropertiesForm
GeneralPropertiesFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("General settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBase
GetButtonCancel() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetButtonOK() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetChoiceLanguage() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetChoiceTheme() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetNotebook() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetPanelGeneral() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetStaticTextLanguage() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetStaticTextTheme() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
m_buttonCancel (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_buttonOK (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_choiceLanguage (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_choiceTheme (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_notebook (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_panelGeneral (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_properties (defined in GeneralPropertiesForm)GeneralPropertiesFormprotected
m_staticTextLanguage (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_staticTextTheme (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
OnButtonCancelClick(wxCommandEvent &event) (defined in GeneralPropertiesForm)GeneralPropertiesForminlineprotectedvirtual
OnButtonOKClick(wxCommandEvent &event) (defined in GeneralPropertiesForm)GeneralPropertiesFormprotectedvirtual
ValidateData() (defined in GeneralPropertiesForm)GeneralPropertiesFormprotectedvirtual
~GeneralPropertiesForm() (defined in GeneralPropertiesForm)GeneralPropertiesFormvirtual
~GeneralPropertiesFormBase() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_general_properties_form.html b/docs/doxygen/html/class_general_properties_form.html new file mode 100644 index 0000000..85586ad --- /dev/null +++ b/docs/doxygen/html/class_general_properties_form.html @@ -0,0 +1,172 @@ + + + + + + + +PSP-UFU: GeneralPropertiesForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GeneralPropertiesForm Class Reference
+
+
+
+Inheritance diagram for GeneralPropertiesForm:
+
+
+ + +GeneralPropertiesFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

GeneralPropertiesForm (wxWindow *parent, PropertiesData *properties)
 
- Public Member Functions inherited from GeneralPropertiesFormBase
+wxStaticText * GetStaticTextLanguage ()
 
+wxChoice * GetChoiceLanguage ()
 
+wxStaticText * GetStaticTextTheme ()
 
+wxChoice * GetChoiceTheme ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
GeneralPropertiesFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("General settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnButtonCancelClick (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual bool ValidateData ()
 
+ + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+PropertiesDatam_properties = NULL
 
- Protected Attributes inherited from GeneralPropertiesFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextLanguage
 
+wxChoice * m_choiceLanguage
 
+wxStaticText * m_staticTextTheme
 
+wxChoice * m_choiceTheme
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_general_properties_form.png b/docs/doxygen/html/class_general_properties_form.png new file mode 100644 index 0000000..e42d240 Binary files /dev/null and b/docs/doxygen/html/class_general_properties_form.png differ diff --git a/docs/doxygen/html/class_general_properties_form_base-members.html b/docs/doxygen/html/class_general_properties_form_base-members.html new file mode 100644 index 0000000..e117944 --- /dev/null +++ b/docs/doxygen/html/class_general_properties_form_base-members.html @@ -0,0 +1,99 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GeneralPropertiesFormBase Member List
+
+
+ +

This is the complete list of members for GeneralPropertiesFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
GeneralPropertiesFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("General settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBase
GetButtonCancel() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetButtonOK() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetChoiceLanguage() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetChoiceTheme() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetNotebook() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetPanelGeneral() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetStaticTextLanguage() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
GetStaticTextTheme() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinline
m_buttonCancel (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_buttonOK (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_choiceLanguage (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_choiceTheme (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_notebook (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_panelGeneral (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_staticTextLanguage (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
m_staticTextTheme (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseprotected
OnButtonCancelClick(wxCommandEvent &event) (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinlineprotectedvirtual
OnButtonOKClick(wxCommandEvent &event) (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBaseinlineprotectedvirtual
~GeneralPropertiesFormBase() (defined in GeneralPropertiesFormBase)GeneralPropertiesFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_general_properties_form_base.html b/docs/doxygen/html/class_general_properties_form_base.html new file mode 100644 index 0000000..f144930 --- /dev/null +++ b/docs/doxygen/html/class_general_properties_form_base.html @@ -0,0 +1,161 @@ + + + + + + + +PSP-UFU: GeneralPropertiesFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GeneralPropertiesFormBase Class Reference
+
+
+
+Inheritance diagram for GeneralPropertiesFormBase:
+
+
+ + +GeneralPropertiesForm + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextLanguage ()
 
+wxChoice * GetChoiceLanguage ()
 
+wxStaticText * GetStaticTextTheme ()
 
+wxChoice * GetChoiceTheme ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
GeneralPropertiesFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("General settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual void OnButtonCancelClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextLanguage
 
+wxChoice * m_choiceLanguage
 
+wxStaticText * m_staticTextTheme
 
+wxChoice * m_choiceTheme
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_general_properties_form_base.png b/docs/doxygen/html/class_general_properties_form_base.png new file mode 100644 index 0000000..8fa209d Binary files /dev/null and b/docs/doxygen/html/class_general_properties_form_base.png differ diff --git a/docs/doxygen/html/class_generator_stab_form-members.html b/docs/doxygen/html/class_generator_stab_form-members.html new file mode 100644 index 0000000..a20f205 --- /dev/null +++ b/docs/doxygen/html/class_generator_stab_form-members.html @@ -0,0 +1,201 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GeneratorStabForm Member List
+
+
+ +

This is the complete list of members for GeneratorStabForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GeneratorStabForm(wxWindow *parent, SyncGenerator *syncGenerator) (defined in GeneratorStabForm)GeneratorStabForm
GeneratorStabFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator: Stability"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in GeneratorStabFormBase)GeneratorStabFormBase
GetButtonCancel() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonEditAVR() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonEditSG() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonOK() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonSwitching() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetCheckBoxPlotSyncMachine() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetCheckBoxUseAVR() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetCheckBoxUseSG() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticLine_1() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextDamping() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextInertia() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_1() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_10() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_2() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_3() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_4() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_5() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_6() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_7() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_8() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_9() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextRa() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_1() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_2() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_3() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_4() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_5() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSat() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSyncXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSyncXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextXp() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlDamping() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlInertia() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlRa() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSat() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSyncXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSyncXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlXp() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
m_ButtonCancel (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonEditAVR (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonEditSG (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonOK (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonSwitching (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_checkBoxPlotSyncMachine (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_checkBoxUseAVR (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_checkBoxUseSG (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_parent (defined in GeneratorStabForm)GeneratorStabFormprotected
m_staticLine_1 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextDamping (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextInertia (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_1 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_10 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_2 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_3 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_4 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_5 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_6 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_7 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_8 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_9 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextRa (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_1 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_2 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_3 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_4 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_5 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSat (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSyncXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSyncXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextXp (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_syncGenerator (defined in GeneratorStabForm)GeneratorStabFormprotected
m_textCtrlDamping (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlInertia (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlRa (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSat (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSyncXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSyncXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlXp (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
OnEditAVRButtonClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
OnSpeedGovernorButtonClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
OnSwitchingButtonClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
UseAVRClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
UseSGClick(wxCommandEvent &event) (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
ValidateData() (defined in GeneratorStabForm)GeneratorStabFormprotectedvirtual
~GeneratorStabForm() (defined in GeneratorStabForm)GeneratorStabFormvirtual
~GeneratorStabFormBase() (defined in GeneratorStabFormBase)GeneratorStabFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_generator_stab_form.html b/docs/doxygen/html/class_generator_stab_form.html new file mode 100644 index 0000000..f25ba9d --- /dev/null +++ b/docs/doxygen/html/class_generator_stab_form.html @@ -0,0 +1,466 @@ + + + + + + + +PSP-UFU: GeneratorStabForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GeneratorStabForm Class Reference
+
+
+
+Inheritance diagram for GeneratorStabForm:
+
+
+ + +GeneratorStabFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

GeneratorStabForm (wxWindow *parent, SyncGenerator *syncGenerator)
 
- Public Member Functions inherited from GeneratorStabFormBase
+wxCheckBox * GetCheckBoxPlotSyncMachine ()
 
+wxStaticText * GetStaticTextInertia ()
 
+wxTextCtrl * GetTextCtrlInertia ()
 
+wxStaticText * GetStaticTextS_1 ()
 
+wxStaticText * GetStaticTextDamping ()
 
+wxTextCtrl * GetTextCtrlDamping ()
 
+wxStaticText * GetStaticTextPU_1 ()
 
+wxCheckBox * GetCheckBoxUseAVR ()
 
+wxButton * GetButtonEditAVR ()
 
+wxCheckBox * GetCheckBoxUseSG ()
 
+wxButton * GetButtonEditSG ()
 
+wxStaticLine * GetStaticLine_1 ()
 
+wxStaticText * GetStaticTextRa ()
 
+wxTextCtrl * GetTextCtrlRa ()
 
+wxStaticText * GetStaticTextPU_2 ()
 
+wxStaticText * GetStaticTextXp ()
 
+wxTextCtrl * GetTextCtrlXp ()
 
+wxStaticText * GetStaticTextPU_9 ()
 
+wxStaticText * GetStaticTextSat ()
 
+wxTextCtrl * GetTextCtrlSat ()
 
+wxStaticText * GetStaticTextPU_10 ()
 
+wxStaticText * GetStaticTextSyncXd ()
 
+wxTextCtrl * GetTextCtrlSyncXd ()
 
+wxStaticText * GetStaticTextPU_3 ()
 
+wxStaticText * GetStaticTextSyncXq ()
 
+wxTextCtrl * GetTextCtrlSyncXq ()
 
+wxStaticText * GetStaticTextPU_4 ()
 
+wxStaticText * GetStaticTextTranXd ()
 
+wxTextCtrl * GetTextCtrlTranXd ()
 
+wxStaticText * GetStaticTextPU_5 ()
 
+wxStaticText * GetStaticTextTranXq ()
 
+wxTextCtrl * GetTextCtrlTranXq ()
 
+wxStaticText * GetStaticTextPU_6 ()
 
+wxStaticText * GetStaticTextTranTd0 ()
 
+wxTextCtrl * GetTextCtrlTranTd0 ()
 
+wxStaticText * GetStaticTextS_2 ()
 
+wxStaticText * GetStaticTextTranTq0 ()
 
+wxTextCtrl * GetTextCtrlTranTq0 ()
 
+wxStaticText * GetStaticTextS_3 ()
 
+wxStaticText * GetStaticTextSubXd ()
 
+wxTextCtrl * GetTextCtrlSubXd ()
 
+wxStaticText * GetStaticTextPU_7 ()
 
+wxStaticText * GetStaticTextSubXq ()
 
+wxTextCtrl * GetTextCtrlSubXq ()
 
+wxStaticText * GetStaticTextPU_8 ()
 
+wxStaticText * GetStaticTextSubTd0 ()
 
+wxTextCtrl * GetTextCtrlSubTd0 ()
 
+wxStaticText * GetStaticTextS_4 ()
 
+wxStaticText * GetStaticTextSubTq0 ()
 
+wxTextCtrl * GetTextCtrlSubTq0 ()
 
+wxStaticText * GetStaticTextS_5 ()
 
+wxButton * GetButtonSwitching ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
GeneratorStabFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator: Stability"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void UseAVRClick (wxCommandEvent &event)
 
+virtual void UseSGClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnEditAVRButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnSpeedGovernorButtonClick (wxCommandEvent &event)
 
+virtual void OnSwitchingButtonClick (wxCommandEvent &event)
 
+virtual bool ValidateData ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+SyncGeneratorm_syncGenerator = NULL
 
+wxWindow * m_parent = NULL
 
- Protected Attributes inherited from GeneratorStabFormBase
+wxCheckBox * m_checkBoxPlotSyncMachine
 
+wxStaticText * m_staticTextInertia
 
+wxTextCtrl * m_textCtrlInertia
 
+wxStaticText * m_staticTextS_1
 
+wxStaticText * m_staticTextDamping
 
+wxTextCtrl * m_textCtrlDamping
 
+wxStaticText * m_staticTextPU_1
 
+wxCheckBox * m_checkBoxUseAVR
 
+wxButton * m_buttonEditAVR
 
+wxCheckBox * m_checkBoxUseSG
 
+wxButton * m_buttonEditSG
 
+wxStaticLine * m_staticLine_1
 
+wxStaticText * m_staticTextRa
 
+wxTextCtrl * m_textCtrlRa
 
+wxStaticText * m_staticTextPU_2
 
+wxStaticText * m_staticTextXp
 
+wxTextCtrl * m_textCtrlXp
 
+wxStaticText * m_staticTextPU_9
 
+wxStaticText * m_staticTextSat
 
+wxTextCtrl * m_textCtrlSat
 
+wxStaticText * m_staticTextPU_10
 
+wxStaticText * m_staticTextSyncXd
 
+wxTextCtrl * m_textCtrlSyncXd
 
+wxStaticText * m_staticTextPU_3
 
+wxStaticText * m_staticTextSyncXq
 
+wxTextCtrl * m_textCtrlSyncXq
 
+wxStaticText * m_staticTextPU_4
 
+wxStaticText * m_staticTextTranXd
 
+wxTextCtrl * m_textCtrlTranXd
 
+wxStaticText * m_staticTextPU_5
 
+wxStaticText * m_staticTextTranXq
 
+wxTextCtrl * m_textCtrlTranXq
 
+wxStaticText * m_staticTextPU_6
 
+wxStaticText * m_staticTextTranTd0
 
+wxTextCtrl * m_textCtrlTranTd0
 
+wxStaticText * m_staticTextS_2
 
+wxStaticText * m_staticTextTranTq0
 
+wxTextCtrl * m_textCtrlTranTq0
 
+wxStaticText * m_staticTextS_3
 
+wxStaticText * m_staticTextSubXd
 
+wxTextCtrl * m_textCtrlSubXd
 
+wxStaticText * m_staticTextPU_7
 
+wxStaticText * m_staticTextSubXq
 
+wxTextCtrl * m_textCtrlSubXq
 
+wxStaticText * m_staticTextPU_8
 
+wxStaticText * m_staticTextSubTd0
 
+wxTextCtrl * m_textCtrlSubTd0
 
+wxStaticText * m_staticTextS_4
 
+wxStaticText * m_staticTextSubTq0
 
+wxTextCtrl * m_textCtrlSubTq0
 
+wxStaticText * m_staticTextS_5
 
+wxButton * m_buttonSwitching
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_generator_stab_form.png b/docs/doxygen/html/class_generator_stab_form.png new file mode 100644 index 0000000..73b5735 Binary files /dev/null and b/docs/doxygen/html/class_generator_stab_form.png differ diff --git a/docs/doxygen/html/class_generator_stab_form_base-members.html b/docs/doxygen/html/class_generator_stab_form_base-members.html new file mode 100644 index 0000000..acd6bcd --- /dev/null +++ b/docs/doxygen/html/class_generator_stab_form_base-members.html @@ -0,0 +1,196 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GeneratorStabFormBase Member List
+
+
+ +

This is the complete list of members for GeneratorStabFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GeneratorStabFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator: Stability"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in GeneratorStabFormBase)GeneratorStabFormBase
GetButtonCancel() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonEditAVR() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonEditSG() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonOK() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetButtonSwitching() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetCheckBoxPlotSyncMachine() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetCheckBoxUseAVR() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetCheckBoxUseSG() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticLine_1() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextDamping() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextInertia() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_1() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_10() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_2() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_3() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_4() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_5() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_6() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_7() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_8() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextPU_9() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextRa() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_1() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_2() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_3() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_4() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextS_5() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSat() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSubXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSyncXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextSyncXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextTranXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetStaticTextXp() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlDamping() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlInertia() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlRa() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSat() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSubXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSyncXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlSyncXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranTd0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranTq0() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranXd() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlTranXq() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
GetTextCtrlXp() (defined in GeneratorStabFormBase)GeneratorStabFormBaseinline
m_ButtonCancel (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonEditAVR (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonEditSG (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonOK (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_buttonSwitching (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_checkBoxPlotSyncMachine (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_checkBoxUseAVR (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_checkBoxUseSG (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticLine_1 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextDamping (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextInertia (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_1 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_10 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_2 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_3 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_4 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_5 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_6 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_7 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_8 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextPU_9 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextRa (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_1 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_2 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_3 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_4 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextS_5 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSat (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSubXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSyncXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextSyncXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextTranXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_staticTextXp (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlDamping (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlInertia (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlRa (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSat (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSubXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSyncXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlSyncXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranTd0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranTq0 (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranXd (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlTranXq (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
m_textCtrlXp (defined in GeneratorStabFormBase)GeneratorStabFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
OnEditAVRButtonClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
OnSpeedGovernorButtonClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
OnSwitchingButtonClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
UseAVRClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
UseSGClick(wxCommandEvent &event) (defined in GeneratorStabFormBase)GeneratorStabFormBaseinlineprotectedvirtual
~GeneratorStabFormBase() (defined in GeneratorStabFormBase)GeneratorStabFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_generator_stab_form_base.html b/docs/doxygen/html/class_generator_stab_form_base.html new file mode 100644 index 0000000..e4f4a7d --- /dev/null +++ b/docs/doxygen/html/class_generator_stab_form_base.html @@ -0,0 +1,452 @@ + + + + + + + +PSP-UFU: GeneratorStabFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GeneratorStabFormBase Class Reference
+
+
+
+Inheritance diagram for GeneratorStabFormBase:
+
+
+ + +GeneratorStabForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxCheckBox * GetCheckBoxPlotSyncMachine ()
 
+wxStaticText * GetStaticTextInertia ()
 
+wxTextCtrl * GetTextCtrlInertia ()
 
+wxStaticText * GetStaticTextS_1 ()
 
+wxStaticText * GetStaticTextDamping ()
 
+wxTextCtrl * GetTextCtrlDamping ()
 
+wxStaticText * GetStaticTextPU_1 ()
 
+wxCheckBox * GetCheckBoxUseAVR ()
 
+wxButton * GetButtonEditAVR ()
 
+wxCheckBox * GetCheckBoxUseSG ()
 
+wxButton * GetButtonEditSG ()
 
+wxStaticLine * GetStaticLine_1 ()
 
+wxStaticText * GetStaticTextRa ()
 
+wxTextCtrl * GetTextCtrlRa ()
 
+wxStaticText * GetStaticTextPU_2 ()
 
+wxStaticText * GetStaticTextXp ()
 
+wxTextCtrl * GetTextCtrlXp ()
 
+wxStaticText * GetStaticTextPU_9 ()
 
+wxStaticText * GetStaticTextSat ()
 
+wxTextCtrl * GetTextCtrlSat ()
 
+wxStaticText * GetStaticTextPU_10 ()
 
+wxStaticText * GetStaticTextSyncXd ()
 
+wxTextCtrl * GetTextCtrlSyncXd ()
 
+wxStaticText * GetStaticTextPU_3 ()
 
+wxStaticText * GetStaticTextSyncXq ()
 
+wxTextCtrl * GetTextCtrlSyncXq ()
 
+wxStaticText * GetStaticTextPU_4 ()
 
+wxStaticText * GetStaticTextTranXd ()
 
+wxTextCtrl * GetTextCtrlTranXd ()
 
+wxStaticText * GetStaticTextPU_5 ()
 
+wxStaticText * GetStaticTextTranXq ()
 
+wxTextCtrl * GetTextCtrlTranXq ()
 
+wxStaticText * GetStaticTextPU_6 ()
 
+wxStaticText * GetStaticTextTranTd0 ()
 
+wxTextCtrl * GetTextCtrlTranTd0 ()
 
+wxStaticText * GetStaticTextS_2 ()
 
+wxStaticText * GetStaticTextTranTq0 ()
 
+wxTextCtrl * GetTextCtrlTranTq0 ()
 
+wxStaticText * GetStaticTextS_3 ()
 
+wxStaticText * GetStaticTextSubXd ()
 
+wxTextCtrl * GetTextCtrlSubXd ()
 
+wxStaticText * GetStaticTextPU_7 ()
 
+wxStaticText * GetStaticTextSubXq ()
 
+wxTextCtrl * GetTextCtrlSubXq ()
 
+wxStaticText * GetStaticTextPU_8 ()
 
+wxStaticText * GetStaticTextSubTd0 ()
 
+wxTextCtrl * GetTextCtrlSubTd0 ()
 
+wxStaticText * GetStaticTextS_4 ()
 
+wxStaticText * GetStaticTextSubTq0 ()
 
+wxTextCtrl * GetTextCtrlSubTq0 ()
 
+wxStaticText * GetStaticTextS_5 ()
 
+wxButton * GetButtonSwitching ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
GeneratorStabFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator: Stability"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void UseAVRClick (wxCommandEvent &event)
 
+virtual void OnEditAVRButtonClick (wxCommandEvent &event)
 
+virtual void UseSGClick (wxCommandEvent &event)
 
+virtual void OnSpeedGovernorButtonClick (wxCommandEvent &event)
 
+virtual void OnSwitchingButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxCheckBox * m_checkBoxPlotSyncMachine
 
+wxStaticText * m_staticTextInertia
 
+wxTextCtrl * m_textCtrlInertia
 
+wxStaticText * m_staticTextS_1
 
+wxStaticText * m_staticTextDamping
 
+wxTextCtrl * m_textCtrlDamping
 
+wxStaticText * m_staticTextPU_1
 
+wxCheckBox * m_checkBoxUseAVR
 
+wxButton * m_buttonEditAVR
 
+wxCheckBox * m_checkBoxUseSG
 
+wxButton * m_buttonEditSG
 
+wxStaticLine * m_staticLine_1
 
+wxStaticText * m_staticTextRa
 
+wxTextCtrl * m_textCtrlRa
 
+wxStaticText * m_staticTextPU_2
 
+wxStaticText * m_staticTextXp
 
+wxTextCtrl * m_textCtrlXp
 
+wxStaticText * m_staticTextPU_9
 
+wxStaticText * m_staticTextSat
 
+wxTextCtrl * m_textCtrlSat
 
+wxStaticText * m_staticTextPU_10
 
+wxStaticText * m_staticTextSyncXd
 
+wxTextCtrl * m_textCtrlSyncXd
 
+wxStaticText * m_staticTextPU_3
 
+wxStaticText * m_staticTextSyncXq
 
+wxTextCtrl * m_textCtrlSyncXq
 
+wxStaticText * m_staticTextPU_4
 
+wxStaticText * m_staticTextTranXd
 
+wxTextCtrl * m_textCtrlTranXd
 
+wxStaticText * m_staticTextPU_5
 
+wxStaticText * m_staticTextTranXq
 
+wxTextCtrl * m_textCtrlTranXq
 
+wxStaticText * m_staticTextPU_6
 
+wxStaticText * m_staticTextTranTd0
 
+wxTextCtrl * m_textCtrlTranTd0
 
+wxStaticText * m_staticTextS_2
 
+wxStaticText * m_staticTextTranTq0
 
+wxTextCtrl * m_textCtrlTranTq0
 
+wxStaticText * m_staticTextS_3
 
+wxStaticText * m_staticTextSubXd
 
+wxTextCtrl * m_textCtrlSubXd
 
+wxStaticText * m_staticTextPU_7
 
+wxStaticText * m_staticTextSubXq
 
+wxTextCtrl * m_textCtrlSubXq
 
+wxStaticText * m_staticTextPU_8
 
+wxStaticText * m_staticTextSubTd0
 
+wxTextCtrl * m_textCtrlSubTd0
 
+wxStaticText * m_staticTextS_4
 
+wxStaticText * m_staticTextSubTq0
 
+wxTextCtrl * m_textCtrlSubTq0
 
+wxStaticText * m_staticTextS_5
 
+wxButton * m_buttonSwitching
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_generator_stab_form_base.png b/docs/doxygen/html/class_generator_stab_form_base.png new file mode 100644 index 0000000..493395e Binary files /dev/null and b/docs/doxygen/html/class_generator_stab_form_base.png differ diff --git a/docs/doxygen/html/class_graphical_element-members.html b/docs/doxygen/html/class_graphical_element-members.html new file mode 100644 index 0000000..04104d6 --- /dev/null +++ b/docs/doxygen/html/class_graphical_element-members.html @@ -0,0 +1,177 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GraphicalElement Member List
+
+
+ +

This is the complete list of members for GraphicalElement, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) const =0Elementpure virtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constElementinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetWidth() constElementinline
GraphicalElement() (defined in GraphicalElement)GraphicalElement
Intersects(wxRect2DDouble rect) const =0Elementpure virtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_online (defined in Element)Elementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Elementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Elementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~GraphicalElement() (defined in GraphicalElement)GraphicalElement
+ + + + diff --git a/docs/doxygen/html/class_graphical_element.html b/docs/doxygen/html/class_graphical_element.html new file mode 100644 index 0000000..9cbc364 --- /dev/null +++ b/docs/doxygen/html/class_graphical_element.html @@ -0,0 +1,392 @@ + + + + + + + +PSP-UFU: GraphicalElement Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GraphicalElement Class Reference
+
+
+
+Inheritance diagram for GraphicalElement:
+
+
+ + +Element +Text + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const =0
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const =0
 Check if the element's rect intersects other rect. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_graphical_element.png b/docs/doxygen/html/class_graphical_element.png new file mode 100644 index 0000000..63ab3d3 Binary files /dev/null and b/docs/doxygen/html/class_graphical_element.png differ diff --git a/docs/doxygen/html/class_i_o_control-members.html b/docs/doxygen/html/class_i_o_control-members.html new file mode 100644 index 0000000..43768aa --- /dev/null +++ b/docs/doxygen/html/class_i_o_control-members.html @@ -0,0 +1,210 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IOControl Member List
+
+
+ +

This is the complete list of members for IOControl, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constIOControlinlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constIOControlvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GenerateText() (defined in IOControl)IOControlvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()IOControlvirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetIOFlags() const (defined in IOControl)IOControlinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetType() (defined in IOControl)IOControlinlinevirtual
GetValue() const (defined in IOControl)IOControlinlinevirtual
GetWidth() constElementinline
IN_ACTIVE_POWER enum value (defined in IOControl)IOControl
IN_REACTIVE_POWER enum value (defined in IOControl)IOControl
IN_TERMINAL_VOLTAGE enum value (defined in IOControl)IOControl
IN_VELOCITY enum value (defined in IOControl)IOControl
Intersects(wxRect2DDouble rect) constIOControlinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IOControl(int ioFlags, int id) (defined in IOControl)IOControl
IOFlags enum name (defined in IOControl)IOControl
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_fontSize (defined in IOControl)IOControlprotected
m_glStringValue (defined in IOControl)IOControlprotected
m_height (defined in Element)Elementprotected
m_ioFlags (defined in IOControl)IOControlprotected
m_ioNodeType (defined in IOControl)IOControlprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_value (defined in IOControl)IOControlprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
OUT_FIELD_VOLTAGE enum value (defined in IOControl)IOControl
OUT_MEC_POWER enum value (defined in IOControl)IOControl
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)IOControlvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetValue(IOFlags value) (defined in IOControl)IOControlvirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)IOControlvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in ControlElement)ControlElementvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in IOControl)IOControlvirtual
UpdateText() (defined in IOControl)IOControlinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~IOControl() (defined in IOControl)IOControl
+ + + + diff --git a/docs/doxygen/html/class_i_o_control.html b/docs/doxygen/html/class_i_o_control.html new file mode 100644 index 0000000..c362d97 --- /dev/null +++ b/docs/doxygen/html/class_i_o_control.html @@ -0,0 +1,729 @@ + + + + + + + +PSP-UFU: IOControl Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IOControl Class Reference
+
+
+
+Inheritance diagram for IOControl:
+
+
+ + +ControlElement +Element + +
+ + + + +

+Public Types

enum  IOFlags {
+  IN_TERMINAL_VOLTAGE = 1 << 0, +IN_VELOCITY = 1 << 1, +IN_ACTIVE_POWER = 1 << 2, +IN_REACTIVE_POWER = 1 << 3, +
+  OUT_FIELD_VOLTAGE = 1 << 4, +OUT_MEC_POWER = 1 << 5 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

IOControl (int ioFlags, int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual void UpdateText ()
 
+virtual wxString GenerateText ()
 
+virtual void UpdatePoints ()
 
+virtual IOFlags GetValue () const
 
+virtual void SetValue (IOFlags value)
 
+virtual int GetIOFlags () const
 
+virtual Node::NodeType GetType ()
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual bool Solve (double input, double timeStep)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+IOFlags m_value
 
+int m_ioFlags
 
+Node::NodeType m_ioNodeType = Node::NODE_IN
 
+wxGLStringm_glStringValue = NULL
 
+int m_fontSize = 10
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool IOControl::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void IOControl::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * IOControl::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool IOControl::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void IOControl::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool IOControl::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_i_o_control.png b/docs/doxygen/html/class_i_o_control.png new file mode 100644 index 0000000..b572629 Binary files /dev/null and b/docs/doxygen/html/class_i_o_control.png differ diff --git a/docs/doxygen/html/class_i_o_control_form-members.html b/docs/doxygen/html/class_i_o_control_form-members.html new file mode 100644 index 0000000..9107799 --- /dev/null +++ b/docs/doxygen/html/class_i_o_control_form-members.html @@ -0,0 +1,108 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IOControlForm Member List
+
+
+ +

This is the complete list of members for IOControlForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in IOControlFormBase)IOControlFormBaseinline
GetButtonOK() (defined in IOControlFormBase)IOControlFormBaseinline
GetCheckBoxInput() (defined in IOControlFormBase)IOControlFormBaseinline
GetCheckBoxOutput() (defined in IOControlFormBase)IOControlFormBaseinline
GetChoiceInput() (defined in IOControlFormBase)IOControlFormBaseinline
GetChoiceOutput() (defined in IOControlFormBase)IOControlFormBaseinline
GetNotebook() (defined in IOControlFormBase)IOControlFormBaseinline
GetPanelGeneral() (defined in IOControlFormBase)IOControlFormBaseinline
IOControlForm(wxWindow *parent, IOControl *ioControl) (defined in IOControlForm)IOControlForm
IOControlFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Input / Output"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in IOControlFormBase)IOControlFormBase
m_ButtonCancel (defined in IOControlFormBase)IOControlFormBaseprotected
m_buttonOK (defined in IOControlFormBase)IOControlFormBaseprotected
m_checkBoxInput (defined in IOControlFormBase)IOControlFormBaseprotected
m_checkBoxOutput (defined in IOControlFormBase)IOControlFormBaseprotected
m_choiceInput (defined in IOControlFormBase)IOControlFormBaseprotected
m_choiceOutput (defined in IOControlFormBase)IOControlFormBaseprotected
m_inputFlags (defined in IOControlForm)IOControlFormprotected
m_ioControl (defined in IOControlForm)IOControlFormprotected
m_notebook (defined in IOControlFormBase)IOControlFormBaseprotected
m_outputFlags (defined in IOControlForm)IOControlFormprotected
m_panelGeneral (defined in IOControlFormBase)IOControlFormBaseprotected
m_parent (defined in IOControlForm)IOControlFormprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in IOControlForm)IOControlForminlineprotectedvirtual
OnInputChecked(wxCommandEvent &event) (defined in IOControlForm)IOControlFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in IOControlForm)IOControlFormprotectedvirtual
OnOutputChecked(wxCommandEvent &event) (defined in IOControlForm)IOControlFormprotectedvirtual
ValidateData() (defined in IOControlForm)IOControlFormvirtual
~IOControlForm() (defined in IOControlForm)IOControlFormvirtual
~IOControlFormBase() (defined in IOControlFormBase)IOControlFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_i_o_control_form.html b/docs/doxygen/html/class_i_o_control_form.html new file mode 100644 index 0000000..37c01a0 --- /dev/null +++ b/docs/doxygen/html/class_i_o_control_form.html @@ -0,0 +1,187 @@ + + + + + + + +PSP-UFU: IOControlForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IOControlForm Class Reference
+
+
+
+Inheritance diagram for IOControlForm:
+
+
+ + +IOControlFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

IOControlForm (wxWindow *parent, IOControl *ioControl)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from IOControlFormBase
+wxCheckBox * GetCheckBoxInput ()
 
+wxChoice * GetChoiceInput ()
 
+wxCheckBox * GetCheckBoxOutput ()
 
+wxChoice * GetChoiceOutput ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
IOControlFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Input / Output"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + +

+Protected Member Functions

+virtual void OnInputChecked (wxCommandEvent &event)
 
+virtual void OnOutputChecked (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent
 
+IOControlm_ioControl
 
+std::vector< IOControl::IOFlags > m_inputFlags
 
+std::vector< IOControl::IOFlags > m_outputFlags
 
- Protected Attributes inherited from IOControlFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxCheckBox * m_checkBoxInput
 
+wxChoice * m_choiceInput
 
+wxCheckBox * m_checkBoxOutput
 
+wxChoice * m_choiceOutput
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_i_o_control_form.png b/docs/doxygen/html/class_i_o_control_form.png new file mode 100644 index 0000000..f256615 Binary files /dev/null and b/docs/doxygen/html/class_i_o_control_form.png differ diff --git a/docs/doxygen/html/class_i_o_control_form_base-members.html b/docs/doxygen/html/class_i_o_control_form_base-members.html new file mode 100644 index 0000000..d60b51a --- /dev/null +++ b/docs/doxygen/html/class_i_o_control_form_base-members.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IOControlFormBase Member List
+
+
+ +

This is the complete list of members for IOControlFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in IOControlFormBase)IOControlFormBaseinline
GetButtonOK() (defined in IOControlFormBase)IOControlFormBaseinline
GetCheckBoxInput() (defined in IOControlFormBase)IOControlFormBaseinline
GetCheckBoxOutput() (defined in IOControlFormBase)IOControlFormBaseinline
GetChoiceInput() (defined in IOControlFormBase)IOControlFormBaseinline
GetChoiceOutput() (defined in IOControlFormBase)IOControlFormBaseinline
GetNotebook() (defined in IOControlFormBase)IOControlFormBaseinline
GetPanelGeneral() (defined in IOControlFormBase)IOControlFormBaseinline
IOControlFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Input / Output"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in IOControlFormBase)IOControlFormBase
m_ButtonCancel (defined in IOControlFormBase)IOControlFormBaseprotected
m_buttonOK (defined in IOControlFormBase)IOControlFormBaseprotected
m_checkBoxInput (defined in IOControlFormBase)IOControlFormBaseprotected
m_checkBoxOutput (defined in IOControlFormBase)IOControlFormBaseprotected
m_choiceInput (defined in IOControlFormBase)IOControlFormBaseprotected
m_choiceOutput (defined in IOControlFormBase)IOControlFormBaseprotected
m_notebook (defined in IOControlFormBase)IOControlFormBaseprotected
m_panelGeneral (defined in IOControlFormBase)IOControlFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in IOControlFormBase)IOControlFormBaseinlineprotectedvirtual
OnInputChecked(wxCommandEvent &event) (defined in IOControlFormBase)IOControlFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in IOControlFormBase)IOControlFormBaseinlineprotectedvirtual
OnOutputChecked(wxCommandEvent &event) (defined in IOControlFormBase)IOControlFormBaseinlineprotectedvirtual
~IOControlFormBase() (defined in IOControlFormBase)IOControlFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_i_o_control_form_base.html b/docs/doxygen/html/class_i_o_control_form_base.html new file mode 100644 index 0000000..e34a68e --- /dev/null +++ b/docs/doxygen/html/class_i_o_control_form_base.html @@ -0,0 +1,167 @@ + + + + + + + +PSP-UFU: IOControlFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IOControlFormBase Class Reference
+
+
+
+Inheritance diagram for IOControlFormBase:
+
+
+ + +IOControlForm + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxCheckBox * GetCheckBoxInput ()
 
+wxChoice * GetChoiceInput ()
 
+wxCheckBox * GetCheckBoxOutput ()
 
+wxChoice * GetChoiceOutput ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
IOControlFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Input / Output"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + +

+Protected Member Functions

+virtual void OnInputChecked (wxCommandEvent &event)
 
+virtual void OnOutputChecked (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxCheckBox * m_checkBoxInput
 
+wxChoice * m_choiceInput
 
+wxCheckBox * m_checkBoxOutput
 
+wxChoice * m_choiceOutput
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_i_o_control_form_base.png b/docs/doxygen/html/class_i_o_control_form_base.png new file mode 100644 index 0000000..979c57e Binary files /dev/null and b/docs/doxygen/html/class_i_o_control_form_base.png differ diff --git a/docs/doxygen/html/class_ind_motor-members.html b/docs/doxygen/html/class_ind_motor-members.html new file mode 100644 index 0000000..476d3f0 --- /dev/null +++ b/docs/doxygen/html/class_ind_motor-members.html @@ -0,0 +1,222 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IndMotor Member List
+
+
+ +

This is the complete list of members for IndMotor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Machinesvirtual
PowerElement::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constMachinesinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constMachinesvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawSymbol() const (defined in IndMotor)IndMotorvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)IndMotorvirtual
GetCopy()IndMotorvirtual
GetElectricalData() (defined in IndMotor)IndMotorinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemPowerBase) (defined in IndMotor)IndMotorvirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constIndMotorvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
IndMotor() (defined in IndMotor)IndMotor
IndMotor(wxString name) (defined in IndMotor)IndMotor
Intersects(wxRect2DDouble rect) constMachinesinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in IndMotor)IndMotorprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Machines)Machinesprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Machines() (defined in Machines)Machines
Move(wxPoint2DDouble position)Machinesvirtual
MoveNode(Element *element, wxPoint2DDouble position)Machinesvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Machinesvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Machinesvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Machinesvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Machinesvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(IndMotorElectricalData electricalData) (defined in IndMotor)IndMotorinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Machinesvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)Machinesvirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)IndMotorvirtual
ShowPickbox(bool showPickbox=true)Elementinline
SM_MODEL_1 enum value (defined in Machines)Machines
SM_MODEL_2 enum value (defined in Machines)Machines
SM_MODEL_3 enum value (defined in Machines)Machines
SM_MODEL_4 enum value (defined in Machines)Machines
SM_MODEL_5 enum value (defined in Machines)Machines
StartMove(wxPoint2DDouble position)Machinesvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
SyncMachineModel enum name (defined in Machines)Machines
UpdateNodes()Machinesvirtual
UpdatePowerFlowArrowsPosition() (defined in Machines)Machinesprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Machines)Machinesprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~IndMotor() (defined in IndMotor)IndMotor
~Machines() (defined in Machines)Machines
~PowerElement()PowerElement
+ + + + diff --git a/docs/doxygen/html/class_ind_motor.html b/docs/doxygen/html/class_ind_motor.html new file mode 100644 index 0000000..310fcf3 --- /dev/null +++ b/docs/doxygen/html/class_ind_motor.html @@ -0,0 +1,679 @@ + + + + + + + +PSP-UFU: IndMotor Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IndMotor Class Reference
+
+
+
+Inheritance diagram for IndMotor:
+
+
+ + +Machines +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

IndMotor (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
+virtual void DrawSymbol () const
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
+virtual IndMotorElectricalData GetElectricalData ()
 
+virtual IndMotorElectricalData GetPUElectricalData (double systemPowerBase)
 
+virtual void SetElectricalData (IndMotorElectricalData electricalData)
 
- Public Member Functions inherited from Machines
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+IndMotorElectricalData m_electricalData
 
- Protected Attributes inherited from Machines
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from Machines
enum  SyncMachineModel {
+  SM_MODEL_1 = 0, +SM_MODEL_2, +SM_MODEL_3, +SM_MODEL_4, +
+  SM_MODEL_5 +
+ }
 
- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Member Functions inherited from Machines
+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+

Member Function Documentation

+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool IndMotor::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * IndMotor::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString IndMotor::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool IndMotor::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_ind_motor.png b/docs/doxygen/html/class_ind_motor.png new file mode 100644 index 0000000..40eeb0b Binary files /dev/null and b/docs/doxygen/html/class_ind_motor.png differ diff --git a/docs/doxygen/html/class_ind_motor_form-members.html b/docs/doxygen/html/class_ind_motor_form-members.html new file mode 100644 index 0000000..ba51977 --- /dev/null +++ b/docs/doxygen/html/class_ind_motor_form-members.html @@ -0,0 +1,115 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IndMotorForm Member List
+
+
+ +

This is the complete list of members for IndMotorForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetButtonOK() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetButtonStabButton() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetChoiceActivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetChoiceReactivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetNotebook() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetPanelGeneral() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetStaticTextActivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetStaticTextName() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetStaticTextReactivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetTextCtrlActivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetTextCtrlName() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetTextCtrlReactivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
IndMotorForm(wxWindow *parent, IndMotor *indMotor) (defined in IndMotorForm)IndMotorForm
IndMotorFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Motor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in IndMotorFormBase)IndMotorFormBase
m_ButtonCancel (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_buttonOK (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_buttonStabButton (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_choiceActivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_choiceReactivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_indMotor (defined in IndMotorForm)IndMotorFormprotected
m_notebook (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_panelGeneral (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_parent (defined in IndMotorForm)IndMotorFormprotected
m_staticTextActivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_staticTextName (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_staticTextReactivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_textCtrlActivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_textCtrlName (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_textCtrlReactivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in IndMotorForm)IndMotorForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in IndMotorForm)IndMotorFormprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in IndMotorForm)IndMotorFormprotectedvirtual
ValidateData() (defined in IndMotorForm)IndMotorFormvirtual
~IndMotorForm() (defined in IndMotorForm)IndMotorFormvirtual
~IndMotorFormBase() (defined in IndMotorFormBase)IndMotorFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_ind_motor_form.html b/docs/doxygen/html/class_ind_motor_form.html new file mode 100644 index 0000000..c3b0efa --- /dev/null +++ b/docs/doxygen/html/class_ind_motor_form.html @@ -0,0 +1,208 @@ + + + + + + + +PSP-UFU: IndMotorForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IndMotorForm Class Reference
+
+
+
+Inheritance diagram for IndMotorForm:
+
+
+ + +IndMotorFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

IndMotorForm (wxWindow *parent, IndMotor *indMotor)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from IndMotorFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextActivePower ()
 
+wxTextCtrl * GetTextCtrlActivePower ()
 
+wxChoice * GetChoiceActivePower ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStabButton ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
IndMotorFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Motor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+IndMotorm_indMotor = NULL
 
- Protected Attributes inherited from IndMotorFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextActivePower
 
+wxTextCtrl * m_textCtrlActivePower
 
+wxChoice * m_choiceActivePower
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxButton * m_buttonStabButton
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_ind_motor_form.png b/docs/doxygen/html/class_ind_motor_form.png new file mode 100644 index 0000000..2eb79c4 Binary files /dev/null and b/docs/doxygen/html/class_ind_motor_form.png differ diff --git a/docs/doxygen/html/class_ind_motor_form_base-members.html b/docs/doxygen/html/class_ind_motor_form_base-members.html new file mode 100644 index 0000000..2e32f8d --- /dev/null +++ b/docs/doxygen/html/class_ind_motor_form_base-members.html @@ -0,0 +1,110 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IndMotorFormBase Member List
+
+
+ +

This is the complete list of members for IndMotorFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetButtonOK() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetButtonStabButton() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetChoiceActivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetChoiceReactivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetNotebook() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetPanelGeneral() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetStaticTextActivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetStaticTextName() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetStaticTextReactivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetTextCtrlActivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetTextCtrlName() (defined in IndMotorFormBase)IndMotorFormBaseinline
GetTextCtrlReactivePower() (defined in IndMotorFormBase)IndMotorFormBaseinline
IndMotorFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Motor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in IndMotorFormBase)IndMotorFormBase
m_ButtonCancel (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_buttonOK (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_buttonStabButton (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_choiceActivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_choiceReactivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_notebook (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_panelGeneral (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_staticTextActivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_staticTextName (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_staticTextReactivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_textCtrlActivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_textCtrlName (defined in IndMotorFormBase)IndMotorFormBaseprotected
m_textCtrlReactivePower (defined in IndMotorFormBase)IndMotorFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in IndMotorFormBase)IndMotorFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in IndMotorFormBase)IndMotorFormBaseinlineprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in IndMotorFormBase)IndMotorFormBaseinlineprotectedvirtual
~IndMotorFormBase() (defined in IndMotorFormBase)IndMotorFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_ind_motor_form_base.html b/docs/doxygen/html/class_ind_motor_form_base.html new file mode 100644 index 0000000..bc97a25 --- /dev/null +++ b/docs/doxygen/html/class_ind_motor_form_base.html @@ -0,0 +1,194 @@ + + + + + + + +PSP-UFU: IndMotorFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IndMotorFormBase Class Reference
+
+
+
+Inheritance diagram for IndMotorFormBase:
+
+
+ + +IndMotorForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextActivePower ()
 
+wxTextCtrl * GetTextCtrlActivePower ()
 
+wxChoice * GetChoiceActivePower ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStabButton ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
IndMotorFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Motor"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextActivePower
 
+wxTextCtrl * m_textCtrlActivePower
 
+wxChoice * m_choiceActivePower
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxButton * m_buttonStabButton
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_ind_motor_form_base.png b/docs/doxygen/html/class_ind_motor_form_base.png new file mode 100644 index 0000000..1be5af4 Binary files /dev/null and b/docs/doxygen/html/class_ind_motor_form_base.png differ diff --git a/docs/doxygen/html/class_inductor-members.html b/docs/doxygen/html/class_inductor-members.html new file mode 100644 index 0000000..9270ec5 --- /dev/null +++ b/docs/doxygen/html/class_inductor-members.html @@ -0,0 +1,216 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Inductor Member List
+
+
+ +

This is the complete list of members for Inductor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Inductorvirtual
Shunt::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constInductorvirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constInductorvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawGround(wxPoint2DDouble position) const (defined in Shunt)Shuntprotected
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Inductorvirtual
GetCopy()Inductorvirtual
GetElectricalData() (defined in Inductor)Inductorinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemPowerBase) (defined in Inductor)Inductorvirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constInductorvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Inductor() (defined in Inductor)Inductor
Inductor(wxString name) (defined in Inductor)Inductor
Intersects(wxRect2DDouble rect) constInductorvirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in Inductor)Inductorprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Shunt)Shuntprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Shuntvirtual
MoveNode(Element *element, wxPoint2DDouble position)Shuntvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Shuntvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Shuntvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Inductorvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Shuntvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(InductorElectricalData electricalData) (defined in Inductor)Inductorinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Shuntvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Inductorvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Shunt() (defined in Shunt)Shunt
StartMove(wxPoint2DDouble position)Shuntvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Shuntvirtual
UpdatePowerFlowArrowsPosition() (defined in Shunt)Shuntprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Shunt)Shuntprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~Inductor() (defined in Inductor)Inductor
~PowerElement()PowerElement
~Shunt() (defined in Shunt)Shunt
+ + + + diff --git a/docs/doxygen/html/class_inductor.html b/docs/doxygen/html/class_inductor.html new file mode 100644 index 0000000..436a456 --- /dev/null +++ b/docs/doxygen/html/class_inductor.html @@ -0,0 +1,870 @@ + + + + + + + +PSP-UFU: Inductor Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Inductor Class Reference
+
+
+
+Inheritance diagram for Inductor:
+
+
+ + +Shunt +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Inductor (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
+virtual InductorElectricalData GetElectricalData ()
 
+virtual InductorElectricalData GetPUElectricalData (double systemPowerBase)
 
+virtual void SetElectricalData (InductorElectricalData electricalData)
 
- Public Member Functions inherited from Shunt
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+InductorElectricalData m_electricalData
 
- Protected Attributes inherited from Shunt
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Member Functions inherited from Shunt
+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+void DrawGround (wxPoint2DDouble position) const
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Inductor::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Inductor::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Reimplemented from Shunt.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Inductor::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Inductor::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Inductor::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString Inductor::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Inductor::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Reimplemented from Shunt.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Inductor::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Inductor::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_inductor.png b/docs/doxygen/html/class_inductor.png new file mode 100644 index 0000000..df605ec Binary files /dev/null and b/docs/doxygen/html/class_inductor.png differ diff --git a/docs/doxygen/html/class_limiter-members.html b/docs/doxygen/html/class_limiter-members.html new file mode 100644 index 0000000..de05e1a --- /dev/null +++ b/docs/doxygen/html/class_limiter-members.html @@ -0,0 +1,199 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Limiter Member List
+
+
+ +

This is the complete list of members for Limiter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constLimiterinlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constLimitervirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Limitervirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetLowLimit() const (defined in Limiter)Limiterinline
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetUpLimit() const (defined in Limiter)Limiterinline
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constLimiterinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
Limiter(int id) (defined in Limiter)Limiter
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_lowLimit (defined in Limiter)Limiterprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_upLimit (defined in Limiter)Limiterprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Limitervirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetLowLimit(double lowLimit) (defined in Limiter)Limiterinline
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetUpLimit(double upLimit) (defined in Limiter)Limiterinline
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Limitervirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in Limiter)Limitervirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in Limiter)Limitervirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~Limiter() (defined in Limiter)Limiter
+ + + + diff --git a/docs/doxygen/html/class_limiter.html b/docs/doxygen/html/class_limiter.html new file mode 100644 index 0000000..6270443 --- /dev/null +++ b/docs/doxygen/html/class_limiter.html @@ -0,0 +1,702 @@ + + + + + + + +PSP-UFU: Limiter Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Limiter Class Reference
+
+
+
+Inheritance diagram for Limiter:
+
+
+ + +ControlElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Limiter (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual bool Solve (double input, double timeStep)
 
+virtual void UpdatePoints ()
 
+double GetUpLimit () const
 
+double GetLowLimit () const
 
+void SetUpLimit (double upLimit)
 
+void SetLowLimit (double lowLimit)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double m_upLimit = 5.0
 
+double m_lowLimit = -5.0
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Limiter::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Limiter::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Limiter::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Limiter::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Limiter::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Limiter::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_limiter.png b/docs/doxygen/html/class_limiter.png new file mode 100644 index 0000000..51bb3b0 Binary files /dev/null and b/docs/doxygen/html/class_limiter.png differ diff --git a/docs/doxygen/html/class_limiter_form-members.html b/docs/doxygen/html/class_limiter_form-members.html new file mode 100644 index 0000000..a75dcf3 --- /dev/null +++ b/docs/doxygen/html/class_limiter_form-members.html @@ -0,0 +1,104 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LimiterForm Member List
+
+
+ +

This is the complete list of members for LimiterForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in LimiterFormBase)LimiterFormBaseinline
GetButtonOK() (defined in LimiterFormBase)LimiterFormBaseinline
GetNotebook() (defined in LimiterFormBase)LimiterFormBaseinline
GetPanelGeneral() (defined in LimiterFormBase)LimiterFormBaseinline
GetStaticTextLowLimit() (defined in LimiterFormBase)LimiterFormBaseinline
GetStaticTextUpLimiter() (defined in LimiterFormBase)LimiterFormBaseinline
GetTextCtrlLowLimit() (defined in LimiterFormBase)LimiterFormBaseinline
GetTextCtrlUpLimit() (defined in LimiterFormBase)LimiterFormBaseinline
LimiterForm(wxWindow *parent, Limiter *limiter) (defined in LimiterForm)LimiterForm
LimiterFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in LimiterFormBase)LimiterFormBase
m_ButtonCancel (defined in LimiterFormBase)LimiterFormBaseprotected
m_buttonOK (defined in LimiterFormBase)LimiterFormBaseprotected
m_limiter (defined in LimiterForm)LimiterFormprotected
m_notebook (defined in LimiterFormBase)LimiterFormBaseprotected
m_panelGeneral (defined in LimiterFormBase)LimiterFormBaseprotected
m_parent (defined in LimiterForm)LimiterFormprotected
m_staticTextLowLimit (defined in LimiterFormBase)LimiterFormBaseprotected
m_staticTextUpLimiter (defined in LimiterFormBase)LimiterFormBaseprotected
m_textCtrlLowLimit (defined in LimiterFormBase)LimiterFormBaseprotected
m_textCtrlUpLimit (defined in LimiterFormBase)LimiterFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in LimiterForm)LimiterForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in LimiterForm)LimiterFormprotectedvirtual
ValidateData() (defined in LimiterForm)LimiterFormvirtual
~LimiterForm() (defined in LimiterForm)LimiterFormvirtual
~LimiterFormBase() (defined in LimiterFormBase)LimiterFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_limiter_form.html b/docs/doxygen/html/class_limiter_form.html new file mode 100644 index 0000000..8765b6a --- /dev/null +++ b/docs/doxygen/html/class_limiter_form.html @@ -0,0 +1,175 @@ + + + + + + + +PSP-UFU: LimiterForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LimiterForm Class Reference
+
+
+
+Inheritance diagram for LimiterForm:
+
+
+ + +LimiterFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

LimiterForm (wxWindow *parent, Limiter *limiter)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from LimiterFormBase
+wxStaticText * GetStaticTextUpLimiter ()
 
+wxTextCtrl * GetTextCtrlUpLimit ()
 
+wxStaticText * GetStaticTextLowLimit ()
 
+wxTextCtrl * GetTextCtrlLowLimit ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
LimiterFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Limiterm_limiter = NULL
 
- Protected Attributes inherited from LimiterFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextUpLimiter
 
+wxTextCtrl * m_textCtrlUpLimit
 
+wxStaticText * m_staticTextLowLimit
 
+wxTextCtrl * m_textCtrlLowLimit
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_limiter_form.png b/docs/doxygen/html/class_limiter_form.png new file mode 100644 index 0000000..338bedf Binary files /dev/null and b/docs/doxygen/html/class_limiter_form.png differ diff --git a/docs/doxygen/html/class_limiter_form_base-members.html b/docs/doxygen/html/class_limiter_form_base-members.html new file mode 100644 index 0000000..9570311 --- /dev/null +++ b/docs/doxygen/html/class_limiter_form_base-members.html @@ -0,0 +1,99 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LimiterFormBase Member List
+
+
+ +

This is the complete list of members for LimiterFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in LimiterFormBase)LimiterFormBaseinline
GetButtonOK() (defined in LimiterFormBase)LimiterFormBaseinline
GetNotebook() (defined in LimiterFormBase)LimiterFormBaseinline
GetPanelGeneral() (defined in LimiterFormBase)LimiterFormBaseinline
GetStaticTextLowLimit() (defined in LimiterFormBase)LimiterFormBaseinline
GetStaticTextUpLimiter() (defined in LimiterFormBase)LimiterFormBaseinline
GetTextCtrlLowLimit() (defined in LimiterFormBase)LimiterFormBaseinline
GetTextCtrlUpLimit() (defined in LimiterFormBase)LimiterFormBaseinline
LimiterFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in LimiterFormBase)LimiterFormBase
m_ButtonCancel (defined in LimiterFormBase)LimiterFormBaseprotected
m_buttonOK (defined in LimiterFormBase)LimiterFormBaseprotected
m_notebook (defined in LimiterFormBase)LimiterFormBaseprotected
m_panelGeneral (defined in LimiterFormBase)LimiterFormBaseprotected
m_staticTextLowLimit (defined in LimiterFormBase)LimiterFormBaseprotected
m_staticTextUpLimiter (defined in LimiterFormBase)LimiterFormBaseprotected
m_textCtrlLowLimit (defined in LimiterFormBase)LimiterFormBaseprotected
m_textCtrlUpLimit (defined in LimiterFormBase)LimiterFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in LimiterFormBase)LimiterFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in LimiterFormBase)LimiterFormBaseinlineprotectedvirtual
~LimiterFormBase() (defined in LimiterFormBase)LimiterFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_limiter_form_base.html b/docs/doxygen/html/class_limiter_form_base.html new file mode 100644 index 0000000..95fb34a --- /dev/null +++ b/docs/doxygen/html/class_limiter_form_base.html @@ -0,0 +1,161 @@ + + + + + + + +PSP-UFU: LimiterFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LimiterFormBase Class Reference
+
+
+
+Inheritance diagram for LimiterFormBase:
+
+
+ + +LimiterForm + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextUpLimiter ()
 
+wxTextCtrl * GetTextCtrlUpLimit ()
 
+wxStaticText * GetStaticTextLowLimit ()
 
+wxTextCtrl * GetTextCtrlLowLimit ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
LimiterFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextUpLimiter
 
+wxTextCtrl * m_textCtrlUpLimit
 
+wxStaticText * m_staticTextLowLimit
 
+wxTextCtrl * m_textCtrlLowLimit
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_limiter_form_base.png b/docs/doxygen/html/class_limiter_form_base.png new file mode 100644 index 0000000..0133c28 Binary files /dev/null and b/docs/doxygen/html/class_limiter_form_base.png differ diff --git a/docs/doxygen/html/class_line-members.html b/docs/doxygen/html/class_line-members.html new file mode 100644 index 0000000..03f1f51 --- /dev/null +++ b/docs/doxygen/html/class_line-members.html @@ -0,0 +1,217 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Line Member List
+
+
+ +

This is the complete list of members for Line, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddNode(wxPoint2DDouble point) (defined in Line)Linevirtual
AddParent(Element *parent, wxPoint2DDouble position)Linevirtual
Branch::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Linevirtual
Branch() (defined in Branch)Branch
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constLinevirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constLinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constLinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constLineinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Linevirtual
GetCopy()Linevirtual
GetElectricalData() const (defined in Line)Lineinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemBasePower) (defined in Line)Linevirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constLinevirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constLinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
Line() (defined in Line)Line
Line(wxString name) (defined in Line)Line
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in Line)Lineprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Branch)Branchprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Linevirtual
MoveNode(Element *parent, wxPoint2DDouble position)Linevirtual
MovePickbox(wxPoint2DDouble position)Linevirtual
NodeContains(wxPoint2DDouble position)Branchvirtual
PickboxContains(wxPoint2DDouble position)Linevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveNode(wxPoint2DDouble point) (defined in Line)Linevirtual
RemoveParent(Element *parent)Branchvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Linevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(LineElectricalData electricalData) (defined in Line)Lineinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Linevirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)Linevirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Linevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)Linevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Linevirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Linevirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Branchvirtual
UpdatePowerFlowArrowsPosition() (defined in Line)Lineprotected
UpdateSwitches()Branchvirtual
UpdateSwitchesPosition() (defined in Branch)Branchvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Branch() (defined in Branch)Branch
~Element()Elementvirtual
~Line() (defined in Line)Line
~PowerElement()PowerElement
+ + + + diff --git a/docs/doxygen/html/class_line.html b/docs/doxygen/html/class_line.html new file mode 100644 index 0000000..28ed898 --- /dev/null +++ b/docs/doxygen/html/class_line.html @@ -0,0 +1,1348 @@ + + + + + + + +PSP-UFU: Line Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Line Class Reference
+
+
+
+Inheritance diagram for Line:
+
+
+ + +Branch +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Line (wxString name)
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
+virtual void RemoveNode (wxPoint2DDouble point)
 
+virtual void AddNode (wxPoint2DDouble point)
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
+virtual LineElectricalData GetElectricalData () const
 
+virtual LineElectricalData GetPUElectricalData (double systemBasePower)
 
+virtual void SetElectricalData (LineElectricalData electricalData)
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
- Public Member Functions inherited from Branch
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
+virtual void UpdateSwitchesPosition ()
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + +

+Protected Member Functions

+void UpdatePowerFlowArrowsPosition ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+LineElectricalData m_electricalData
 
- Protected Attributes inherited from Branch
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Line::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ AddPoint()

+ +
+
+ + + + + +
+ + + + + + + + +
void Line::AddPoint (wxPoint2DDouble point)
+
+virtual
+
+ +

Add point to the list of points that connect the element to the bus.

+
Parameters
+ + +
pointPoint to be added.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ CalculateBoundaries()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Line::CalculateBoundaries (wxPoint2DDouble & leftUp,
wxPoint2DDouble & rightBottom 
) const
+
+virtual
+
+ +

Calculate the element boundaries.

+
Parameters
+ + + +
leftUpTop-left position of the element.
rightBottomBottom-right position of the element.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Line::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Line::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ GetBestPickboxCursor()

+ +
+
+ + + + + +
+ + + + + + + +
virtual wxCursor Line::GetBestPickboxCursor () const
+
+inlinevirtual
+
+ +

Get the best cursor to shown to the user when the mouse is above a pickbox.

+
Returns
Cursor.
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Line::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Line::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString Line::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Line::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void Line::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ MoveNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Line::MoveNode (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Move a node. StartMove(wxPoint2DDouble position) before start moving.

+
Parameters
+ + + +
parentNode's parent.
positionNew node position.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ MovePickbox()

+ +
+
+ + + + + +
+ + + + + + + + +
void Line::MovePickbox (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the pickbox.

+
Parameters
+ + +
positionposition that the pickbox will be moved.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ PickboxContains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Line::PickboxContains (wxPoint2DDouble position)
+
+virtual
+
+ +

Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+
Returns
True if the element constains the pickbox, false otherwise.
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ RotateNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Line::RotateNode (Elementparent,
bool clockwise = true 
)
+
+virtual
+
+ +

Rotate a node.

+
Parameters
+ + + +
parentNode's parent.
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ SetNodeParent()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Line::SetNodeParent (Elementparent)
+
+virtual
+
+ +

Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated.

+
Parameters
+ + +
parentNode parent.
+
+
+
Returns
True if was possible to set the parent.
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ SetNominalVoltage()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Line::SetNominalVoltage (std::vector< double > nominalVoltage,
std::vector< ElectricalUnitnominalVoltageUnit 
)
+
+virtual
+
+ +

Set nominal voltage of the element.

+
Parameters
+ + + +
nominalVoltageValue of the nominal voltage.
nominalVoltageUnitUnit of the nominal voltage.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ SetPointList()

+ +
+
+ + + + + +
+ + + + + + + + +
void Line::SetPointList (std::vector< wxPoint2DDouble > pointList)
+
+virtual
+
+ +

Set the list of points that connect the element to the bus.

+
Parameters
+ + +
pointListList of points.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ SetPowerFlowDirection()

+ +
+
+ + + + + +
+ + + + + + + + +
void Line::SetPowerFlowDirection (PowerFlowDirection pfDirection)
+
+virtual
+
+ +

Set the direction of the power flow.

+
Parameters
+ + +
pfDirectionPower flow direction.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Line::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void Line::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from Branch.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_line.png b/docs/doxygen/html/class_line.png new file mode 100644 index 0000000..49cd532 Binary files /dev/null and b/docs/doxygen/html/class_line.png differ diff --git a/docs/doxygen/html/class_line_form-members.html b/docs/doxygen/html/class_line_form-members.html new file mode 100644 index 0000000..f5e3e20 --- /dev/null +++ b/docs/doxygen/html/class_line_form-members.html @@ -0,0 +1,154 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LineForm Member List
+
+
+ +

This is the complete list of members for LineForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in LineFormBase)LineFormBaseinline
GetButtonOK() (defined in LineFormBase)LineFormBaseinline
GetButtonStability() (defined in LineFormBase)LineFormBaseinline
GetCheckUseLinePower() (defined in LineFormBase)LineFormBaseinline
GetChoiceNominalPower() (defined in LineFormBase)LineFormBaseinline
GetChoiceReactance() (defined in LineFormBase)LineFormBaseinline
GetChoiceResistance() (defined in LineFormBase)LineFormBaseinline
GetChoiceSusceptance() (defined in LineFormBase)LineFormBaseinline
GetNotebook() (defined in LineFormBase)LineFormBaseinline
GetPanelFault() (defined in LineFormBase)LineFormBaseinline
GetPanelGeneral() (defined in LineFormBase)LineFormBaseinline
GetStaticTextKM() (defined in LineFormBase)LineFormBaseinline
GetStaticTextLineSize() (defined in LineFormBase)LineFormBaseinline
GetStaticTextName() (defined in LineFormBase)LineFormBaseinline
GetStaticTextNominalPower() (defined in LineFormBase)LineFormBaseinline
GetStaticTextNominalVoltage() (defined in LineFormBase)LineFormBaseinline
GetStaticTextNominalVoltageValue() (defined in LineFormBase)LineFormBaseinline
GetStaticTextReactance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextResistance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextSusceptance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextZeroReactance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextZeroResistance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextZeroSusceptance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlLineSize() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlName() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlNominalPower() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlReactance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlResistance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlSusceptance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlZeroReactance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlZeroResistance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlZeroSusceptance() (defined in LineFormBase)LineFormBaseinline
LineForm(wxWindow *parent, Line *line) (defined in LineForm)LineForm
LineFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in LineFormBase)LineFormBase
m_buttonCancel (defined in LineFormBase)LineFormBaseprotected
m_buttonOK (defined in LineFormBase)LineFormBaseprotected
m_buttonStability (defined in LineFormBase)LineFormBaseprotected
m_checkUseLinePower (defined in LineFormBase)LineFormBaseprotected
m_choiceNominalPower (defined in LineFormBase)LineFormBaseprotected
m_choiceReactance (defined in LineFormBase)LineFormBaseprotected
m_choiceResistance (defined in LineFormBase)LineFormBaseprotected
m_choiceSusceptance (defined in LineFormBase)LineFormBaseprotected
m_line (defined in LineForm)LineFormprotected
m_notebook (defined in LineFormBase)LineFormBaseprotected
m_panelFault (defined in LineFormBase)LineFormBaseprotected
m_panelGeneral (defined in LineFormBase)LineFormBaseprotected
m_parent (defined in LineForm)LineFormprotected
m_staticTextKM (defined in LineFormBase)LineFormBaseprotected
m_staticTextLineSize (defined in LineFormBase)LineFormBaseprotected
m_staticTextName (defined in LineFormBase)LineFormBaseprotected
m_staticTextNominalPower (defined in LineFormBase)LineFormBaseprotected
m_staticTextNominalVoltage (defined in LineFormBase)LineFormBaseprotected
m_staticTextNominalVoltageValue (defined in LineFormBase)LineFormBaseprotected
m_staticTextReactance (defined in LineFormBase)LineFormBaseprotected
m_staticTextResistance (defined in LineFormBase)LineFormBaseprotected
m_staticTextSusceptance (defined in LineFormBase)LineFormBaseprotected
m_staticTextZeroReactance (defined in LineFormBase)LineFormBaseprotected
m_staticTextZeroResistance (defined in LineFormBase)LineFormBaseprotected
m_staticTextZeroSusceptance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlLineSize (defined in LineFormBase)LineFormBaseprotected
m_textCtrlName (defined in LineFormBase)LineFormBaseprotected
m_textCtrlNominalPower (defined in LineFormBase)LineFormBaseprotected
m_textCtrlReactance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlResistance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlSusceptance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlZeroReactance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlZeroResistance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlZeroSusceptance (defined in LineFormBase)LineFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in LineForm)LineFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in LineForm)LineFormprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in LineForm)LineFormprotectedvirtual
ReplaceStaticTextLabelChar(wxStaticText *staticText, wchar_t newChar) (defined in LineForm)LineFormprotectedvirtual
ValidateData() (defined in LineForm)LineFormprotectedvirtual
~LineForm() (defined in LineForm)LineFormvirtual
~LineFormBase() (defined in LineFormBase)LineFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_line_form.html b/docs/doxygen/html/class_line_form.html new file mode 100644 index 0000000..aeb6d5d --- /dev/null +++ b/docs/doxygen/html/class_line_form.html @@ -0,0 +1,325 @@ + + + + + + + +PSP-UFU: LineForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LineForm Class Reference
+
+
+
+Inheritance diagram for LineForm:
+
+
+ + +LineFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

LineForm (wxWindow *parent, Line *line)
 
- Public Member Functions inherited from LineFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNominalVoltage ()
 
+wxStaticText * GetStaticTextNominalVoltageValue ()
 
+wxStaticText * GetStaticTextNominalPower ()
 
+wxTextCtrl * GetTextCtrlNominalPower ()
 
+wxChoice * GetChoiceNominalPower ()
 
+wxStaticText * GetStaticTextResistance ()
 
+wxTextCtrl * GetTextCtrlResistance ()
 
+wxChoice * GetChoiceResistance ()
 
+wxStaticText * GetStaticTextReactance ()
 
+wxTextCtrl * GetTextCtrlReactance ()
 
+wxChoice * GetChoiceReactance ()
 
+wxStaticText * GetStaticTextSusceptance ()
 
+wxTextCtrl * GetTextCtrlSusceptance ()
 
+wxChoice * GetChoiceSusceptance ()
 
+wxStaticText * GetStaticTextLineSize ()
 
+wxTextCtrl * GetTextCtrlLineSize ()
 
+wxStaticText * GetStaticTextKM ()
 
+wxCheckBox * GetCheckUseLinePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextZeroResistance ()
 
+wxTextCtrl * GetTextCtrlZeroResistance ()
 
+wxStaticText * GetStaticTextZeroReactance ()
 
+wxTextCtrl * GetTextCtrlZeroReactance ()
 
+wxStaticText * GetStaticTextZeroSusceptance ()
 
+wxTextCtrl * GetTextCtrlZeroSusceptance ()
 
+wxPanel * GetPanelFault ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStability ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
LineFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void ReplaceStaticTextLabelChar (wxStaticText *staticText, wchar_t newChar)
 
+virtual bool ValidateData ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Linem_line = NULL
 
- Protected Attributes inherited from LineFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNominalVoltage
 
+wxStaticText * m_staticTextNominalVoltageValue
 
+wxStaticText * m_staticTextNominalPower
 
+wxTextCtrl * m_textCtrlNominalPower
 
+wxChoice * m_choiceNominalPower
 
+wxStaticText * m_staticTextResistance
 
+wxTextCtrl * m_textCtrlResistance
 
+wxChoice * m_choiceResistance
 
+wxStaticText * m_staticTextReactance
 
+wxTextCtrl * m_textCtrlReactance
 
+wxChoice * m_choiceReactance
 
+wxStaticText * m_staticTextSusceptance
 
+wxTextCtrl * m_textCtrlSusceptance
 
+wxChoice * m_choiceSusceptance
 
+wxStaticText * m_staticTextLineSize
 
+wxTextCtrl * m_textCtrlLineSize
 
+wxStaticText * m_staticTextKM
 
+wxCheckBox * m_checkUseLinePower
 
+wxPanel * m_panelFault
 
+wxStaticText * m_staticTextZeroResistance
 
+wxTextCtrl * m_textCtrlZeroResistance
 
+wxStaticText * m_staticTextZeroReactance
 
+wxTextCtrl * m_textCtrlZeroReactance
 
+wxStaticText * m_staticTextZeroSusceptance
 
+wxTextCtrl * m_textCtrlZeroSusceptance
 
+wxButton * m_buttonStability
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_line_form.png b/docs/doxygen/html/class_line_form.png new file mode 100644 index 0000000..ae36560 Binary files /dev/null and b/docs/doxygen/html/class_line_form.png differ diff --git a/docs/doxygen/html/class_line_form_base-members.html b/docs/doxygen/html/class_line_form_base-members.html new file mode 100644 index 0000000..7466ead --- /dev/null +++ b/docs/doxygen/html/class_line_form_base-members.html @@ -0,0 +1,148 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LineFormBase Member List
+
+
+ +

This is the complete list of members for LineFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in LineFormBase)LineFormBaseinline
GetButtonOK() (defined in LineFormBase)LineFormBaseinline
GetButtonStability() (defined in LineFormBase)LineFormBaseinline
GetCheckUseLinePower() (defined in LineFormBase)LineFormBaseinline
GetChoiceNominalPower() (defined in LineFormBase)LineFormBaseinline
GetChoiceReactance() (defined in LineFormBase)LineFormBaseinline
GetChoiceResistance() (defined in LineFormBase)LineFormBaseinline
GetChoiceSusceptance() (defined in LineFormBase)LineFormBaseinline
GetNotebook() (defined in LineFormBase)LineFormBaseinline
GetPanelFault() (defined in LineFormBase)LineFormBaseinline
GetPanelGeneral() (defined in LineFormBase)LineFormBaseinline
GetStaticTextKM() (defined in LineFormBase)LineFormBaseinline
GetStaticTextLineSize() (defined in LineFormBase)LineFormBaseinline
GetStaticTextName() (defined in LineFormBase)LineFormBaseinline
GetStaticTextNominalPower() (defined in LineFormBase)LineFormBaseinline
GetStaticTextNominalVoltage() (defined in LineFormBase)LineFormBaseinline
GetStaticTextNominalVoltageValue() (defined in LineFormBase)LineFormBaseinline
GetStaticTextReactance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextResistance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextSusceptance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextZeroReactance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextZeroResistance() (defined in LineFormBase)LineFormBaseinline
GetStaticTextZeroSusceptance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlLineSize() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlName() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlNominalPower() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlReactance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlResistance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlSusceptance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlZeroReactance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlZeroResistance() (defined in LineFormBase)LineFormBaseinline
GetTextCtrlZeroSusceptance() (defined in LineFormBase)LineFormBaseinline
LineFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in LineFormBase)LineFormBase
m_buttonCancel (defined in LineFormBase)LineFormBaseprotected
m_buttonOK (defined in LineFormBase)LineFormBaseprotected
m_buttonStability (defined in LineFormBase)LineFormBaseprotected
m_checkUseLinePower (defined in LineFormBase)LineFormBaseprotected
m_choiceNominalPower (defined in LineFormBase)LineFormBaseprotected
m_choiceReactance (defined in LineFormBase)LineFormBaseprotected
m_choiceResistance (defined in LineFormBase)LineFormBaseprotected
m_choiceSusceptance (defined in LineFormBase)LineFormBaseprotected
m_notebook (defined in LineFormBase)LineFormBaseprotected
m_panelFault (defined in LineFormBase)LineFormBaseprotected
m_panelGeneral (defined in LineFormBase)LineFormBaseprotected
m_staticTextKM (defined in LineFormBase)LineFormBaseprotected
m_staticTextLineSize (defined in LineFormBase)LineFormBaseprotected
m_staticTextName (defined in LineFormBase)LineFormBaseprotected
m_staticTextNominalPower (defined in LineFormBase)LineFormBaseprotected
m_staticTextNominalVoltage (defined in LineFormBase)LineFormBaseprotected
m_staticTextNominalVoltageValue (defined in LineFormBase)LineFormBaseprotected
m_staticTextReactance (defined in LineFormBase)LineFormBaseprotected
m_staticTextResistance (defined in LineFormBase)LineFormBaseprotected
m_staticTextSusceptance (defined in LineFormBase)LineFormBaseprotected
m_staticTextZeroReactance (defined in LineFormBase)LineFormBaseprotected
m_staticTextZeroResistance (defined in LineFormBase)LineFormBaseprotected
m_staticTextZeroSusceptance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlLineSize (defined in LineFormBase)LineFormBaseprotected
m_textCtrlName (defined in LineFormBase)LineFormBaseprotected
m_textCtrlNominalPower (defined in LineFormBase)LineFormBaseprotected
m_textCtrlReactance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlResistance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlSusceptance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlZeroReactance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlZeroResistance (defined in LineFormBase)LineFormBaseprotected
m_textCtrlZeroSusceptance (defined in LineFormBase)LineFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in LineFormBase)LineFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in LineFormBase)LineFormBaseinlineprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in LineFormBase)LineFormBaseinlineprotectedvirtual
~LineFormBase() (defined in LineFormBase)LineFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_line_form_base.html b/docs/doxygen/html/class_line_form_base.html new file mode 100644 index 0000000..5994cfc --- /dev/null +++ b/docs/doxygen/html/class_line_form_base.html @@ -0,0 +1,308 @@ + + + + + + + +PSP-UFU: LineFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LineFormBase Class Reference
+
+
+
+Inheritance diagram for LineFormBase:
+
+
+ + +LineForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNominalVoltage ()
 
+wxStaticText * GetStaticTextNominalVoltageValue ()
 
+wxStaticText * GetStaticTextNominalPower ()
 
+wxTextCtrl * GetTextCtrlNominalPower ()
 
+wxChoice * GetChoiceNominalPower ()
 
+wxStaticText * GetStaticTextResistance ()
 
+wxTextCtrl * GetTextCtrlResistance ()
 
+wxChoice * GetChoiceResistance ()
 
+wxStaticText * GetStaticTextReactance ()
 
+wxTextCtrl * GetTextCtrlReactance ()
 
+wxChoice * GetChoiceReactance ()
 
+wxStaticText * GetStaticTextSusceptance ()
 
+wxTextCtrl * GetTextCtrlSusceptance ()
 
+wxChoice * GetChoiceSusceptance ()
 
+wxStaticText * GetStaticTextLineSize ()
 
+wxTextCtrl * GetTextCtrlLineSize ()
 
+wxStaticText * GetStaticTextKM ()
 
+wxCheckBox * GetCheckUseLinePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextZeroResistance ()
 
+wxTextCtrl * GetTextCtrlZeroResistance ()
 
+wxStaticText * GetStaticTextZeroReactance ()
 
+wxTextCtrl * GetTextCtrlZeroReactance ()
 
+wxStaticText * GetStaticTextZeroSusceptance ()
 
+wxTextCtrl * GetTextCtrlZeroSusceptance ()
 
+wxPanel * GetPanelFault ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStability ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
LineFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNominalVoltage
 
+wxStaticText * m_staticTextNominalVoltageValue
 
+wxStaticText * m_staticTextNominalPower
 
+wxTextCtrl * m_textCtrlNominalPower
 
+wxChoice * m_choiceNominalPower
 
+wxStaticText * m_staticTextResistance
 
+wxTextCtrl * m_textCtrlResistance
 
+wxChoice * m_choiceResistance
 
+wxStaticText * m_staticTextReactance
 
+wxTextCtrl * m_textCtrlReactance
 
+wxChoice * m_choiceReactance
 
+wxStaticText * m_staticTextSusceptance
 
+wxTextCtrl * m_textCtrlSusceptance
 
+wxChoice * m_choiceSusceptance
 
+wxStaticText * m_staticTextLineSize
 
+wxTextCtrl * m_textCtrlLineSize
 
+wxStaticText * m_staticTextKM
 
+wxCheckBox * m_checkUseLinePower
 
+wxPanel * m_panelFault
 
+wxStaticText * m_staticTextZeroResistance
 
+wxTextCtrl * m_textCtrlZeroResistance
 
+wxStaticText * m_staticTextZeroReactance
 
+wxTextCtrl * m_textCtrlZeroReactance
 
+wxStaticText * m_staticTextZeroSusceptance
 
+wxTextCtrl * m_textCtrlZeroSusceptance
 
+wxButton * m_buttonStability
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_line_form_base.png b/docs/doxygen/html/class_line_form_base.png new file mode 100644 index 0000000..18e64bd Binary files /dev/null and b/docs/doxygen/html/class_line_form_base.png differ diff --git a/docs/doxygen/html/class_load-members.html b/docs/doxygen/html/class_load-members.html new file mode 100644 index 0000000..d4c75cf --- /dev/null +++ b/docs/doxygen/html/class_load-members.html @@ -0,0 +1,217 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Load Member List
+
+
+ +

This is the complete list of members for Load, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Loadvirtual
Shunt::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constShuntinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constLoadvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawGround(wxPoint2DDouble position) const (defined in Shunt)Shuntprotected
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Loadvirtual
GetCopy()Loadvirtual
GetElectricalData() (defined in Load)Loadinline
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemPowerBase) (defined in Load)Load
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constLoadvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constShuntinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
Load() (defined in Load)Load
Load(wxString name) (defined in Load)Load
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in Load)Loadprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Shunt)Shuntprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_triangPts (defined in Load)Loadprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Shuntvirtual
MoveNode(Element *element, wxPoint2DDouble position)Shuntvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Shuntvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Shuntvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Loadvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Shuntvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(LoadElectricalData electricalData) (defined in Load)Loadinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Shuntvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Loadvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Shunt() (defined in Shunt)Shunt
StartMove(wxPoint2DDouble position)Shuntvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Shuntvirtual
UpdatePowerFlowArrowsPosition() (defined in Shunt)Shuntprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Shunt)Shuntprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~Load() (defined in Load)Load
~PowerElement()PowerElement
~Shunt() (defined in Shunt)Shunt
+ + + + diff --git a/docs/doxygen/html/class_load.html b/docs/doxygen/html/class_load.html new file mode 100644 index 0000000..8f93ddc --- /dev/null +++ b/docs/doxygen/html/class_load.html @@ -0,0 +1,801 @@ + + + + + + + +PSP-UFU: Load Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Load Class Reference
+
+
+
+Inheritance diagram for Load:
+
+
+ + +Shunt +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Load (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
+LoadElectricalData GetElectricalData ()
 
+LoadElectricalData GetPUElectricalData (double systemPowerBase)
 
+void SetElectricalData (LoadElectricalData electricalData)
 
- Public Member Functions inherited from Shunt
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< wxPoint2DDouble > m_triangPts
 
+LoadElectricalData m_electricalData
 
- Protected Attributes inherited from Shunt
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Member Functions inherited from Shunt
+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+void DrawGround (wxPoint2DDouble position) const
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Load::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Load::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Load::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Load::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString Load::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Load::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Load::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_load.png b/docs/doxygen/html/class_load.png new file mode 100644 index 0000000..93a8e30 Binary files /dev/null and b/docs/doxygen/html/class_load.png differ diff --git a/docs/doxygen/html/class_load_form-members.html b/docs/doxygen/html/class_load_form-members.html new file mode 100644 index 0000000..202253e --- /dev/null +++ b/docs/doxygen/html/class_load_form-members.html @@ -0,0 +1,119 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LoadForm Member List
+
+
+ +

This is the complete list of members for LoadForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in LoadFormBase)LoadFormBaseinline
GetButtonOK() (defined in LoadFormBase)LoadFormBaseinline
GetButtonStabButton() (defined in LoadFormBase)LoadFormBaseinline
GetChoiceActivePower() (defined in LoadFormBase)LoadFormBaseinline
GetChoiceReactivePower() (defined in LoadFormBase)LoadFormBaseinline
GetChoiceType() (defined in LoadFormBase)LoadFormBaseinline
GetNotebook() (defined in LoadFormBase)LoadFormBaseinline
GetPanelGeneral() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextActivePower() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextName() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextReactivePower() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextType() (defined in LoadFormBase)LoadFormBaseinline
GetTextCtrlActivePower() (defined in LoadFormBase)LoadFormBaseinline
GetTextCtrlName() (defined in LoadFormBase)LoadFormBaseinline
GetTextCtrlReactivePower() (defined in LoadFormBase)LoadFormBaseinline
LoadForm(wxWindow *parent, Load *load) (defined in LoadForm)LoadForm
LoadFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Load"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in LoadFormBase)LoadFormBase
m_ButtonCancel (defined in LoadFormBase)LoadFormBaseprotected
m_buttonOK (defined in LoadFormBase)LoadFormBaseprotected
m_buttonStabButton (defined in LoadFormBase)LoadFormBaseprotected
m_choiceActivePower (defined in LoadFormBase)LoadFormBaseprotected
m_choiceReactivePower (defined in LoadFormBase)LoadFormBaseprotected
m_choiceType (defined in LoadFormBase)LoadFormBaseprotected
m_load (defined in LoadForm)LoadFormprotected
m_notebook (defined in LoadFormBase)LoadFormBaseprotected
m_panelGeneral (defined in LoadFormBase)LoadFormBaseprotected
m_parent (defined in LoadForm)LoadFormprotected
m_staticTextActivePower (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextName (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextReactivePower (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextType (defined in LoadFormBase)LoadFormBaseprotected
m_textCtrlActivePower (defined in LoadFormBase)LoadFormBaseprotected
m_textCtrlName (defined in LoadFormBase)LoadFormBaseprotected
m_textCtrlReactivePower (defined in LoadFormBase)LoadFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in LoadForm)LoadForminlineprotectedvirtual
OnOnButtonClick(wxCommandEvent &event) (defined in LoadForm)LoadFormprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in LoadForm)LoadFormprotectedvirtual
ValidateData() (defined in LoadForm)LoadFormvirtual
~LoadForm() (defined in LoadForm)LoadFormvirtual
~LoadFormBase() (defined in LoadFormBase)LoadFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_load_form.html b/docs/doxygen/html/class_load_form.html new file mode 100644 index 0000000..221ef0f --- /dev/null +++ b/docs/doxygen/html/class_load_form.html @@ -0,0 +1,220 @@ + + + + + + + +PSP-UFU: LoadForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LoadForm Class Reference
+
+
+
+Inheritance diagram for LoadForm:
+
+
+ + +LoadFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

LoadForm (wxWindow *parent, Load *load)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from LoadFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextActivePower ()
 
+wxTextCtrl * GetTextCtrlActivePower ()
 
+wxChoice * GetChoiceActivePower ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxStaticText * GetStaticTextType ()
 
+wxChoice * GetChoiceType ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStabButton ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
LoadFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Load"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOnButtonClick (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Loadm_load = NULL
 
- Protected Attributes inherited from LoadFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextActivePower
 
+wxTextCtrl * m_textCtrlActivePower
 
+wxChoice * m_choiceActivePower
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxStaticText * m_staticTextType
 
+wxChoice * m_choiceType
 
+wxButton * m_buttonStabButton
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_load_form.png b/docs/doxygen/html/class_load_form.png new file mode 100644 index 0000000..4742c1e Binary files /dev/null and b/docs/doxygen/html/class_load_form.png differ diff --git a/docs/doxygen/html/class_load_form_base-members.html b/docs/doxygen/html/class_load_form_base-members.html new file mode 100644 index 0000000..e04d2c9 --- /dev/null +++ b/docs/doxygen/html/class_load_form_base-members.html @@ -0,0 +1,114 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LoadFormBase Member List
+
+
+ +

This is the complete list of members for LoadFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in LoadFormBase)LoadFormBaseinline
GetButtonOK() (defined in LoadFormBase)LoadFormBaseinline
GetButtonStabButton() (defined in LoadFormBase)LoadFormBaseinline
GetChoiceActivePower() (defined in LoadFormBase)LoadFormBaseinline
GetChoiceReactivePower() (defined in LoadFormBase)LoadFormBaseinline
GetChoiceType() (defined in LoadFormBase)LoadFormBaseinline
GetNotebook() (defined in LoadFormBase)LoadFormBaseinline
GetPanelGeneral() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextActivePower() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextName() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextReactivePower() (defined in LoadFormBase)LoadFormBaseinline
GetStaticTextType() (defined in LoadFormBase)LoadFormBaseinline
GetTextCtrlActivePower() (defined in LoadFormBase)LoadFormBaseinline
GetTextCtrlName() (defined in LoadFormBase)LoadFormBaseinline
GetTextCtrlReactivePower() (defined in LoadFormBase)LoadFormBaseinline
LoadFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Load"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in LoadFormBase)LoadFormBase
m_ButtonCancel (defined in LoadFormBase)LoadFormBaseprotected
m_buttonOK (defined in LoadFormBase)LoadFormBaseprotected
m_buttonStabButton (defined in LoadFormBase)LoadFormBaseprotected
m_choiceActivePower (defined in LoadFormBase)LoadFormBaseprotected
m_choiceReactivePower (defined in LoadFormBase)LoadFormBaseprotected
m_choiceType (defined in LoadFormBase)LoadFormBaseprotected
m_notebook (defined in LoadFormBase)LoadFormBaseprotected
m_panelGeneral (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextActivePower (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextName (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextReactivePower (defined in LoadFormBase)LoadFormBaseprotected
m_staticTextType (defined in LoadFormBase)LoadFormBaseprotected
m_textCtrlActivePower (defined in LoadFormBase)LoadFormBaseprotected
m_textCtrlName (defined in LoadFormBase)LoadFormBaseprotected
m_textCtrlReactivePower (defined in LoadFormBase)LoadFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in LoadFormBase)LoadFormBaseinlineprotectedvirtual
OnOnButtonClick(wxCommandEvent &event) (defined in LoadFormBase)LoadFormBaseinlineprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in LoadFormBase)LoadFormBaseinlineprotectedvirtual
~LoadFormBase() (defined in LoadFormBase)LoadFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_load_form_base.html b/docs/doxygen/html/class_load_form_base.html new file mode 100644 index 0000000..a19721a --- /dev/null +++ b/docs/doxygen/html/class_load_form_base.html @@ -0,0 +1,206 @@ + + + + + + + +PSP-UFU: LoadFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LoadFormBase Class Reference
+
+
+
+Inheritance diagram for LoadFormBase:
+
+
+ + +LoadForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextActivePower ()
 
+wxTextCtrl * GetTextCtrlActivePower ()
 
+wxChoice * GetChoiceActivePower ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxStaticText * GetStaticTextType ()
 
+wxChoice * GetChoiceType ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStabButton ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
LoadFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Load"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void OnOnButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextActivePower
 
+wxTextCtrl * m_textCtrlActivePower
 
+wxChoice * m_choiceActivePower
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxStaticText * m_staticTextType
 
+wxChoice * m_choiceType
 
+wxButton * m_buttonStabButton
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_load_form_base.png b/docs/doxygen/html/class_load_form_base.png new file mode 100644 index 0000000..522131b Binary files /dev/null and b/docs/doxygen/html/class_load_form_base.png differ diff --git a/docs/doxygen/html/class_machines-members.html b/docs/doxygen/html/class_machines-members.html new file mode 100644 index 0000000..35eabe9 --- /dev/null +++ b/docs/doxygen/html/class_machines-members.html @@ -0,0 +1,215 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Machines Member List
+
+
+ +

This is the complete list of members for Machines, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Machinesvirtual
PowerElement::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constMachinesinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constMachinesvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawSymbol() const (defined in Machines)Machinesinlinevirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constElementinlinevirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constMachinesinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Machines)Machinesprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Machines() (defined in Machines)Machines
Move(wxPoint2DDouble position)Machinesvirtual
MoveNode(Element *element, wxPoint2DDouble position)Machinesvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Machinesvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Machinesvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Machinesvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Machinesvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Machinesvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)Machinesvirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
SM_MODEL_1 enum value (defined in Machines)Machines
SM_MODEL_2 enum value (defined in Machines)Machines
SM_MODEL_3 enum value (defined in Machines)Machines
SM_MODEL_4 enum value (defined in Machines)Machines
SM_MODEL_5 enum value (defined in Machines)Machines
StartMove(wxPoint2DDouble position)Machinesvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
SyncMachineModel enum name (defined in Machines)Machines
UpdateNodes()Machinesvirtual
UpdatePowerFlowArrowsPosition() (defined in Machines)Machinesprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Machines)Machinesprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~Machines() (defined in Machines)Machines
~PowerElement()PowerElement
+ + + + diff --git a/docs/doxygen/html/class_machines.html b/docs/doxygen/html/class_machines.html new file mode 100644 index 0000000..58d405c --- /dev/null +++ b/docs/doxygen/html/class_machines.html @@ -0,0 +1,1039 @@ + + + + + + + +PSP-UFU: Machines Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Machines Class Reference
+
+
+
+Inheritance diagram for Machines:
+
+
+ + +PowerElement +Element +IndMotor +SyncGenerator +SyncMotor + +
+ + + + +

+Public Types

enum  SyncMachineModel {
+  SM_MODEL_1 = 0, +SM_MODEL_2, +SM_MODEL_3, +SM_MODEL_4, +
+  SM_MODEL_5 +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual void DrawSymbol () const
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + +

+Protected Member Functions

+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Machines::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Machines::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Machines::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Machines::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void Machines::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ MoveNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Machines::MoveNode (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Move a node. StartMove(wxPoint2DDouble position) before start moving.

+
Parameters
+ + + +
parentNode's parent.
positionNew node position.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ NodeContains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Machines::NodeContains (wxPoint2DDouble position)
+
+virtual
+
+ +

Check if a node contains a point. If contains, set the attributes related to node movement.

+
Parameters
+ + +
positionPosition tested.
+
+
+
Returns
True if at least one node contains the position, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ RemoveParent()

+ +
+
+ + + + + +
+ + + + + + + + +
void Machines::RemoveParent (Elementparent)
+
+virtual
+
+ +

Remove a parent.

+
Parameters
+ + +
parentParent to be removed.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Machines::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ RotateNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Machines::RotateNode (Elementparent,
bool clockwise = true 
)
+
+virtual
+
+ +

Rotate a node.

+
Parameters
+ + + +
parentNode's parent.
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ SetNodeParent()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Machines::SetNodeParent (Elementparent)
+
+virtual
+
+ +

Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated.

+
Parameters
+ + +
parentNode parent.
+
+
+
Returns
True if was possible to set the parent.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ SetPowerFlowDirection()

+ +
+
+ + + + + +
+ + + + + + + + +
void Machines::SetPowerFlowDirection (PowerFlowDirection pfDirection)
+
+virtual
+
+ +

Set the direction of the power flow.

+
Parameters
+ + +
pfDirectionPower flow direction.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void Machines::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_machines.png b/docs/doxygen/html/class_machines.png new file mode 100644 index 0000000..6f50f78 Binary files /dev/null and b/docs/doxygen/html/class_machines.png differ diff --git a/docs/doxygen/html/class_main_app-members.html b/docs/doxygen/html/class_main_app-members.html new file mode 100644 index 0000000..19fda46 --- /dev/null +++ b/docs/doxygen/html/class_main_app-members.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
MainApp Member List
+
+
+ +

This is the complete list of members for MainApp, including all inherited members.

+ + + + + + +
LoadCatalogs(wxLocale *locale, PropertiesData *propertiesData) (defined in MainApp)MainAppinline
LoadInitFile(PropertiesData *propertiesData) (defined in MainApp)MainAppinline
MainApp() (defined in MainApp)MainAppinline
OnInit() (defined in MainApp)MainAppinlinevirtual
~MainApp() (defined in MainApp)MainAppinlinevirtual
+ + + + diff --git a/docs/doxygen/html/class_main_app.html b/docs/doxygen/html/class_main_app.html new file mode 100644 index 0000000..f7b379b --- /dev/null +++ b/docs/doxygen/html/class_main_app.html @@ -0,0 +1,103 @@ + + + + + + + +PSP-UFU: MainApp Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MainApp Class Reference
+
+
+
+Inheritance diagram for MainApp:
+
+
+ + + +
+ + + + + + + + +

+Public Member Functions

+bool LoadInitFile (PropertiesData *propertiesData)
 
+void LoadCatalogs (wxLocale *locale, PropertiesData *propertiesData)
 
+virtual bool OnInit ()
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/class_main_app.png b/docs/doxygen/html/class_main_app.png new file mode 100644 index 0000000..ac66090 Binary files /dev/null and b/docs/doxygen/html/class_main_app.png differ diff --git a/docs/doxygen/html/class_main_frame-members.html b/docs/doxygen/html/class_main_frame-members.html new file mode 100644 index 0000000..d0e0ca0 --- /dev/null +++ b/docs/doxygen/html/class_main_frame-members.html @@ -0,0 +1,185 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
MainFrame Member List
+
+
+ +

This is the complete list of members for MainFrame, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CreateAddElementsMenu() (defined in MainFrame)MainFrameprotected
EnableCurrentProjectRibbon(bool enable=true) (defined in MainFrame)MainFrameprotected
GetAuiNotebook() (defined in MainFrameBase)MainFrameBaseinline
GetRibbonBar() (defined in MainFrameBase)MainFrameBaseinline
GetStatusBar() (defined in MainFrameBase)MainFrameBaseinline
ID_RIBBON_ABOUT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ADDELEMENT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_CHARTS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_CLOSE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_COPY enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DATAREPORT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DELETE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DISABLESOL enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DRAG enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ENABLESOL enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_EXIT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_FAULT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_FIT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_GENSETTINGS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_GUIDE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_MOVE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_NEW enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_OPEN enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_PASTE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_POWERFLOW enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_PROJSETTINGS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_REDO enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_RESETVOLT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ROTATEC enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ROTATECC enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_RUNSTAB enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SAVE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SAVEAS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SCPOWER enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SIMULSETTINGS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SNAPSHOT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_UNDO enum value (defined in MainFrameBase)MainFrameBase
Init() (defined in MainFrame)MainFrameprotected
m_addElementsMenu (defined in MainFrame)MainFrameprotected
m_artMetro (defined in MainFrame)MainFrameprotected
m_auiNotebook (defined in MainFrameBase)MainFrameBaseprotected
m_generalProperties (defined in MainFrame)MainFrameprotected
m_locale (defined in MainFrame)MainFrameprotected
m_projectNumber (defined in MainFrame)MainFrameprotected
m_ribbonBar (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarCircuit (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarClipboard (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarContinuous (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarCProject (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarHelp (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarProjects (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarReports (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarSimulations (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPageFile (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPageSimulation (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPageTools (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelCircuit (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelClipboard (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelContinuous (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelCProject (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelHelp (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelProjects (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelReports (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelSimulations (defined in MainFrameBase)MainFrameBaseprotected
m_statusBar (defined in MainFrameBase)MainFrameBaseprotected
m_workspaceList (defined in MainFrame)MainFrameprotected
MainFrame() (defined in MainFrame)MainFrame
MainFrame(wxWindow *parent, wxLocale *locale, PropertiesData *initProperties) (defined in MainFrame)MainFrame
MainFrameBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX) (defined in MainFrameBase)MainFrameBase
NotebookPageClosed(wxAuiNotebookEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
NotebookPageClosing(wxAuiNotebookEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnAboutClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnAddElementDropdown(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnAddElementsClick(wxCommandEvent &event) (defined in MainFrame)MainFrameprotected
OnChartsClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnCloseClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnCopyClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnDataReportClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnDeleteClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnDisableSolutionClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnDragClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnEnableSolutionClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnExitClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameinlineprotectedvirtual
OnExpImpClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnFaultClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnFitClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnGeneralSettingsClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnMoveClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnNewClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnOpenClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnPasteClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnPowerFlowClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnPSPGuideClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnRedoClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnResetVoltagesClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnRotClockClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnRotCounterClockClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnRunStabilityClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnSaveAsClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnSaveClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnSCPowerClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnSimulationSettingsClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnSnapshotClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
OnUndoClick(wxRibbonButtonBarEvent &event) (defined in MainFrame)MainFrameprotectedvirtual
~MainFrame() (defined in MainFrame)MainFrame
~MainFrameBase() (defined in MainFrameBase)MainFrameBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_main_frame.html b/docs/doxygen/html/class_main_frame.html new file mode 100644 index 0000000..e078352 --- /dev/null +++ b/docs/doxygen/html/class_main_frame.html @@ -0,0 +1,366 @@ + + + + + + + +PSP-UFU: MainFrame Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MainFrame Class Reference
+
+
+
+Inheritance diagram for MainFrame:
+
+
+ + +MainFrameBase + +
+ + + + + + + + + + + + + +

+Public Member Functions

MainFrame (wxWindow *parent, wxLocale *locale, PropertiesData *initProperties)
 
- Public Member Functions inherited from MainFrameBase
+wxRibbonBar * GetRibbonBar ()
 
+wxAuiNotebook * GetAuiNotebook ()
 
+wxStatusBar * GetStatusBar ()
 
MainFrameBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnGeneralSettingsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSimulationSettingsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRotClockClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRotCounterClockClick (wxRibbonButtonBarEvent &event)
 
+virtual void NotebookPageClosed (wxAuiNotebookEvent &event)
 
+virtual void NotebookPageClosing (wxAuiNotebookEvent &event)
 
+virtual void OnAboutClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnAddElementDropdown (wxRibbonButtonBarEvent &event)
 
+virtual void OnChartsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnCloseClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnCopyClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDataReportClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDeleteClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDisableSolutionClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDragClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnEnableSolutionClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnExitClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnExpImpClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnFaultClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnFitClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnMoveClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnOpenClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnPSPGuideClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnPasteClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnPowerFlowClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRedoClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnResetVoltagesClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRunStabilityClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSCPowerClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSaveAsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSaveClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSnapshotClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnUndoClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnNewClick (wxRibbonButtonBarEvent &event)
 
+void Init ()
 
+void EnableCurrentProjectRibbon (bool enable=true)
 
+void CreateAddElementsMenu ()
 
+void OnAddElementsClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< Workspace * > m_workspaceList
 
+int m_projectNumber = 1
 
+wxRibbonMetroArtProviderm_artMetro = NULL
 
+wxMenu * m_addElementsMenu = NULL
 
+wxLocale * m_locale = NULL
 
+PropertiesDatam_generalProperties = NULL
 
- Protected Attributes inherited from MainFrameBase
+wxRibbonBar * m_ribbonBar
 
+wxRibbonPage * m_ribbonPageFile
 
+wxRibbonPanel * m_ribbonPanelProjects
 
+wxRibbonButtonBar * m_ribbonButtonBarProjects
 
+wxRibbonPanel * m_ribbonPanelCProject
 
+wxRibbonButtonBar * m_ribbonButtonBarCProject
 
+wxRibbonPanel * m_ribbonPanelHelp
 
+wxRibbonButtonBar * m_ribbonButtonBarHelp
 
+wxRibbonPage * m_ribbonPageTools
 
+wxRibbonPanel * m_ribbonPanelClipboard
 
+wxRibbonButtonBar * m_ribbonButtonBarClipboard
 
+wxRibbonPanel * m_ribbonPanelCircuit
 
+wxRibbonButtonBar * m_ribbonButtonBarCircuit
 
+wxRibbonPanel * m_ribbonPanelReports
 
+wxRibbonButtonBar * m_ribbonButtonBarReports
 
+wxRibbonPage * m_ribbonPageSimulation
 
+wxRibbonPanel * m_ribbonPanelContinuous
 
+wxRibbonButtonBar * m_ribbonButtonBarContinuous
 
+wxRibbonPanel * m_ribbonPanelSimulations
 
+wxRibbonButtonBar * m_ribbonButtonBarSimulations
 
+wxAuiNotebook * m_auiNotebook
 
+wxStatusBar * m_statusBar
 
+ + + + +

+Additional Inherited Members

- Public Types inherited from MainFrameBase
enum  {
+  ID_RIBBON_ABOUT = 10001, +ID_RIBBON_ADDELEMENT = 10002, +ID_RIBBON_CHARTS = 10003, +ID_RIBBON_CLOSE = 10004, +
+  ID_RIBBON_COPY = 10005, +ID_RIBBON_DATAREPORT = 10006, +ID_RIBBON_DELETE = 10007, +ID_RIBBON_DISABLESOL = 10008, +
+  ID_RIBBON_DRAG = 10009, +ID_RIBBON_ENABLESOL = 10010, +ID_RIBBON_EXIT = 10011, +ID_RIBBON_FAULT = 10012, +
+  ID_RIBBON_FIT = 10013, +ID_RIBBON_GENSETTINGS = 10014, +ID_RIBBON_GUIDE = 10015, +ID_RIBBON_MOVE = 10016, +
+  ID_RIBBON_NEW = 10017, +ID_RIBBON_OPEN = 10018, +ID_RIBBON_PASTE = 10019, +ID_RIBBON_POWERFLOW = 10020, +
+  ID_RIBBON_PROJSETTINGS = 10021, +ID_RIBBON_REDO = 10022, +ID_RIBBON_RESETVOLT = 10023, +ID_RIBBON_ROTATEC = 10024, +
+  ID_RIBBON_ROTATECC = 10025, +ID_RIBBON_RUNSTAB = 10026, +ID_RIBBON_SAVE = 10027, +ID_RIBBON_SAVEAS = 10028, +
+  ID_RIBBON_SCPOWER = 10029, +ID_RIBBON_SIMULSETTINGS = 10030, +ID_RIBBON_SNAPSHOT = 10031, +ID_RIBBON_UNDO = 10032 +
+ }
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_main_frame.png b/docs/doxygen/html/class_main_frame.png new file mode 100644 index 0000000..3ed609b Binary files /dev/null and b/docs/doxygen/html/class_main_frame.png differ diff --git a/docs/doxygen/html/class_main_frame_base-members.html b/docs/doxygen/html/class_main_frame_base-members.html new file mode 100644 index 0000000..a34021e --- /dev/null +++ b/docs/doxygen/html/class_main_frame_base-members.html @@ -0,0 +1,171 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
MainFrameBase Member List
+
+
+ +

This is the complete list of members for MainFrameBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetAuiNotebook() (defined in MainFrameBase)MainFrameBaseinline
GetRibbonBar() (defined in MainFrameBase)MainFrameBaseinline
GetStatusBar() (defined in MainFrameBase)MainFrameBaseinline
ID_RIBBON_ABOUT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ADDELEMENT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_CHARTS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_CLOSE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_COPY enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DATAREPORT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DELETE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DISABLESOL enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_DRAG enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ENABLESOL enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_EXIT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_FAULT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_FIT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_GENSETTINGS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_GUIDE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_MOVE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_NEW enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_OPEN enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_PASTE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_POWERFLOW enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_PROJSETTINGS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_REDO enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_RESETVOLT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ROTATEC enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_ROTATECC enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_RUNSTAB enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SAVE enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SAVEAS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SCPOWER enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SIMULSETTINGS enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_SNAPSHOT enum value (defined in MainFrameBase)MainFrameBase
ID_RIBBON_UNDO enum value (defined in MainFrameBase)MainFrameBase
m_auiNotebook (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonBar (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarCircuit (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarClipboard (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarContinuous (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarCProject (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarHelp (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarProjects (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarReports (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonButtonBarSimulations (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPageFile (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPageSimulation (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPageTools (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelCircuit (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelClipboard (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelContinuous (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelCProject (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelHelp (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelProjects (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelReports (defined in MainFrameBase)MainFrameBaseprotected
m_ribbonPanelSimulations (defined in MainFrameBase)MainFrameBaseprotected
m_statusBar (defined in MainFrameBase)MainFrameBaseprotected
MainFrameBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX) (defined in MainFrameBase)MainFrameBase
NotebookPageClosed(wxAuiNotebookEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
NotebookPageClosing(wxAuiNotebookEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnAboutClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnAddElementDropdown(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnChartsClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnCloseClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnCopyClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnDataReportClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnDeleteClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnDisableSolutionClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnDragClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnEnableSolutionClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnExitClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnFaultClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnFitClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnGeneralSettingsClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnMoveClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnNewClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnOpenClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnPasteClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnPowerFlowClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnPSPGuideClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnRedoClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnResetVoltagesClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnRotClockClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnRotCounterClockClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnRunStabilityClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnSaveAsClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnSaveClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnSCPowerClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnSimulationSettingsClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnSnapshotClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
OnUndoClick(wxRibbonButtonBarEvent &event) (defined in MainFrameBase)MainFrameBaseinlineprotectedvirtual
~MainFrameBase() (defined in MainFrameBase)MainFrameBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_main_frame_base.html b/docs/doxygen/html/class_main_frame_base.html new file mode 100644 index 0000000..ba96038 --- /dev/null +++ b/docs/doxygen/html/class_main_frame_base.html @@ -0,0 +1,328 @@ + + + + + + + +PSP-UFU: MainFrameBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
MainFrameBase Class Reference
+
+
+
+Inheritance diagram for MainFrameBase:
+
+
+ + +MainFrame + +
+ + + + +

+Public Types

enum  {
+  ID_RIBBON_ABOUT = 10001, +ID_RIBBON_ADDELEMENT = 10002, +ID_RIBBON_CHARTS = 10003, +ID_RIBBON_CLOSE = 10004, +
+  ID_RIBBON_COPY = 10005, +ID_RIBBON_DATAREPORT = 10006, +ID_RIBBON_DELETE = 10007, +ID_RIBBON_DISABLESOL = 10008, +
+  ID_RIBBON_DRAG = 10009, +ID_RIBBON_ENABLESOL = 10010, +ID_RIBBON_EXIT = 10011, +ID_RIBBON_FAULT = 10012, +
+  ID_RIBBON_FIT = 10013, +ID_RIBBON_GENSETTINGS = 10014, +ID_RIBBON_GUIDE = 10015, +ID_RIBBON_MOVE = 10016, +
+  ID_RIBBON_NEW = 10017, +ID_RIBBON_OPEN = 10018, +ID_RIBBON_PASTE = 10019, +ID_RIBBON_POWERFLOW = 10020, +
+  ID_RIBBON_PROJSETTINGS = 10021, +ID_RIBBON_REDO = 10022, +ID_RIBBON_RESETVOLT = 10023, +ID_RIBBON_ROTATEC = 10024, +
+  ID_RIBBON_ROTATECC = 10025, +ID_RIBBON_RUNSTAB = 10026, +ID_RIBBON_SAVE = 10027, +ID_RIBBON_SAVEAS = 10028, +
+  ID_RIBBON_SCPOWER = 10029, +ID_RIBBON_SIMULSETTINGS = 10030, +ID_RIBBON_SNAPSHOT = 10031, +ID_RIBBON_UNDO = 10032 +
+ }
 
+ + + + + + + + + +

+Public Member Functions

+wxRibbonBar * GetRibbonBar ()
 
+wxAuiNotebook * GetAuiNotebook ()
 
+wxStatusBar * GetStatusBar ()
 
MainFrameBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("PSP-UFU"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(800, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxMAXIMIZE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxCLOSE_BOX)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnNewClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnOpenClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnGeneralSettingsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnExitClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSaveClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSaveAsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnCloseClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnPSPGuideClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnAboutClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnCopyClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnPasteClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnUndoClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRedoClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnAddElementDropdown (wxRibbonButtonBarEvent &event)
 
+virtual void OnDragClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnMoveClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDeleteClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnFitClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRotClockClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRotCounterClockClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDataReportClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnChartsClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSnapshotClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnEnableSolutionClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnDisableSolutionClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnResetVoltagesClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnPowerFlowClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnRunStabilityClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnFaultClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSCPowerClick (wxRibbonButtonBarEvent &event)
 
+virtual void OnSimulationSettingsClick (wxRibbonButtonBarEvent &event)
 
+virtual void NotebookPageClosing (wxAuiNotebookEvent &event)
 
+virtual void NotebookPageClosed (wxAuiNotebookEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxRibbonBar * m_ribbonBar
 
+wxRibbonPage * m_ribbonPageFile
 
+wxRibbonPanel * m_ribbonPanelProjects
 
+wxRibbonButtonBar * m_ribbonButtonBarProjects
 
+wxRibbonPanel * m_ribbonPanelCProject
 
+wxRibbonButtonBar * m_ribbonButtonBarCProject
 
+wxRibbonPanel * m_ribbonPanelHelp
 
+wxRibbonButtonBar * m_ribbonButtonBarHelp
 
+wxRibbonPage * m_ribbonPageTools
 
+wxRibbonPanel * m_ribbonPanelClipboard
 
+wxRibbonButtonBar * m_ribbonButtonBarClipboard
 
+wxRibbonPanel * m_ribbonPanelCircuit
 
+wxRibbonButtonBar * m_ribbonButtonBarCircuit
 
+wxRibbonPanel * m_ribbonPanelReports
 
+wxRibbonButtonBar * m_ribbonButtonBarReports
 
+wxRibbonPage * m_ribbonPageSimulation
 
+wxRibbonPanel * m_ribbonPanelContinuous
 
+wxRibbonButtonBar * m_ribbonButtonBarContinuous
 
+wxRibbonPanel * m_ribbonPanelSimulations
 
+wxRibbonButtonBar * m_ribbonButtonBarSimulations
 
+wxAuiNotebook * m_auiNotebook
 
+wxStatusBar * m_statusBar
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_main_frame_base.png b/docs/doxygen/html/class_main_frame_base.png new file mode 100644 index 0000000..4d120f6 Binary files /dev/null and b/docs/doxygen/html/class_main_frame_base.png differ diff --git a/docs/doxygen/html/class_multiplier-members.html b/docs/doxygen/html/class_multiplier-members.html new file mode 100644 index 0000000..30c898c --- /dev/null +++ b/docs/doxygen/html/class_multiplier-members.html @@ -0,0 +1,193 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Multiplier Member List
+
+
+ +

This is the complete list of members for Multiplier, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constMultiplierinlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constMultipliervirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Multipliervirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constMultiplierinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
Multiplier(int id) (defined in Multiplier)Multiplier
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Multipliervirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Multiplierinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in Multiplier)Multipliervirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in Multiplier)Multipliervirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~Multiplier() (defined in Multiplier)Multiplier
+ + + + diff --git a/docs/doxygen/html/class_multiplier.html b/docs/doxygen/html/class_multiplier.html new file mode 100644 index 0000000..5930a6d --- /dev/null +++ b/docs/doxygen/html/class_multiplier.html @@ -0,0 +1,680 @@ + + + + + + + +PSP-UFU: Multiplier Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Multiplier Class Reference
+
+
+
+Inheritance diagram for Multiplier:
+
+
+ + +ControlElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Multiplier (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual void UpdatePoints ()
 
+virtual bool Solve (double input, double timeStep)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Multiplier::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Multiplier::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Multiplier::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Multiplier::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Multiplier::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual bool Multiplier::ShowForm (wxWindow * parent,
Elementelement 
)
+
+inlinevirtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_multiplier.png b/docs/doxygen/html/class_multiplier.png new file mode 100644 index 0000000..134a5b2 Binary files /dev/null and b/docs/doxygen/html/class_multiplier.png differ diff --git a/docs/doxygen/html/class_node-members.html b/docs/doxygen/html/class_node-members.html new file mode 100644 index 0000000..7fbf4d1 --- /dev/null +++ b/docs/doxygen/html/class_node-members.html @@ -0,0 +1,112 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Node Member List
+
+
+ +

This is the complete list of members for Node, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Contains(wxPoint2DDouble position) const (defined in Node)Node
GetAngle() const (defined in Node)Nodeinline
GetID() const (defined in Node)Nodeinline
GetInTrianglePts() const (defined in Node)Nodeinline
GetNodeType() const (defined in Node)Nodeinline
GetPosition() const (defined in Node)Node
GetRadius() const (defined in Node)Nodeinline
GetRect() const (defined in Node)Nodeinline
IsConnected() const (defined in Node)Nodeinline
m_angle (defined in Node)Nodeprotected
m_connected (defined in Node)Nodeprotected
m_id (defined in Node)Nodeprotected
m_movePos (defined in Node)Nodeprotected
m_moveStartPt (defined in Node)Nodeprotected
m_nodeType (defined in Node)Nodeprotected
m_radius (defined in Node)Nodeprotected
m_rect (defined in Node)Nodeprotected
m_triPts (defined in Node)Nodeprotected
Move(wxPoint2DDouble position) (defined in Node)Node
Node(wxPoint2DDouble position=wxPoint2DDouble(0, 0), NodeType nodeType=NODE_IN, double borderSize=0.0) (defined in Node)Node
NODE_IN enum value (defined in Node)Node
NODE_OUT enum value (defined in Node)Node
NodeType enum name (defined in Node)Node
Rotate(bool clockwise=true) (defined in Node)Node
RotateTriPt(double angle) (defined in Node)Node
SetAngle(double angle) (defined in Node)Nodeinline
SetConnected(bool connected=true) (defined in Node)Nodeinline
SetID(int id) (defined in Node)Nodeinline
SetNodeType(NodeType nodeType) (defined in Node)Nodeinline
SetPosition(wxPoint2DDouble position) (defined in Node)Node
SetRect(wxRect2DDouble rect) (defined in Node)Nodeinline
StartMove(wxPoint2DDouble position) (defined in Node)Node
~Node() (defined in Node)Node
+ + + + diff --git a/docs/doxygen/html/class_node.html b/docs/doxygen/html/class_node.html new file mode 100644 index 0000000..bc5d78e --- /dev/null +++ b/docs/doxygen/html/class_node.html @@ -0,0 +1,186 @@ + + + + + + + +PSP-UFU: Node Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Node Class Reference
+
+
+ + + + +

+Public Types

enum  NodeType { NODE_IN = 0, +NODE_OUT + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Node (wxPoint2DDouble position=wxPoint2DDouble(0, 0), NodeType nodeType=NODE_IN, double borderSize=0.0)
 
+wxRect2DDouble GetRect () const
 
+void SetRect (wxRect2DDouble rect)
 
+wxPoint2DDouble GetPosition () const
 
+void SetPosition (wxPoint2DDouble position)
 
+NodeType GetNodeType () const
 
+void SetNodeType (NodeType nodeType)
 
+double GetRadius () const
 
+std::vector< wxPoint2DDouble > GetInTrianglePts () const
 
+double GetAngle () const
 
+void SetAngle (double angle)
 
+void Rotate (bool clockwise=true)
 
+void RotateTriPt (double angle)
 
+void StartMove (wxPoint2DDouble position)
 
+void Move (wxPoint2DDouble position)
 
+bool Contains (wxPoint2DDouble position) const
 
+bool IsConnected () const
 
+void SetConnected (bool connected=true)
 
+int GetID () const
 
+void SetID (int id)
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+int m_id = -1
 
+wxRect2DDouble m_rect
 
+NodeType m_nodeType
 
+bool m_connected = false
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+double m_radius = 3.0
 
+std::vector< wxPoint2DDouble > m_triPts
 
+double m_angle = 0.0
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_open_g_l_colour-members.html b/docs/doxygen/html/class_open_g_l_colour-members.html new file mode 100644 index 0000000..3b0a5ef --- /dev/null +++ b/docs/doxygen/html/class_open_g_l_colour-members.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
OpenGLColour Member List
+
+
+ +

This is the complete list of members for OpenGLColour, including all inherited members.

+ + + + + + + +
GetRGBA() constOpenGLColourinline
OpenGLColour()OpenGLColour
OpenGLColour(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)OpenGLColour
rgba (defined in OpenGLColour)OpenGLColourprotected
SetRGBA(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)OpenGLColour
~OpenGLColour()OpenGLColourinlinevirtual
+ + + + diff --git a/docs/doxygen/html/class_open_g_l_colour.html b/docs/doxygen/html/class_open_g_l_colour.html new file mode 100644 index 0000000..245f748 --- /dev/null +++ b/docs/doxygen/html/class_open_g_l_colour.html @@ -0,0 +1,248 @@ + + + + + + + +PSP-UFU: OpenGLColour Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
OpenGLColour Class Reference
+
+
+ +

#include <Element.h>

+ + + + + + + + + + + + + + + + + +

+Public Member Functions

OpenGLColour ()
 Default construnctor. Use SetRGBA(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha).
 
 OpenGLColour (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
 Constructor with RGBA input. The colour values must be between 0.0 and 1.0. More...
 
+virtual ~OpenGLColour ()
 Destructor.
 
void SetRGBA (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
 Set the colour in RGBA. The colour values must be between 0.0 and 1.0. More...
 
const GLdouble * GetRGBA () const
 Get colour in RGBA. More...
 
+ + + +

+Protected Attributes

+GLdouble rgba [4]
 
+

Detailed Description

+
Author
Thales Lima Oliveira
+
Date
18/01/2017
+

Constructor & Destructor Documentation

+ +

◆ OpenGLColour()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OpenGLColour::OpenGLColour (GLdouble red,
GLdouble green,
GLdouble blue,
GLdouble alpha 
)
+
+ +

Constructor with RGBA input. The colour values must be between 0.0 and 1.0.

+
Parameters
+ + + + + +
redRed colour value.
greenGreen colour value.
blueBlue colcour value.
alphaApha channel value.
+
+
+ +
+
+

Member Function Documentation

+ +

◆ GetRGBA()

+ +
+
+ + + + + +
+ + + + + + + +
const GLdouble* OpenGLColour::GetRGBA () const
+
+inline
+
+ +

Get colour in RGBA.

+
Returns
RGBA colour.
+ +
+
+ +

◆ SetRGBA()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void OpenGLColour::SetRGBA (GLdouble red,
GLdouble green,
GLdouble blue,
GLdouble alpha 
)
+
+ +

Set the colour in RGBA. The colour values must be between 0.0 and 1.0.

+
Parameters
+ + + + + +
redRed colour value.
greenGreen colour value.
blueBlue colcour value.
alphaApha channel value.
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_plot_data-members.html b/docs/doxygen/html/class_plot_data-members.html new file mode 100644 index 0000000..e20c2a6 --- /dev/null +++ b/docs/doxygen/html/class_plot_data-members.html @@ -0,0 +1,102 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
PlotData Member List
+
+
+ +

This is the complete list of members for PlotData, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + +
GetAxis() const (defined in PlotData)PlotDatainline
GetColour() const (defined in PlotData)PlotDatainline
GetName() const (defined in PlotData)PlotDatainline
GetPenType() const (defined in PlotData)PlotDatainline
GetThick() const (defined in PlotData)PlotDatainline
GetValues() const (defined in PlotData)PlotDatainline
IsPlot() const (defined in PlotData)PlotDatainline
m_axis (defined in PlotData)PlotDataprotected
m_colour (defined in PlotData)PlotDataprotected
m_name (defined in PlotData)PlotDataprotected
m_penType (defined in PlotData)PlotDataprotected
m_plot (defined in PlotData)PlotDataprotected
m_thick (defined in PlotData)PlotDataprotected
m_values (defined in PlotData)PlotDataprotected
PlotData() (defined in PlotData)PlotDatainline
SetAxis(int axis) (defined in PlotData)PlotDatainline
SetColour(const wxColour &colour) (defined in PlotData)PlotDatainline
SetName(const wxString &name) (defined in PlotData)PlotDatainline
SetPenType(const wxPenStyle &penType) (defined in PlotData)PlotDatainline
SetPlot(bool plot) (defined in PlotData)PlotDatainline
SetThick(int thick) (defined in PlotData)PlotDatainline
SetValues(const std::vector< double > &values) (defined in PlotData)PlotDatainline
~PlotData() (defined in PlotData)PlotDatainline
+ + + + diff --git a/docs/doxygen/html/class_plot_data.html b/docs/doxygen/html/class_plot_data.html new file mode 100644 index 0000000..8685455 --- /dev/null +++ b/docs/doxygen/html/class_plot_data.html @@ -0,0 +1,161 @@ + + + + + + + +PSP-UFU: PlotData Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
PlotData Class Reference
+
+
+
+Inheritance diagram for PlotData:
+
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+void SetAxis (int axis)
 
+void SetColour (const wxColour &colour)
 
+void SetName (const wxString &name)
 
+void SetPenType (const wxPenStyle &penType)
 
+void SetPlot (bool plot)
 
+void SetThick (int thick)
 
+void SetValues (const std::vector< double > &values)
 
+int GetAxis () const
 
+wxColour GetColour () const
 
+wxString GetName () const
 
+wxPenStyle GetPenType () const
 
+bool IsPlot () const
 
+int GetThick () const
 
+std::vector< double > GetValues () const
 
+ + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< double > m_values
 
+wxString m_name
 
+bool m_plot
 
+wxColour m_colour
 
+int m_thick
 
+wxPenStyle m_penType
 
+int m_axis
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/class_plot_data.png b/docs/doxygen/html/class_plot_data.png new file mode 100644 index 0000000..3c618c7 Binary files /dev/null and b/docs/doxygen/html/class_plot_data.png differ diff --git a/docs/doxygen/html/class_power_element-members.html b/docs/doxygen/html/class_power_element-members.html new file mode 100644 index 0000000..0425f25 --- /dev/null +++ b/docs/doxygen/html/class_power_element-members.html @@ -0,0 +1,203 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
PowerElement Member List
+
+
+ +

This is the complete list of members for PowerElement, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) const =0Elementpure virtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constElementinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constElementinlinevirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) const =0Elementpure virtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Elementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Elementinlinevirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Elementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Elementinlinevirtual
UpdateSwitches()PowerElementvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~PowerElement()PowerElement
+ + + + diff --git a/docs/doxygen/html/class_power_element.html b/docs/doxygen/html/class_power_element.html new file mode 100644 index 0000000..0729e00 --- /dev/null +++ b/docs/doxygen/html/class_power_element.html @@ -0,0 +1,898 @@ + + + + + + + +PSP-UFU: PowerElement Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
PowerElement Class Reference
+
+
+ +

#include <PowerElement.h>

+
+Inheritance diagram for PowerElement:
+
+
+ + +Element +Branch +Bus +Machines +Shunt +Line +Transformer +IndMotor +SyncGenerator +SyncMotor +Capacitor +Inductor +Load + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const =0
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const =0
 Check if the element's rect intersects other rect. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Detailed Description

+
Author
Thales Lima Oliveira
+
Date
18/01/2017
+

Member Function Documentation

+ +

◆ CalculatePowerFlowPts()

+ +
+
+ + + + + +
+ + + + + + + + +
void PowerElement::CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
+
+virtual
+
+ +

Calculate the points of the power flow arrows.

+
Parameters
+ + +
edgesPoints of the element that arrows point.
+
+
+ +
+
+ +

◆ GetPlotData()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool PowerElement::GetPlotData (ElementPlotDataplotData)
+
+inlinevirtual
+
+ +

Fill the plot data.

+
Parameters
+ + +
plotDataPlot data to be filled.
+
+
+
Returns
true if the plot data was successfully filled, false otherwise.
+ +

Reimplemented in SyncGenerator, and Bus.

+ +
+
+ +

◆ GetPowerFlowDirection()

+ +
+
+ + + + + +
+ + + + + + + +
virtual PowerFlowDirection PowerElement::GetPowerFlowDirection () const
+
+inlinevirtual
+
+ +

Return the direction of the power flow.

+
Returns
Power flow direction.
+ +
+
+ +

◆ GetSwitchingData()

+ +
+
+ + + + + +
+ + + + + + + +
virtual SwitchingData PowerElement::GetSwitchingData ()
+
+inlinevirtual
+
+ +

Returns the switching data of the element.

+
Returns
Element switching data.
+ +
+
+ +

◆ GetSwitchPoint()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
wxPoint2DDouble PowerElement::GetSwitchPoint (Elementparent,
wxPoint2DDouble parentPoint,
wxPoint2DDouble secondPoint 
) const
+
+virtual
+
+ +

Get the correct switch position.

+
Parameters
+ + + + +
parentBus with switch.
parentPointPosition of node on parent.
secondPointNext point in element.
+
+
+ +
+
+ +

◆ HaveDynamicEvent()

+ +
+
+ + + + + +
+ + + + + + + +
virtual bool PowerElement::HaveDynamicEvent () const
+
+inlinevirtual
+
+ +

Check if the power element have dynamic event.

+
Returns
true if the element have dynamic an event, false otherwise.
+ +
+
+ +

◆ SetDynamicEvent()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void PowerElement::SetDynamicEvent (bool dynEvent = true)
+
+inlinevirtual
+
+ +

Set if the power element have dynamic event.

+
Parameters
+ + +
dynEventEvent occurrence.
+
+
+ +
+
+ +

◆ SetNominalVoltage()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void PowerElement::SetNominalVoltage (std::vector< double > nominalVoltage,
std::vector< ElectricalUnitnominalVoltageUnit 
)
+
+virtual
+
+ +

Set nominal voltage of the element.

+
Parameters
+ + + +
nominalVoltageValue of the nominal voltage.
nominalVoltageUnitUnit of the nominal voltage.
+
+
+ +

Reimplemented in SyncGenerator, SyncMotor, Transformer, and Line.

+ +
+
+ +

◆ SetPowerFlowDirection()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void PowerElement::SetPowerFlowDirection (PowerFlowDirection pfDirection)
+
+inlinevirtual
+
+ +

Set the direction of the power flow.

+
Parameters
+ + +
pfDirectionPower flow direction.
+
+
+ +

Reimplemented in Transformer, Line, and Machines.

+ +
+
+ +

◆ SetSwitchingData()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual void PowerElement::SetSwitchingData (SwitchingData data)
+
+inlinevirtual
+
+ +

Set the switching data of the element.

+
Parameters
+ + +
dataSwitching data.
+
+
+ +
+
+ +

◆ SwitchesContains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool PowerElement::SwitchesContains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Check if switch contains position.

+
Parameters
+ + +
positionposition to be checked.
+
+
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_power_element.png b/docs/doxygen/html/class_power_element.png new file mode 100644 index 0000000..df22b38 Binary files /dev/null and b/docs/doxygen/html/class_power_element.png differ diff --git a/docs/doxygen/html/class_power_flow-members.html b/docs/doxygen/html/class_power_flow-members.html new file mode 100644 index 0000000..1bbd2b4 --- /dev/null +++ b/docs/doxygen/html/class_power_flow-members.html @@ -0,0 +1,118 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
PowerFlow Member List
+
+
+ +

This is the complete list of members for PowerFlow, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ABCtoDQ0(std::complex< double > complexValue, double angle, double &dValue, double &qValue) (defined in ElectricCalculation)ElectricCalculation
ComplexMatrixTimesVector(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector) (defined in ElectricCalculation)ElectricCalculation
DQ0toABC(double dValue, double qValue, double angle, std::complex< double > &complexValue) (defined in ElectricCalculation)ElectricCalculation
ElectricCalculation()ElectricCalculation
GaussianElimination(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array) (defined in ElectricCalculation)ElectricCalculation
GetBusList() constElectricCalculationinline
GetCapacitorList() constElectricCalculationinline
GetElementsFromList(std::vector< Element *> elementList)ElectricCalculationvirtual
GetErrorMessage() (defined in PowerFlow)PowerFlowinlinevirtual
GetIndMotorList() constElectricCalculationinline
GetInductorList() constElectricCalculationinline
GetLineList() constElectricCalculationinline
GetLoadList() constElectricCalculationinline
GetLUDecomposition(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU) (defined in ElectricCalculation)ElectricCalculation
GetMachineModel(SyncGenerator *generator) (defined in ElectricCalculation)ElectricCalculation
GetSyncGeneratorList() constElectricCalculationinline
GetSyncMotorList() constElectricCalculationinline
GetTransformerList() constElectricCalculationinline
GetYBus(std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)ElectricCalculationvirtual
InvertMatrix(std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)ElectricCalculationvirtual
LUEvaluate(std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b) (defined in ElectricCalculation)ElectricCalculation
m_busList (defined in ElectricCalculation)ElectricCalculationprotected
m_capacitorList (defined in ElectricCalculation)ElectricCalculationprotected
m_errorMsg (defined in PowerFlow)PowerFlowprotected
m_indMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_inductorList (defined in ElectricCalculation)ElectricCalculationprotected
m_lineList (defined in ElectricCalculation)ElectricCalculationprotected
m_loadList (defined in ElectricCalculation)ElectricCalculationprotected
m_powerElementList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncGeneratorList (defined in ElectricCalculation)ElectricCalculationprotected
m_syncMotorList (defined in ElectricCalculation)ElectricCalculationprotected
m_transformerList (defined in ElectricCalculation)ElectricCalculationprotected
m_yBus (defined in PowerFlow)PowerFlowprotected
PowerFlow() (defined in PowerFlow)PowerFlow
PowerFlow(std::vector< Element *> elementList) (defined in PowerFlow)PowerFlow
RunGaussSeidel(double systemPowerBase=100e6, int maxIteration=5000, double error=1e-6, double initAngle=0.0, double accFactor=1.0) (defined in PowerFlow)PowerFlowvirtual
UpdateElementsPowerFlow(std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)ElectricCalculationvirtual
~ElectricCalculation()ElectricCalculation
~PowerFlow() (defined in PowerFlow)PowerFlow
+ + + + diff --git a/docs/doxygen/html/class_power_flow.html b/docs/doxygen/html/class_power_flow.html new file mode 100644 index 0000000..1bd4c05 --- /dev/null +++ b/docs/doxygen/html/class_power_flow.html @@ -0,0 +1,215 @@ + + + + + + + +PSP-UFU: PowerFlow Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
PowerFlow Class Reference
+
+
+
+Inheritance diagram for PowerFlow:
+
+
+ + +ElectricCalculation + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

PowerFlow (std::vector< Element *> elementList)
 
+virtual bool RunGaussSeidel (double systemPowerBase=100e6, int maxIteration=5000, double error=1e-6, double initAngle=0.0, double accFactor=1.0)
 
+virtual wxString GetErrorMessage ()
 
- Public Member Functions inherited from ElectricCalculation
ElectricCalculation ()
 Constructor.
 
~ElectricCalculation ()
 Destructor.
 
virtual void GetElementsFromList (std::vector< Element *> elementList)
 Separate the power elements from a generic list. More...
 
virtual bool GetYBus (std::vector< std::vector< std::complex< double > > > &yBus, double systemPowerBase, YBusSequence sequence=POSITIVE_SEQ, bool includeSyncMachines=false, bool allLoadsAsImpedances=false)
 Get the admittance matrix from the list of elements (use GetElementsFromList first). More...
 
virtual bool InvertMatrix (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &inverse)
 Invert a matrix. More...
 
virtual void UpdateElementsPowerFlow (std::vector< std::complex< double > > voltage, std::vector< std::complex< double > > power, std::vector< BusType > busType, std::vector< ReactiveLimits > reactiveLimit, double systemPowerBase)
 Update the elements after the power flow calculation. More...
 
+void ABCtoDQ0 (std::complex< double > complexValue, double angle, double &dValue, double &qValue)
 
+void DQ0toABC (double dValue, double qValue, double angle, std::complex< double > &complexValue)
 
+std::vector< std::complex< double > > GaussianElimination (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > array)
 
+Machines::SyncMachineModel GetMachineModel (SyncGenerator *generator)
 
+std::vector< std::complex< double > > ComplexMatrixTimesVector (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::complex< double > > vector)
 
+void GetLUDecomposition (std::vector< std::vector< std::complex< double > > > matrix, std::vector< std::vector< std::complex< double > > > &matrixL, std::vector< std::vector< std::complex< double > > > &matrixU)
 
+std::vector< std::complex< double > > LUEvaluate (std::vector< std::vector< std::complex< double > > > u, std::vector< std::vector< std::complex< double > > > l, std::vector< std::complex< double > > b)
 
const std::vector< Bus * > GetBusList () const
 Get the buses of the system (use GetElementsFromList first). More...
 
const std::vector< Capacitor * > GetCapacitorList () const
 Get the capacitors of the system (use GetElementsFromList first). More...
 
const std::vector< IndMotor * > GetIndMotorList () const
 Get the induction motors of the system (use GetElementsFromList first). More...
 
const std::vector< Inductor * > GetInductorList () const
 Get the inductors of the system (use GetElementsFromList first). More...
 
const std::vector< Line * > GetLineList () const
 Get the lines of the system (use GetElementsFromList first). More...
 
const std::vector< Load * > GetLoadList () const
 Get the loads of the system (use GetElementsFromList first). More...
 
const std::vector< SyncGenerator * > GetSyncGeneratorList () const
 Get the synchronous generators of the system (use GetElementsFromList first). More...
 
const std::vector< SyncMotor * > GetSyncMotorList () const
 Get the synchronous motors of the system (use GetElementsFromList first). More...
 
const std::vector< Transformer * > GetTransformerList () const
 Get the transformers of the system (use GetElementsFromList first). More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< std::vector< std::complex< double > > > m_yBus
 
+wxString m_errorMsg = ""
 
- Protected Attributes inherited from ElectricCalculation
+std::vector< PowerElement * > m_powerElementList
 
+std::vector< Bus * > m_busList
 
+std::vector< Capacitor * > m_capacitorList
 
+std::vector< IndMotor * > m_indMotorList
 
+std::vector< Inductor * > m_inductorList
 
+std::vector< Line * > m_lineList
 
+std::vector< Load * > m_loadList
 
+std::vector< SyncGenerator * > m_syncGeneratorList
 
+std::vector< SyncMotor * > m_syncMotorList
 
+std::vector< Transformer * > m_transformerList
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_power_flow.png b/docs/doxygen/html/class_power_flow.png new file mode 100644 index 0000000..b5cd2e8 Binary files /dev/null and b/docs/doxygen/html/class_power_flow.png differ diff --git a/docs/doxygen/html/class_properties_data-members.html b/docs/doxygen/html/class_properties_data-members.html new file mode 100644 index 0000000..46be15d --- /dev/null +++ b/docs/doxygen/html/class_properties_data-members.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
PropertiesData Member List
+
+
+ +

This is the complete list of members for PropertiesData, including all inherited members.

+ + + + + + + + + +
GetGeneralPropertiesData() const (defined in PropertiesData)PropertiesDatainline
GetSimulationPropertiesData() const (defined in PropertiesData)PropertiesDatainline
m_genData (defined in PropertiesData)PropertiesDataprotected
m_simulData (defined in PropertiesData)PropertiesDataprotected
PropertiesData() (defined in PropertiesData)PropertiesData
SetGeneralPropertiesData(GeneralData generalData) (defined in PropertiesData)PropertiesDatainline
SetSimulationPropertiesData(SimulationData simulationData) (defined in PropertiesData)PropertiesDatainline
~PropertiesData() (defined in PropertiesData)PropertiesData
+ + + + diff --git a/docs/doxygen/html/class_properties_data.html b/docs/doxygen/html/class_properties_data.html new file mode 100644 index 0000000..909168d --- /dev/null +++ b/docs/doxygen/html/class_properties_data.html @@ -0,0 +1,109 @@ + + + + + + + +PSP-UFU: PropertiesData Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
PropertiesData Class Reference
+
+
+ + + + + + + + + + +

+Public Member Functions

+SimulationData GetSimulationPropertiesData () const
 
+void SetSimulationPropertiesData (SimulationData simulationData)
 
+GeneralData GetGeneralPropertiesData () const
 
+void SetGeneralPropertiesData (GeneralData generalData)
 
+ + + + + +

+Protected Attributes

+SimulationData m_simulData
 
+GeneralData m_genData
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter-members.html b/docs/doxygen/html/class_rate_limiter-members.html new file mode 100644 index 0000000..fd9fadd --- /dev/null +++ b/docs/doxygen/html/class_rate_limiter-members.html @@ -0,0 +1,199 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
RateLimiter Member List
+
+
+ +

This is the complete list of members for RateLimiter, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constRateLimiterinlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constRateLimitervirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()RateLimitervirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetLowLimit() const (defined in RateLimiter)RateLimiterinline
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetTipText() constElementinlinevirtual
GetUpLimit() const (defined in RateLimiter)RateLimiterinline
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constRateLimiterinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_lowLimit (defined in RateLimiter)RateLimiterprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_upLimit (defined in RateLimiter)RateLimiterprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RateLimiter(int id) (defined in RateLimiter)RateLimiter
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)RateLimitervirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetLowLimit(double lowLimit) (defined in RateLimiter)RateLimiterinline
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetUpLimit(double upLimit) (defined in RateLimiter)RateLimiterinline
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)RateLimitervirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in RateLimiter)RateLimitervirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in RateLimiter)RateLimitervirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~RateLimiter() (defined in RateLimiter)RateLimiter
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter.html b/docs/doxygen/html/class_rate_limiter.html new file mode 100644 index 0000000..96edd33 --- /dev/null +++ b/docs/doxygen/html/class_rate_limiter.html @@ -0,0 +1,702 @@ + + + + + + + +PSP-UFU: RateLimiter Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
RateLimiter Class Reference
+
+
+
+Inheritance diagram for RateLimiter:
+
+
+ + +ControlElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

RateLimiter (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual void UpdatePoints ()
 
+double GetUpLimit () const
 
+double GetLowLimit () const
 
+void SetUpLimit (double upLimit)
 
+void SetLowLimit (double lowLimit)
 
+virtual bool Solve (double input, double timeStep)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double m_upLimit = 5.0
 
+double m_lowLimit = -5.0
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool RateLimiter::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void RateLimiter::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * RateLimiter::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool RateLimiter::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void RateLimiter::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool RateLimiter::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter.png b/docs/doxygen/html/class_rate_limiter.png new file mode 100644 index 0000000..5d8973f Binary files /dev/null and b/docs/doxygen/html/class_rate_limiter.png differ diff --git a/docs/doxygen/html/class_rate_limiter_form-members.html b/docs/doxygen/html/class_rate_limiter_form-members.html new file mode 100644 index 0000000..3a40bed --- /dev/null +++ b/docs/doxygen/html/class_rate_limiter_form-members.html @@ -0,0 +1,104 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
RateLimiterForm Member List
+
+
+ +

This is the complete list of members for RateLimiterForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetButtonOK() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetNotebook() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetPanelGeneral() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetStaticTextLowLimit() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetStaticTextUpLimiter() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetTextCtrlLowLimit() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetTextCtrlUpLimit() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
m_ButtonCancel (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_buttonOK (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_notebook (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_panelGeneral (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_parent (defined in RateLimiterForm)RateLimiterFormprotected
m_rateLimiter (defined in RateLimiterForm)RateLimiterFormprotected
m_staticTextLowLimit (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_staticTextUpLimiter (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_textCtrlLowLimit (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_textCtrlUpLimit (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in RateLimiterForm)RateLimiterForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in RateLimiterForm)RateLimiterFormprotectedvirtual
RateLimiterForm(wxWindow *parent, RateLimiter *rateLimiter) (defined in RateLimiterForm)RateLimiterForm
RateLimiterFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Rate limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in RateLimiterFormBase)RateLimiterFormBase
ValidateData() (defined in RateLimiterForm)RateLimiterForm
~RateLimiterForm() (defined in RateLimiterForm)RateLimiterFormvirtual
~RateLimiterFormBase() (defined in RateLimiterFormBase)RateLimiterFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter_form.html b/docs/doxygen/html/class_rate_limiter_form.html new file mode 100644 index 0000000..e95b2bb --- /dev/null +++ b/docs/doxygen/html/class_rate_limiter_form.html @@ -0,0 +1,175 @@ + + + + + + + +PSP-UFU: RateLimiterForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
RateLimiterForm Class Reference
+
+
+
+Inheritance diagram for RateLimiterForm:
+
+
+ + +RateLimiterFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

RateLimiterForm (wxWindow *parent, RateLimiter *rateLimiter)
 
+bool ValidateData ()
 
- Public Member Functions inherited from RateLimiterFormBase
+wxStaticText * GetStaticTextUpLimiter ()
 
+wxTextCtrl * GetTextCtrlUpLimit ()
 
+wxStaticText * GetStaticTextLowLimit ()
 
+wxTextCtrl * GetTextCtrlLowLimit ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
RateLimiterFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Rate limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+RateLimiterm_rateLimiter = NULL
 
- Protected Attributes inherited from RateLimiterFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextUpLimiter
 
+wxTextCtrl * m_textCtrlUpLimit
 
+wxStaticText * m_staticTextLowLimit
 
+wxTextCtrl * m_textCtrlLowLimit
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter_form.png b/docs/doxygen/html/class_rate_limiter_form.png new file mode 100644 index 0000000..352db44 Binary files /dev/null and b/docs/doxygen/html/class_rate_limiter_form.png differ diff --git a/docs/doxygen/html/class_rate_limiter_form_base-members.html b/docs/doxygen/html/class_rate_limiter_form_base-members.html new file mode 100644 index 0000000..2aa7a68 --- /dev/null +++ b/docs/doxygen/html/class_rate_limiter_form_base-members.html @@ -0,0 +1,99 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
RateLimiterFormBase Member List
+
+
+ +

This is the complete list of members for RateLimiterFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetButtonOK() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetNotebook() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetPanelGeneral() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetStaticTextLowLimit() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetStaticTextUpLimiter() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetTextCtrlLowLimit() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
GetTextCtrlUpLimit() (defined in RateLimiterFormBase)RateLimiterFormBaseinline
m_ButtonCancel (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_buttonOK (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_notebook (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_panelGeneral (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_staticTextLowLimit (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_staticTextUpLimiter (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_textCtrlLowLimit (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
m_textCtrlUpLimit (defined in RateLimiterFormBase)RateLimiterFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in RateLimiterFormBase)RateLimiterFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in RateLimiterFormBase)RateLimiterFormBaseinlineprotectedvirtual
RateLimiterFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Rate limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in RateLimiterFormBase)RateLimiterFormBase
~RateLimiterFormBase() (defined in RateLimiterFormBase)RateLimiterFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter_form_base.html b/docs/doxygen/html/class_rate_limiter_form_base.html new file mode 100644 index 0000000..97375d7 --- /dev/null +++ b/docs/doxygen/html/class_rate_limiter_form_base.html @@ -0,0 +1,161 @@ + + + + + + + +PSP-UFU: RateLimiterFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
RateLimiterFormBase Class Reference
+
+
+
+Inheritance diagram for RateLimiterFormBase:
+
+
+ + +RateLimiterForm + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextUpLimiter ()
 
+wxTextCtrl * GetTextCtrlUpLimit ()
 
+wxStaticText * GetStaticTextLowLimit ()
 
+wxTextCtrl * GetTextCtrlLowLimit ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
RateLimiterFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Rate limiter"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextUpLimiter
 
+wxTextCtrl * m_textCtrlUpLimit
 
+wxStaticText * m_staticTextLowLimit
 
+wxTextCtrl * m_textCtrlLowLimit
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_rate_limiter_form_base.png b/docs/doxygen/html/class_rate_limiter_form_base.png new file mode 100644 index 0000000..f3a889b Binary files /dev/null and b/docs/doxygen/html/class_rate_limiter_form_base.png differ diff --git a/docs/doxygen/html/class_reactive_shunt_element_form-members.html b/docs/doxygen/html/class_reactive_shunt_element_form-members.html new file mode 100644 index 0000000..85edd44 --- /dev/null +++ b/docs/doxygen/html/class_reactive_shunt_element_form-members.html @@ -0,0 +1,111 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ReactiveShuntElementForm Member List
+
+
+ +

This is the complete list of members for ReactiveShuntElementForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetButtonOK() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetButtonStabButton() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetChoiceReactivePower() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetNotebook() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetPanelGeneral() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetStaticTextName() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetStaticTextReactivePower() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetTextCtrlName() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetTextCtrlReactivePower() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
m_buttonCancel (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_buttonOK (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_buttonStabButton (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_capacitor (defined in ReactiveShuntElementForm)ReactiveShuntElementFormprotected
m_choiceReactivePower (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_inductor (defined in ReactiveShuntElementForm)ReactiveShuntElementFormprotected
m_notebook (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_panelGeneral (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_parent (defined in ReactiveShuntElementForm)ReactiveShuntElementFormprotected
m_staticTextName (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_staticTextReactivePower (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_textCtrlName (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_textCtrlReactivePower (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ReactiveShuntElementForm)ReactiveShuntElementForminlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in ReactiveShuntElementForm)ReactiveShuntElementFormprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in ReactiveShuntElementForm)ReactiveShuntElementFormprotectedvirtual
ReactiveShuntElementForm(wxWindow *parent, Capacitor *capacitor) (defined in ReactiveShuntElementForm)ReactiveShuntElementForm
ReactiveShuntElementForm(wxWindow *parent, Inductor *inductor) (defined in ReactiveShuntElementForm)ReactiveShuntElementForm
ReactiveShuntElementFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Reactive shunt element"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBase
ValidateData() (defined in ReactiveShuntElementForm)ReactiveShuntElementFormvirtual
~ReactiveShuntElementForm() (defined in ReactiveShuntElementForm)ReactiveShuntElementFormvirtual
~ReactiveShuntElementFormBase() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_reactive_shunt_element_form.html b/docs/doxygen/html/class_reactive_shunt_element_form.html new file mode 100644 index 0000000..c5c3ada --- /dev/null +++ b/docs/doxygen/html/class_reactive_shunt_element_form.html @@ -0,0 +1,196 @@ + + + + + + + +PSP-UFU: ReactiveShuntElementForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ReactiveShuntElementForm Class Reference
+
+
+
+Inheritance diagram for ReactiveShuntElementForm:
+
+
+ + +ReactiveShuntElementFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

ReactiveShuntElementForm (wxWindow *parent, Capacitor *capacitor)
 
ReactiveShuntElementForm (wxWindow *parent, Inductor *inductor)
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from ReactiveShuntElementFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStabButton ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
ReactiveShuntElementFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Reactive shunt element"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent
 
+Capacitorm_capacitor = NULL
 
+Inductorm_inductor = NULL
 
- Protected Attributes inherited from ReactiveShuntElementFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxButton * m_buttonStabButton
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_reactive_shunt_element_form.png b/docs/doxygen/html/class_reactive_shunt_element_form.png new file mode 100644 index 0000000..5437c49 Binary files /dev/null and b/docs/doxygen/html/class_reactive_shunt_element_form.png differ diff --git a/docs/doxygen/html/class_reactive_shunt_element_form_base-members.html b/docs/doxygen/html/class_reactive_shunt_element_form_base-members.html new file mode 100644 index 0000000..26f71aa --- /dev/null +++ b/docs/doxygen/html/class_reactive_shunt_element_form_base-members.html @@ -0,0 +1,104 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ReactiveShuntElementFormBase Member List
+
+
+ +

This is the complete list of members for ReactiveShuntElementFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetButtonOK() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetButtonStabButton() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetChoiceReactivePower() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetNotebook() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetPanelGeneral() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetStaticTextName() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetStaticTextReactivePower() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetTextCtrlName() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
GetTextCtrlReactivePower() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinline
m_buttonCancel (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_buttonOK (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_buttonStabButton (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_choiceReactivePower (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_notebook (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_panelGeneral (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_staticTextName (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_staticTextReactivePower (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_textCtrlName (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
m_textCtrlReactivePower (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinlineprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBaseinlineprotectedvirtual
ReactiveShuntElementFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Reactive shunt element"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBase
~ReactiveShuntElementFormBase() (defined in ReactiveShuntElementFormBase)ReactiveShuntElementFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_reactive_shunt_element_form_base.html b/docs/doxygen/html/class_reactive_shunt_element_form_base.html new file mode 100644 index 0000000..50f9c10 --- /dev/null +++ b/docs/doxygen/html/class_reactive_shunt_element_form_base.html @@ -0,0 +1,176 @@ + + + + + + + +PSP-UFU: ReactiveShuntElementFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ReactiveShuntElementFormBase Class Reference
+
+
+
+Inheritance diagram for ReactiveShuntElementFormBase:
+
+
+ + +ReactiveShuntElementForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStabButton ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
ReactiveShuntElementFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Reactive shunt element"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxButton * m_buttonStabButton
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_reactive_shunt_element_form_base.png b/docs/doxygen/html/class_reactive_shunt_element_form_base.png new file mode 100644 index 0000000..2ed9d48 Binary files /dev/null and b/docs/doxygen/html/class_reactive_shunt_element_form_base.png differ diff --git a/docs/doxygen/html/class_shunt-members.html b/docs/doxygen/html/class_shunt-members.html new file mode 100644 index 0000000..5cbe1f6 --- /dev/null +++ b/docs/doxygen/html/class_shunt-members.html @@ -0,0 +1,209 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Shunt Member List
+
+
+ +

This is the complete list of members for Shunt, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constShuntinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constElementinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawGround(wxPoint2DDouble position) const (defined in Shunt)Shuntprotected
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Elementinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constElementinlinevirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constShuntinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Shunt)Shuntprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Shuntvirtual
MoveNode(Element *element, wxPoint2DDouble position)Shuntvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Shuntvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Shuntvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Elementinlinevirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Shuntvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Shuntvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)PowerElementvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)PowerElementinlinevirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
Shunt() (defined in Shunt)Shunt
StartMove(wxPoint2DDouble position)Shuntvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
UpdateNodes()Shuntvirtual
UpdatePowerFlowArrowsPosition() (defined in Shunt)Shuntprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Shunt)Shuntprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~PowerElement()PowerElement
~Shunt() (defined in Shunt)Shunt
+ + + + diff --git a/docs/doxygen/html/class_shunt.html b/docs/doxygen/html/class_shunt.html new file mode 100644 index 0000000..771d5b0 --- /dev/null +++ b/docs/doxygen/html/class_shunt.html @@ -0,0 +1,863 @@ + + + + + + + +PSP-UFU: Shunt Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Shunt Class Reference
+
+
+
+Inheritance diagram for Shunt:
+
+
+ + +PowerElement +Element +Capacitor +Inductor +Load + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + +

+Protected Member Functions

+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+void DrawGround (wxPoint2DDouble position) const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Shunt::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +

Reimplemented in Capacitor, and Inductor.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Shunt::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +

Reimplemented in Capacitor, and Inductor.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void Shunt::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ MoveNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Shunt::MoveNode (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Move a node. StartMove(wxPoint2DDouble position) before start moving.

+
Parameters
+ + + +
parentNode's parent.
positionNew node position.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ NodeContains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Shunt::NodeContains (wxPoint2DDouble position)
+
+virtual
+
+ +

Check if a node contains a point. If contains, set the attributes related to node movement.

+
Parameters
+ + +
positionPosition tested.
+
+
+
Returns
True if at least one node contains the position, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ RemoveParent()

+ +
+
+ + + + + +
+ + + + + + + + +
void Shunt::RemoveParent (Elementparent)
+
+virtual
+
+ +

Remove a parent.

+
Parameters
+ + +
parentParent to be removed.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ RotateNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Shunt::RotateNode (Elementparent,
bool clockwise = true 
)
+
+virtual
+
+ +

Rotate a node.

+
Parameters
+ + + +
parentNode's parent.
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ SetNodeParent()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Shunt::SetNodeParent (Elementparent)
+
+virtual
+
+ +

Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated.

+
Parameters
+ + +
parentNode parent.
+
+
+
Returns
True if was possible to set the parent.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void Shunt::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_shunt.png b/docs/doxygen/html/class_shunt.png new file mode 100644 index 0000000..41baf6d Binary files /dev/null and b/docs/doxygen/html/class_shunt.png differ diff --git a/docs/doxygen/html/class_simulations_settings_form-members.html b/docs/doxygen/html/class_simulations_settings_form-members.html new file mode 100644 index 0000000..5dc1ab1 --- /dev/null +++ b/docs/doxygen/html/class_simulations_settings_form-members.html @@ -0,0 +1,164 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SimulationsSettingsForm Member List
+
+
+ +

This is the complete list of members for SimulationsSettingsForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetButtonOK() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetCheckBoxFaultAfterPF() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetCheckBoxSCPowerAfterPF() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetCheckBoxUseCOI() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetChoiceBasePower() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetChoicePFMethod() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetNotebook() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetPanelGeneral() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetPanelPF() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetPanelStability() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextAccFactor() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextBasePower() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextCtrlStepRation() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextFreq() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextFreqUnit() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPFMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPFMethod() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPFTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPrintTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextSec_1() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextSec_2() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextSec_4() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTimeStep() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTSimTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTStabMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTStabTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlAccFactor() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlbasePower() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlCtrlStepRatio() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlFreq() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlPFMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlPFTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlPrintTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlSimTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlStabMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlStabTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlTimeStep() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
m_buttonCancel (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_buttonOK (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_checkBoxFaultAfterPF (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_checkBoxSCPowerAfterPF (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_checkBoxUseCOI (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_choiceBasePower (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_choicePFMethod (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_notebook (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_panelGeneral (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_panelPF (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_panelStability (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_properties (defined in SimulationsSettingsForm)SimulationsSettingsFormprotected
m_staticTextAccFactor (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextBasePower (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextCtrlStepRation (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextFreq (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextFreqUnit (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPFMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPFMethod (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPFTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPrintTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextSec_1 (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextSec_2 (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextSec_4 (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTimeStep (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTSimTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTStabMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTStabTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlAccFactor (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlbasePower (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlCtrlStepRatio (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlFreq (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlPFMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlPFTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlPrintTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlSimTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlStabMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlStabTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlTimeStep (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
OnButtonCancelClick(wxCommandEvent &event) (defined in SimulationsSettingsForm)SimulationsSettingsForminlineprotectedvirtual
OnButtonOKClick(wxCommandEvent &event) (defined in SimulationsSettingsForm)SimulationsSettingsFormprotectedvirtual
OnPFMethodChoiceSelected(wxCommandEvent &event) (defined in SimulationsSettingsForm)SimulationsSettingsFormprotectedvirtual
SimulationsSettingsForm(wxWindow *parent, PropertiesData *properties) (defined in SimulationsSettingsForm)SimulationsSettingsForm
SimulationsSettingsFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Simulation settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBase
ValidateData() (defined in SimulationsSettingsForm)SimulationsSettingsFormprotectedvirtual
~SimulationsSettingsForm() (defined in SimulationsSettingsForm)SimulationsSettingsFormvirtual
~SimulationsSettingsFormBase() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_simulations_settings_form.html b/docs/doxygen/html/class_simulations_settings_form.html new file mode 100644 index 0000000..eb30658 --- /dev/null +++ b/docs/doxygen/html/class_simulations_settings_form.html @@ -0,0 +1,355 @@ + + + + + + + +PSP-UFU: SimulationsSettingsForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SimulationsSettingsForm Class Reference
+
+
+
+Inheritance diagram for SimulationsSettingsForm:
+
+
+ + +SimulationsSettingsFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SimulationsSettingsForm (wxWindow *parent, PropertiesData *properties)
 
- Public Member Functions inherited from SimulationsSettingsFormBase
+wxStaticText * GetStaticTextBasePower ()
 
+wxTextCtrl * GetTextCtrlbasePower ()
 
+wxChoice * GetChoiceBasePower ()
 
+wxCheckBox * GetCheckBoxFaultAfterPF ()
 
+wxCheckBox * GetCheckBoxSCPowerAfterPF ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextPFMethod ()
 
+wxChoice * GetChoicePFMethod ()
 
+wxStaticText * GetStaticTextAccFactor ()
 
+wxTextCtrl * GetTextCtrlAccFactor ()
 
+wxStaticText * GetStaticTextPFTolerance ()
 
+wxTextCtrl * GetTextCtrlPFTolerance ()
 
+wxStaticText * GetStaticTextPFMaxIterations ()
 
+wxTextCtrl * GetTextCtrlPFMaxIterations ()
 
+wxPanel * GetPanelPF ()
 
+wxStaticText * GetStaticTextTimeStep ()
 
+wxTextCtrl * GetTextCtrlTimeStep ()
 
+wxStaticText * GetStaticTextSec_1 ()
 
+wxStaticText * GetStaticTextTSimTime ()
 
+wxTextCtrl * GetTextCtrlSimTime ()
 
+wxStaticText * GetStaticTextSec_2 ()
 
+wxStaticText * GetStaticTextFreq ()
 
+wxTextCtrl * GetTextCtrlFreq ()
 
+wxStaticText * GetStaticTextFreqUnit ()
 
+wxStaticText * GetStaticTextTStabTolerance ()
 
+wxTextCtrl * GetTextCtrlStabTolerance ()
 
+wxStaticText * GetStaticTextTStabMaxIterations ()
 
+wxTextCtrl * GetTextCtrlStabMaxIterations ()
 
+wxStaticText * GetStaticTextCtrlStepRation ()
 
+wxTextCtrl * GetTextCtrlCtrlStepRatio ()
 
+wxStaticText * GetStaticTextPrintTime ()
 
+wxTextCtrl * GetTextCtrlPrintTime ()
 
+wxStaticText * GetStaticTextSec_4 ()
 
+wxCheckBox * GetCheckBoxUseCOI ()
 
+wxPanel * GetPanelStability ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SimulationsSettingsFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Simulation settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + +

+Protected Member Functions

+virtual void OnPFMethodChoiceSelected (wxCommandEvent &event)
 
+virtual void OnButtonCancelClick (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual bool ValidateData ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+PropertiesDatam_properties
 
- Protected Attributes inherited from SimulationsSettingsFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextBasePower
 
+wxTextCtrl * m_textCtrlbasePower
 
+wxChoice * m_choiceBasePower
 
+wxCheckBox * m_checkBoxFaultAfterPF
 
+wxCheckBox * m_checkBoxSCPowerAfterPF
 
+wxPanel * m_panelPF
 
+wxStaticText * m_staticTextPFMethod
 
+wxChoice * m_choicePFMethod
 
+wxStaticText * m_staticTextAccFactor
 
+wxTextCtrl * m_textCtrlAccFactor
 
+wxStaticText * m_staticTextPFTolerance
 
+wxTextCtrl * m_textCtrlPFTolerance
 
+wxStaticText * m_staticTextPFMaxIterations
 
+wxTextCtrl * m_textCtrlPFMaxIterations
 
+wxPanel * m_panelStability
 
+wxStaticText * m_staticTextTimeStep
 
+wxTextCtrl * m_textCtrlTimeStep
 
+wxStaticText * m_staticTextSec_1
 
+wxStaticText * m_staticTextTSimTime
 
+wxTextCtrl * m_textCtrlSimTime
 
+wxStaticText * m_staticTextSec_2
 
+wxStaticText * m_staticTextFreq
 
+wxTextCtrl * m_textCtrlFreq
 
+wxStaticText * m_staticTextFreqUnit
 
+wxStaticText * m_staticTextTStabTolerance
 
+wxTextCtrl * m_textCtrlStabTolerance
 
+wxStaticText * m_staticTextTStabMaxIterations
 
+wxTextCtrl * m_textCtrlStabMaxIterations
 
+wxStaticText * m_staticTextCtrlStepRation
 
+wxTextCtrl * m_textCtrlCtrlStepRatio
 
+wxStaticText * m_staticTextPrintTime
 
+wxTextCtrl * m_textCtrlPrintTime
 
+wxStaticText * m_staticTextSec_4
 
+wxCheckBox * m_checkBoxUseCOI
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_simulations_settings_form.png b/docs/doxygen/html/class_simulations_settings_form.png new file mode 100644 index 0000000..37fa839 Binary files /dev/null and b/docs/doxygen/html/class_simulations_settings_form.png differ diff --git a/docs/doxygen/html/class_simulations_settings_form_base-members.html b/docs/doxygen/html/class_simulations_settings_form_base-members.html new file mode 100644 index 0000000..b6d1fe2 --- /dev/null +++ b/docs/doxygen/html/class_simulations_settings_form_base-members.html @@ -0,0 +1,160 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SimulationsSettingsFormBase Member List
+
+
+ +

This is the complete list of members for SimulationsSettingsFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetButtonOK() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetCheckBoxFaultAfterPF() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetCheckBoxSCPowerAfterPF() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetCheckBoxUseCOI() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetChoiceBasePower() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetChoicePFMethod() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetNotebook() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetPanelGeneral() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetPanelPF() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetPanelStability() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextAccFactor() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextBasePower() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextCtrlStepRation() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextFreq() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextFreqUnit() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPFMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPFMethod() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPFTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextPrintTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextSec_1() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextSec_2() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextSec_4() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTimeStep() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTSimTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTStabMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetStaticTextTStabTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlAccFactor() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlbasePower() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlCtrlStepRatio() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlFreq() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlPFMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlPFTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlPrintTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlSimTime() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlStabMaxIterations() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlStabTolerance() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
GetTextCtrlTimeStep() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinline
m_buttonCancel (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_buttonOK (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_checkBoxFaultAfterPF (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_checkBoxSCPowerAfterPF (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_checkBoxUseCOI (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_choiceBasePower (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_choicePFMethod (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_notebook (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_panelGeneral (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_panelPF (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_panelStability (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextAccFactor (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextBasePower (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextCtrlStepRation (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextFreq (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextFreqUnit (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPFMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPFMethod (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPFTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextPrintTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextSec_1 (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextSec_2 (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextSec_4 (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTimeStep (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTSimTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTStabMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_staticTextTStabTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlAccFactor (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlbasePower (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlCtrlStepRatio (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlFreq (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlPFMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlPFTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlPrintTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlSimTime (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlStabMaxIterations (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlStabTolerance (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
m_textCtrlTimeStep (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseprotected
OnButtonCancelClick(wxCommandEvent &event) (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinlineprotectedvirtual
OnButtonOKClick(wxCommandEvent &event) (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinlineprotectedvirtual
OnPFMethodChoiceSelected(wxCommandEvent &event) (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBaseinlineprotectedvirtual
SimulationsSettingsFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Simulation settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBase
~SimulationsSettingsFormBase() (defined in SimulationsSettingsFormBase)SimulationsSettingsFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_simulations_settings_form_base.html b/docs/doxygen/html/class_simulations_settings_form_base.html new file mode 100644 index 0000000..7613ac1 --- /dev/null +++ b/docs/doxygen/html/class_simulations_settings_form_base.html @@ -0,0 +1,344 @@ + + + + + + + +PSP-UFU: SimulationsSettingsFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SimulationsSettingsFormBase Class Reference
+
+
+
+Inheritance diagram for SimulationsSettingsFormBase:
+
+
+ + +SimulationsSettingsForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextBasePower ()
 
+wxTextCtrl * GetTextCtrlbasePower ()
 
+wxChoice * GetChoiceBasePower ()
 
+wxCheckBox * GetCheckBoxFaultAfterPF ()
 
+wxCheckBox * GetCheckBoxSCPowerAfterPF ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextPFMethod ()
 
+wxChoice * GetChoicePFMethod ()
 
+wxStaticText * GetStaticTextAccFactor ()
 
+wxTextCtrl * GetTextCtrlAccFactor ()
 
+wxStaticText * GetStaticTextPFTolerance ()
 
+wxTextCtrl * GetTextCtrlPFTolerance ()
 
+wxStaticText * GetStaticTextPFMaxIterations ()
 
+wxTextCtrl * GetTextCtrlPFMaxIterations ()
 
+wxPanel * GetPanelPF ()
 
+wxStaticText * GetStaticTextTimeStep ()
 
+wxTextCtrl * GetTextCtrlTimeStep ()
 
+wxStaticText * GetStaticTextSec_1 ()
 
+wxStaticText * GetStaticTextTSimTime ()
 
+wxTextCtrl * GetTextCtrlSimTime ()
 
+wxStaticText * GetStaticTextSec_2 ()
 
+wxStaticText * GetStaticTextFreq ()
 
+wxTextCtrl * GetTextCtrlFreq ()
 
+wxStaticText * GetStaticTextFreqUnit ()
 
+wxStaticText * GetStaticTextTStabTolerance ()
 
+wxTextCtrl * GetTextCtrlStabTolerance ()
 
+wxStaticText * GetStaticTextTStabMaxIterations ()
 
+wxTextCtrl * GetTextCtrlStabMaxIterations ()
 
+wxStaticText * GetStaticTextCtrlStepRation ()
 
+wxTextCtrl * GetTextCtrlCtrlStepRatio ()
 
+wxStaticText * GetStaticTextPrintTime ()
 
+wxTextCtrl * GetTextCtrlPrintTime ()
 
+wxStaticText * GetStaticTextSec_4 ()
 
+wxCheckBox * GetCheckBoxUseCOI ()
 
+wxPanel * GetPanelStability ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SimulationsSettingsFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Simulation settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnPFMethodChoiceSelected (wxCommandEvent &event)
 
+virtual void OnButtonOKClick (wxCommandEvent &event)
 
+virtual void OnButtonCancelClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextBasePower
 
+wxTextCtrl * m_textCtrlbasePower
 
+wxChoice * m_choiceBasePower
 
+wxCheckBox * m_checkBoxFaultAfterPF
 
+wxCheckBox * m_checkBoxSCPowerAfterPF
 
+wxPanel * m_panelPF
 
+wxStaticText * m_staticTextPFMethod
 
+wxChoice * m_choicePFMethod
 
+wxStaticText * m_staticTextAccFactor
 
+wxTextCtrl * m_textCtrlAccFactor
 
+wxStaticText * m_staticTextPFTolerance
 
+wxTextCtrl * m_textCtrlPFTolerance
 
+wxStaticText * m_staticTextPFMaxIterations
 
+wxTextCtrl * m_textCtrlPFMaxIterations
 
+wxPanel * m_panelStability
 
+wxStaticText * m_staticTextTimeStep
 
+wxTextCtrl * m_textCtrlTimeStep
 
+wxStaticText * m_staticTextSec_1
 
+wxStaticText * m_staticTextTSimTime
 
+wxTextCtrl * m_textCtrlSimTime
 
+wxStaticText * m_staticTextSec_2
 
+wxStaticText * m_staticTextFreq
 
+wxTextCtrl * m_textCtrlFreq
 
+wxStaticText * m_staticTextFreqUnit
 
+wxStaticText * m_staticTextTStabTolerance
 
+wxTextCtrl * m_textCtrlStabTolerance
 
+wxStaticText * m_staticTextTStabMaxIterations
 
+wxTextCtrl * m_textCtrlStabMaxIterations
 
+wxStaticText * m_staticTextCtrlStepRation
 
+wxTextCtrl * m_textCtrlCtrlStepRatio
 
+wxStaticText * m_staticTextPrintTime
 
+wxTextCtrl * m_textCtrlPrintTime
 
+wxStaticText * m_staticTextSec_4
 
+wxCheckBox * m_checkBoxUseCOI
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_simulations_settings_form_base.png b/docs/doxygen/html/class_simulations_settings_form_base.png new file mode 100644 index 0000000..8379633 Binary files /dev/null and b/docs/doxygen/html/class_simulations_settings_form_base.png differ diff --git a/docs/doxygen/html/class_sum-members.html b/docs/doxygen/html/class_sum-members.html new file mode 100644 index 0000000..a5fdb08 --- /dev/null +++ b/docs/doxygen/html/class_sum-members.html @@ -0,0 +1,201 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Sum Member List
+
+
+ +

This is the complete list of members for Sum, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddInNode() (defined in Sum)Sum
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constSuminlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constSumvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Sumvirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSignalList() const (defined in Sum)Suminlinevirtual
GetTipText() constElementinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constSuminlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dragging (defined in Element)Elementprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_signalList (defined in Sum)Sumprotected
m_solved (defined in ControlElement)ControlElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveInNode() (defined in Sum)Sum
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Sumvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSignalList(std::vector< Signal > signalList) (defined in Sum)Suminlinevirtual
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Sumvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Signal enum name (defined in Sum)Sum
SIGNAL_NEGATIVE enum value (defined in Sum)Sum
SIGNAL_POSITIVE enum value (defined in Sum)Sum
Solve(double input, double timeStep) (defined in Sum)Sumvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
Sum(int id) (defined in Sum)Sum
UpdateNodes()Elementinlinevirtual
UpdatePoints() (defined in Sum)Sumvirtual
UpdateText() (defined in ControlElement)ControlElementinlinevirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~Sum() (defined in Sum)Sum
+ + + + diff --git a/docs/doxygen/html/class_sum.html b/docs/doxygen/html/class_sum.html new file mode 100644 index 0000000..342332c --- /dev/null +++ b/docs/doxygen/html/class_sum.html @@ -0,0 +1,707 @@ + + + + + + + +PSP-UFU: Sum Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Sum Class Reference
+
+
+
+Inheritance diagram for Sum:
+
+
+ + +ControlElement +Element + +
+ + + + +

+Public Types

enum  Signal { SIGNAL_POSITIVE = 0, +SIGNAL_NEGATIVE + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Sum (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual std::vector< Signal > GetSignalList () const
 
+virtual void SetSignalList (std::vector< Signal > signalList)
 
+virtual bool Solve (double input, double timeStep)
 
+virtual void UpdatePoints ()
 
+void AddInNode ()
 
+void RemoveInNode ()
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual void UpdateText ()
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< Signal > m_signalList
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Sum::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Sum::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Sum::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool Sum::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Sum::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Sum::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sum.png b/docs/doxygen/html/class_sum.png new file mode 100644 index 0000000..726e20a Binary files /dev/null and b/docs/doxygen/html/class_sum.png differ diff --git a/docs/doxygen/html/class_sum_form-members.html b/docs/doxygen/html/class_sum_form-members.html new file mode 100644 index 0000000..b0f8050 --- /dev/null +++ b/docs/doxygen/html/class_sum_form-members.html @@ -0,0 +1,100 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SumForm Member List
+
+
+ +

This is the complete list of members for SumForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SumFormBase)SumFormBaseinline
GetButtonOK() (defined in SumFormBase)SumFormBaseinline
GetNotebook() (defined in SumFormBase)SumFormBaseinline
GetPanelGeneral() (defined in SumFormBase)SumFormBaseinline
GetStaticTextSigns() (defined in SumFormBase)SumFormBaseinline
GetTextCtrlSigns() (defined in SumFormBase)SumFormBaseinline
m_ButtonCancel (defined in SumFormBase)SumFormBaseprotected
m_buttonOK (defined in SumFormBase)SumFormBaseprotected
m_notebook (defined in SumFormBase)SumFormBaseprotected
m_panelGeneral (defined in SumFormBase)SumFormBaseprotected
m_parent (defined in SumForm)SumFormprotected
m_staticTextSigns (defined in SumFormBase)SumFormBaseprotected
m_sum (defined in SumForm)SumFormprotected
m_textCtrlSigns (defined in SumFormBase)SumFormBaseprotected
OnCancelClick(wxCommandEvent &event) (defined in SumForm)SumForminlineprotectedvirtual
OnOKClick(wxCommandEvent &event) (defined in SumForm)SumFormprotectedvirtual
SumForm(wxWindow *parent, Sum *sum) (defined in SumForm)SumForm
SumFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sum"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SumFormBase)SumFormBase
ValidateData() (defined in SumForm)SumForm
~SumForm() (defined in SumForm)SumFormvirtual
~SumFormBase() (defined in SumFormBase)SumFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_sum_form.html b/docs/doxygen/html/class_sum_form.html new file mode 100644 index 0000000..69552e9 --- /dev/null +++ b/docs/doxygen/html/class_sum_form.html @@ -0,0 +1,163 @@ + + + + + + + +PSP-UFU: SumForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SumForm Class Reference
+
+
+
+Inheritance diagram for SumForm:
+
+
+ + +SumFormBase + +
+ + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SumForm (wxWindow *parent, Sum *sum)
 
+bool ValidateData ()
 
- Public Member Functions inherited from SumFormBase
+wxStaticText * GetStaticTextSigns ()
 
+wxTextCtrl * GetTextCtrlSigns ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SumFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sum"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnCancelClick (wxCommandEvent &event)
 
+virtual void OnOKClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Summ_sum = NULL
 
- Protected Attributes inherited from SumFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextSigns
 
+wxTextCtrl * m_textCtrlSigns
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sum_form.png b/docs/doxygen/html/class_sum_form.png new file mode 100644 index 0000000..1c91f85 Binary files /dev/null and b/docs/doxygen/html/class_sum_form.png differ diff --git a/docs/doxygen/html/class_sum_form_base-members.html b/docs/doxygen/html/class_sum_form_base-members.html new file mode 100644 index 0000000..7fb7a48 --- /dev/null +++ b/docs/doxygen/html/class_sum_form_base-members.html @@ -0,0 +1,95 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SumFormBase Member List
+
+
+ +

This is the complete list of members for SumFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SumFormBase)SumFormBaseinline
GetButtonOK() (defined in SumFormBase)SumFormBaseinline
GetNotebook() (defined in SumFormBase)SumFormBaseinline
GetPanelGeneral() (defined in SumFormBase)SumFormBaseinline
GetStaticTextSigns() (defined in SumFormBase)SumFormBaseinline
GetTextCtrlSigns() (defined in SumFormBase)SumFormBaseinline
m_ButtonCancel (defined in SumFormBase)SumFormBaseprotected
m_buttonOK (defined in SumFormBase)SumFormBaseprotected
m_notebook (defined in SumFormBase)SumFormBaseprotected
m_panelGeneral (defined in SumFormBase)SumFormBaseprotected
m_staticTextSigns (defined in SumFormBase)SumFormBaseprotected
m_textCtrlSigns (defined in SumFormBase)SumFormBaseprotected
OnCancelClick(wxCommandEvent &event) (defined in SumFormBase)SumFormBaseinlineprotectedvirtual
OnOKClick(wxCommandEvent &event) (defined in SumFormBase)SumFormBaseinlineprotectedvirtual
SumFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sum"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SumFormBase)SumFormBase
~SumFormBase() (defined in SumFormBase)SumFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_sum_form_base.html b/docs/doxygen/html/class_sum_form_base.html new file mode 100644 index 0000000..b38bd78 --- /dev/null +++ b/docs/doxygen/html/class_sum_form_base.html @@ -0,0 +1,149 @@ + + + + + + + +PSP-UFU: SumFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SumFormBase Class Reference
+
+
+
+Inheritance diagram for SumFormBase:
+
+
+ + +SumForm + +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextSigns ()
 
+wxTextCtrl * GetTextCtrlSigns ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SumFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sum"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKClick (wxCommandEvent &event)
 
+virtual void OnCancelClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextSigns
 
+wxTextCtrl * m_textCtrlSigns
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sum_form_base.png b/docs/doxygen/html/class_sum_form_base.png new file mode 100644 index 0000000..520d0d2 Binary files /dev/null and b/docs/doxygen/html/class_sum_form_base.png differ diff --git a/docs/doxygen/html/class_switching_form-members.html b/docs/doxygen/html/class_switching_form-members.html new file mode 100644 index 0000000..71ce3e5 --- /dev/null +++ b/docs/doxygen/html/class_switching_form-members.html @@ -0,0 +1,115 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SwitchingForm Member List
+
+
+ +

This is the complete list of members for SwitchingForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonDown() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonInsert() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonOK() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonRemove() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonUp() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetListCtrlSwitchings() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetPgMgrSwitchingsProp() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetStaticTextSwList() (defined in SwitchingFormBase)SwitchingFormBaseinline
m_buttonCancel (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonDown (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonInsert (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonOK (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonRemove (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonUp (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_element (defined in SwitchingForm)SwitchingFormprotected
m_listCtrlSwitchings (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_maxID (defined in SwitchingForm)SwitchingFormprotected
m_pgMgrSwitchingsProp (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgPropTime (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgPropTitle (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgPropType (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_staticTextSwList (defined in SwitchingFormBase)SwitchingFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnChangeProperties(wxPropertyGridEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnDownButtonClick(wxCommandEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnInsertButtonClick(wxCommandEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnRemoveButtonClick(wxCommandEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnSelectItem(wxListEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
OnUpButtonClick(wxCommandEvent &event) (defined in SwitchingForm)SwitchingFormprotectedvirtual
SwitchingForm(wxWindow *parent) (defined in SwitchingForm)SwitchingForm
SwitchingForm(wxWindow *parent, PowerElement *element) (defined in SwitchingForm)SwitchingForm
SwitchingFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Switching"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SwitchingFormBase)SwitchingFormBase
~SwitchingForm() (defined in SwitchingForm)SwitchingFormvirtual
~SwitchingFormBase() (defined in SwitchingFormBase)SwitchingFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_switching_form.html b/docs/doxygen/html/class_switching_form.html new file mode 100644 index 0000000..230e897 --- /dev/null +++ b/docs/doxygen/html/class_switching_form.html @@ -0,0 +1,208 @@ + + + + + + + +PSP-UFU: SwitchingForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SwitchingForm Class Reference
+
+
+
+Inheritance diagram for SwitchingForm:
+
+
+ + +SwitchingFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SwitchingForm (wxWindow *parent)
 
SwitchingForm (wxWindow *parent, PowerElement *element)
 
- Public Member Functions inherited from SwitchingFormBase
+wxPropertyGridManager * GetPgMgrSwitchingsProp ()
 
+wxButton * GetButtonInsert ()
 
+wxButton * GetButtonRemove ()
 
+wxButton * GetButtonUp ()
 
+wxButton * GetButtonDown ()
 
+wxStaticText * GetStaticTextSwList ()
 
+wxListCtrl * GetListCtrlSwitchings ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SwitchingFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Switching"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnDownButtonClick (wxCommandEvent &event)
 
+virtual void OnUpButtonClick (wxCommandEvent &event)
 
+virtual void OnChangeProperties (wxPropertyGridEvent &event)
 
+virtual void OnSelectItem (wxListEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnInsertButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnRemoveButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+int m_maxID = 0
 
+PowerElementm_element = NULL
 
- Protected Attributes inherited from SwitchingFormBase
+wxPropertyGridManager * m_pgMgrSwitchingsProp
 
+wxPGProperty * m_pgPropTitle
 
+wxPGProperty * m_pgPropType
 
+wxPGProperty * m_pgPropTime
 
+wxButton * m_buttonInsert
 
+wxButton * m_buttonRemove
 
+wxButton * m_buttonUp
 
+wxButton * m_buttonDown
 
+wxStaticText * m_staticTextSwList
 
+wxListCtrl * m_listCtrlSwitchings
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_switching_form.png b/docs/doxygen/html/class_switching_form.png new file mode 100644 index 0000000..4d7b58c Binary files /dev/null and b/docs/doxygen/html/class_switching_form.png differ diff --git a/docs/doxygen/html/class_switching_form_base-members.html b/docs/doxygen/html/class_switching_form_base-members.html new file mode 100644 index 0000000..f4f1d8c --- /dev/null +++ b/docs/doxygen/html/class_switching_form_base-members.html @@ -0,0 +1,110 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SwitchingFormBase Member List
+
+
+ +

This is the complete list of members for SwitchingFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonDown() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonInsert() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonOK() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonRemove() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetButtonUp() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetListCtrlSwitchings() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetPgMgrSwitchingsProp() (defined in SwitchingFormBase)SwitchingFormBaseinline
GetStaticTextSwList() (defined in SwitchingFormBase)SwitchingFormBaseinline
m_buttonCancel (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonDown (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonInsert (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonOK (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonRemove (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_buttonUp (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_listCtrlSwitchings (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgMgrSwitchingsProp (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgPropTime (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgPropTitle (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_pgPropType (defined in SwitchingFormBase)SwitchingFormBaseprotected
m_staticTextSwList (defined in SwitchingFormBase)SwitchingFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnChangeProperties(wxPropertyGridEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnDownButtonClick(wxCommandEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnInsertButtonClick(wxCommandEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnRemoveButtonClick(wxCommandEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnSelectItem(wxListEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
OnUpButtonClick(wxCommandEvent &event) (defined in SwitchingFormBase)SwitchingFormBaseinlineprotectedvirtual
SwitchingFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Switching"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SwitchingFormBase)SwitchingFormBase
~SwitchingFormBase() (defined in SwitchingFormBase)SwitchingFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_switching_form_base.html b/docs/doxygen/html/class_switching_form_base.html new file mode 100644 index 0000000..4dec783 --- /dev/null +++ b/docs/doxygen/html/class_switching_form_base.html @@ -0,0 +1,194 @@ + + + + + + + +PSP-UFU: SwitchingFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SwitchingFormBase Class Reference
+
+
+
+Inheritance diagram for SwitchingFormBase:
+
+
+ + +SwitchingForm + +
+ + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxPropertyGridManager * GetPgMgrSwitchingsProp ()
 
+wxButton * GetButtonInsert ()
 
+wxButton * GetButtonRemove ()
 
+wxButton * GetButtonUp ()
 
+wxButton * GetButtonDown ()
 
+wxStaticText * GetStaticTextSwList ()
 
+wxListCtrl * GetListCtrlSwitchings ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SwitchingFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Switching"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnChangeProperties (wxPropertyGridEvent &event)
 
+virtual void OnInsertButtonClick (wxCommandEvent &event)
 
+virtual void OnRemoveButtonClick (wxCommandEvent &event)
 
+virtual void OnUpButtonClick (wxCommandEvent &event)
 
+virtual void OnDownButtonClick (wxCommandEvent &event)
 
+virtual void OnSelectItem (wxListEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxPropertyGridManager * m_pgMgrSwitchingsProp
 
+wxPGProperty * m_pgPropTitle
 
+wxPGProperty * m_pgPropType
 
+wxPGProperty * m_pgPropTime
 
+wxButton * m_buttonInsert
 
+wxButton * m_buttonRemove
 
+wxButton * m_buttonUp
 
+wxButton * m_buttonDown
 
+wxStaticText * m_staticTextSwList
 
+wxListCtrl * m_listCtrlSwitchings
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_switching_form_base.png b/docs/doxygen/html/class_switching_form_base.png new file mode 100644 index 0000000..6675bd2 Binary files /dev/null and b/docs/doxygen/html/class_switching_form_base.png differ diff --git a/docs/doxygen/html/class_sync_generator-members.html b/docs/doxygen/html/class_sync_generator-members.html new file mode 100644 index 0000000..a955c00 --- /dev/null +++ b/docs/doxygen/html/class_sync_generator-members.html @@ -0,0 +1,224 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SyncGenerator Member List
+
+
+ +

This is the complete list of members for SyncGenerator, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Machinesvirtual
PowerElement::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constMachinesinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constMachinesvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawSymbol() const (defined in SyncGenerator)SyncGeneratorvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)SyncGeneratorvirtual
GetCopy()SyncGeneratorvirtual
GetElectricalData() (defined in SyncGenerator)SyncGeneratorinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)SyncGeneratorvirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemPowerBase) (defined in SyncGenerator)SyncGeneratorvirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constSyncGeneratorvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Init() (defined in SyncGenerator)SyncGeneratorvirtual
Intersects(wxRect2DDouble rect) constMachinesinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in SyncGenerator)SyncGeneratorprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Machines)Machinesprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_sinePts (defined in SyncGenerator)SyncGeneratorprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Machines() (defined in Machines)Machines
Move(wxPoint2DDouble position)Machinesvirtual
MoveNode(Element *element, wxPoint2DDouble position)Machinesvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Machinesvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Machinesvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Machinesvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Machinesvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(SyncGeneratorElectricalData electricalData) (defined in SyncGenerator)SyncGeneratorinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Machinesvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)SyncGeneratorvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)Machinesvirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)SyncGeneratorvirtual
ShowPickbox(bool showPickbox=true)Elementinline
SM_MODEL_1 enum value (defined in Machines)Machines
SM_MODEL_2 enum value (defined in Machines)Machines
SM_MODEL_3 enum value (defined in Machines)Machines
SM_MODEL_4 enum value (defined in Machines)Machines
SM_MODEL_5 enum value (defined in Machines)Machines
StartMove(wxPoint2DDouble position)Machinesvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
SyncGenerator() (defined in SyncGenerator)SyncGenerator
SyncGenerator(wxString name) (defined in SyncGenerator)SyncGenerator
SyncMachineModel enum name (defined in Machines)Machines
UpdateNodes()Machinesvirtual
UpdatePowerFlowArrowsPosition() (defined in Machines)Machinesprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Machines)Machinesprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~Machines() (defined in Machines)Machines
~PowerElement()PowerElement
~SyncGenerator() (defined in SyncGenerator)SyncGenerator
+ + + + diff --git a/docs/doxygen/html/class_sync_generator.html b/docs/doxygen/html/class_sync_generator.html new file mode 100644 index 0000000..f3c412e --- /dev/null +++ b/docs/doxygen/html/class_sync_generator.html @@ -0,0 +1,769 @@ + + + + + + + +PSP-UFU: SyncGenerator Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SyncGenerator Class Reference
+
+
+
+Inheritance diagram for SyncGenerator:
+
+
+ + +Machines +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SyncGenerator (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
+virtual void Init ()
 
+virtual void DrawSymbol () const
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
+virtual SyncGeneratorElectricalData GetElectricalData ()
 
+virtual SyncGeneratorElectricalData GetPUElectricalData (double systemPowerBase)
 
+virtual void SetElectricalData (SyncGeneratorElectricalData electricalData)
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
- Public Member Functions inherited from Machines
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+std::vector< wxPoint2DDouble > m_sinePts
 
+SyncGeneratorElectricalData m_electricalData
 
- Protected Attributes inherited from Machines
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from Machines
enum  SyncMachineModel {
+  SM_MODEL_1 = 0, +SM_MODEL_2, +SM_MODEL_3, +SM_MODEL_4, +
+  SM_MODEL_5 +
+ }
 
- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Member Functions inherited from Machines
+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+

Member Function Documentation

+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool SyncGenerator::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * SyncGenerator::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetPlotData()

+ +
+
+ + + + + +
+ + + + + + + + +
bool SyncGenerator::GetPlotData (ElementPlotDataplotData)
+
+virtual
+
+ +

Fill the plot data.

+
Parameters
+ + +
plotDataPlot data to be filled.
+
+
+
Returns
true if the plot data was successfully filled, false otherwise.
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString SyncGenerator::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ SetNominalVoltage()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void SyncGenerator::SetNominalVoltage (std::vector< double > nominalVoltage,
std::vector< ElectricalUnitnominalVoltageUnit 
)
+
+virtual
+
+ +

Set nominal voltage of the element.

+
Parameters
+ + + +
nominalVoltageValue of the nominal voltage.
nominalVoltageUnitUnit of the nominal voltage.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool SyncGenerator::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sync_generator.png b/docs/doxygen/html/class_sync_generator.png new file mode 100644 index 0000000..178d110 Binary files /dev/null and b/docs/doxygen/html/class_sync_generator.png differ diff --git a/docs/doxygen/html/class_sync_machine_form-members.html b/docs/doxygen/html/class_sync_machine_form-members.html new file mode 100644 index 0000000..f79ec29 --- /dev/null +++ b/docs/doxygen/html/class_sync_machine_form-members.html @@ -0,0 +1,176 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SyncMachineForm Member List
+
+
+ +

This is the complete list of members for SyncMachineForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetButtonOK() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetButtonStab() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxGroundNeutral() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxMaxReactive() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxMinReactive() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxUseMachinePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceActivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceMaxRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceMinRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceNominalPower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceReactivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetNotebook() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetPanelFault() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetPanelGeneral() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextActivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextGrdReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextGrdResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextName() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextNegReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextNegResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextNominalPower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextPosReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextPosResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextReactivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextZeroReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextZeroResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlActivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlGrdReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlGrdResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlMaxRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlMinRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlName() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlNegReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlNegResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlnominalPower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlPosReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlPosResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlReactivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlZeroReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlZeroResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
m_ButtonCancel (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_buttonOK (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_buttonStab (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxGroundNeutral (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxMaxReactive (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxMinReactive (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxUseMachinePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceActivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceMaxRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceMinRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceNominalPower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceReactivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_notebook (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_panelFault (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_panelGeneral (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_parent (defined in SyncMachineForm)SyncMachineFormprotected
m_staticTextActivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextGrdReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextGrdResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextName (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextNegReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextNegResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextNominalPower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextPosReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextPosResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextReactivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextZeroReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextZeroResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_syncGenerator (defined in SyncMachineForm)SyncMachineFormprotected
m_syncMotor (defined in SyncMachineForm)SyncMachineFormprotected
m_textCtrlActivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlGrdReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlGrdResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlMaxRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlMinRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlName (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlNegReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlNegResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlnominalPower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlPosReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlPosResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlReactivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlZeroReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlZeroResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in SyncMachineForm)SyncMachineForminlineprotectedvirtual
OnCheckMaxReactive(wxCommandEvent &event) (defined in SyncMachineForm)SyncMachineFormprotectedvirtual
OnCheckMinReactive(wxCommandEvent &event) (defined in SyncMachineForm)SyncMachineFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in SyncMachineForm)SyncMachineFormprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in SyncMachineForm)SyncMachineFormprotectedvirtual
ReplaceStaticTextLabelChar(wxStaticText *staticText, wchar_t newChar) (defined in SyncMachineForm)SyncMachineFormprotectedvirtual
SyncMachineForm(wxWindow *parent, SyncGenerator *syncGenerator) (defined in SyncMachineForm)SyncMachineForm
SyncMachineForm(wxWindow *parent, SyncMotor *syncMotor) (defined in SyncMachineForm)SyncMachineForm
SyncMachineFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SyncMachineFormBase)SyncMachineFormBase
ValidateData() (defined in SyncMachineForm)SyncMachineFormprotectedvirtual
~SyncMachineForm() (defined in SyncMachineForm)SyncMachineFormvirtual
~SyncMachineFormBase() (defined in SyncMachineFormBase)SyncMachineFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_sync_machine_form.html b/docs/doxygen/html/class_sync_machine_form.html new file mode 100644 index 0000000..80f6adb --- /dev/null +++ b/docs/doxygen/html/class_sync_machine_form.html @@ -0,0 +1,391 @@ + + + + + + + +PSP-UFU: SyncMachineForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SyncMachineForm Class Reference
+
+
+
+Inheritance diagram for SyncMachineForm:
+
+
+ + +SyncMachineFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SyncMachineForm (wxWindow *parent, SyncGenerator *syncGenerator)
 
SyncMachineForm (wxWindow *parent, SyncMotor *syncMotor)
 
- Public Member Functions inherited from SyncMachineFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNominalPower ()
 
+wxTextCtrl * GetTextCtrlnominalPower ()
 
+wxChoice * GetChoiceNominalPower ()
 
+wxStaticText * GetStaticTextActivePower ()
 
+wxTextCtrl * GetTextCtrlActivePower ()
 
+wxChoice * GetChoiceActivePower ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxCheckBox * GetCheckBoxMaxReactive ()
 
+wxTextCtrl * GetTextCtrlMaxRectivePower ()
 
+wxChoice * GetChoiceMaxRectivePower ()
 
+wxCheckBox * GetCheckBoxMinReactive ()
 
+wxTextCtrl * GetTextCtrlMinRectivePower ()
 
+wxChoice * GetChoiceMinRectivePower ()
 
+wxCheckBox * GetCheckBoxUseMachinePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextPosResistance ()
 
+wxTextCtrl * GetTextCtrlPosResistance ()
 
+wxStaticText * GetStaticTextPosReactance ()
 
+wxTextCtrl * GetTextCtrlPosReactance ()
 
+wxStaticText * GetStaticTextNegResistance ()
 
+wxTextCtrl * GetTextCtrlNegResistance ()
 
+wxStaticText * GetStaticTextNegReactance ()
 
+wxTextCtrl * GetTextCtrlNegReactance ()
 
+wxStaticText * GetStaticTextZeroResistance ()
 
+wxTextCtrl * GetTextCtrlZeroResistance ()
 
+wxStaticText * GetStaticTextZeroReactance ()
 
+wxTextCtrl * GetTextCtrlZeroReactance ()
 
+wxStaticText * GetStaticTextGrdResistance ()
 
+wxTextCtrl * GetTextCtrlGrdResistance ()
 
+wxStaticText * GetStaticTextGrdReactance ()
 
+wxTextCtrl * GetTextCtrlGrdReactance ()
 
+wxCheckBox * GetCheckBoxGroundNeutral ()
 
+wxPanel * GetPanelFault ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStab ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SyncMachineFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnCheckMaxReactive (wxCommandEvent &event)
 
+virtual void OnCheckMinReactive (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual bool ValidateData ()
 
+virtual void ReplaceStaticTextLabelChar (wxStaticText *staticText, wchar_t newChar)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+SyncGeneratorm_syncGenerator = NULL
 
+SyncMotorm_syncMotor = NULL
 
+wxWindow * m_parent = NULL
 
- Protected Attributes inherited from SyncMachineFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNominalPower
 
+wxTextCtrl * m_textCtrlnominalPower
 
+wxChoice * m_choiceNominalPower
 
+wxStaticText * m_staticTextActivePower
 
+wxTextCtrl * m_textCtrlActivePower
 
+wxChoice * m_choiceActivePower
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxCheckBox * m_checkBoxMaxReactive
 
+wxTextCtrl * m_textCtrlMaxRectivePower
 
+wxChoice * m_choiceMaxRectivePower
 
+wxCheckBox * m_checkBoxMinReactive
 
+wxTextCtrl * m_textCtrlMinRectivePower
 
+wxChoice * m_choiceMinRectivePower
 
+wxCheckBox * m_checkBoxUseMachinePower
 
+wxPanel * m_panelFault
 
+wxStaticText * m_staticTextPosResistance
 
+wxTextCtrl * m_textCtrlPosResistance
 
+wxStaticText * m_staticTextPosReactance
 
+wxTextCtrl * m_textCtrlPosReactance
 
+wxStaticText * m_staticTextNegResistance
 
+wxTextCtrl * m_textCtrlNegResistance
 
+wxStaticText * m_staticTextNegReactance
 
+wxTextCtrl * m_textCtrlNegReactance
 
+wxStaticText * m_staticTextZeroResistance
 
+wxTextCtrl * m_textCtrlZeroResistance
 
+wxStaticText * m_staticTextZeroReactance
 
+wxTextCtrl * m_textCtrlZeroReactance
 
+wxStaticText * m_staticTextGrdResistance
 
+wxTextCtrl * m_textCtrlGrdResistance
 
+wxStaticText * m_staticTextGrdReactance
 
+wxTextCtrl * m_textCtrlGrdReactance
 
+wxCheckBox * m_checkBoxGroundNeutral
 
+wxButton * m_buttonStab
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sync_machine_form.png b/docs/doxygen/html/class_sync_machine_form.png new file mode 100644 index 0000000..b32dc9e Binary files /dev/null and b/docs/doxygen/html/class_sync_machine_form.png differ diff --git a/docs/doxygen/html/class_sync_machine_form_base-members.html b/docs/doxygen/html/class_sync_machine_form_base-members.html new file mode 100644 index 0000000..90a66f8 --- /dev/null +++ b/docs/doxygen/html/class_sync_machine_form_base-members.html @@ -0,0 +1,168 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SyncMachineFormBase Member List
+
+
+ +

This is the complete list of members for SyncMachineFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetButtonOK() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetButtonStab() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxGroundNeutral() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxMaxReactive() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxMinReactive() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetCheckBoxUseMachinePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceActivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceMaxRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceMinRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceNominalPower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetChoiceReactivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetNotebook() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetPanelFault() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetPanelGeneral() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextActivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextGrdReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextGrdResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextName() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextNegReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextNegResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextNominalPower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextPosReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextPosResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextReactivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextZeroReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetStaticTextZeroResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlActivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlGrdReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlGrdResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlMaxRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlMinRectivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlName() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlNegReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlNegResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlnominalPower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlPosReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlPosResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlReactivePower() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlZeroReactance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
GetTextCtrlZeroResistance() (defined in SyncMachineFormBase)SyncMachineFormBaseinline
m_ButtonCancel (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_buttonOK (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_buttonStab (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxGroundNeutral (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxMaxReactive (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxMinReactive (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_checkBoxUseMachinePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceActivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceMaxRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceMinRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceNominalPower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_choiceReactivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_notebook (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_panelFault (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_panelGeneral (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextActivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextGrdReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextGrdResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextName (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextNegReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextNegResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextNominalPower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextPosReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextPosResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextReactivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextZeroReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_staticTextZeroResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlActivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlGrdReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlGrdResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlMaxRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlMinRectivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlName (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlNegReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlNegResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlnominalPower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlPosReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlPosResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlReactivePower (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlZeroReactance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
m_textCtrlZeroResistance (defined in SyncMachineFormBase)SyncMachineFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in SyncMachineFormBase)SyncMachineFormBaseinlineprotectedvirtual
OnCheckMaxReactive(wxCommandEvent &event) (defined in SyncMachineFormBase)SyncMachineFormBaseinlineprotectedvirtual
OnCheckMinReactive(wxCommandEvent &event) (defined in SyncMachineFormBase)SyncMachineFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in SyncMachineFormBase)SyncMachineFormBaseinlineprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in SyncMachineFormBase)SyncMachineFormBaseinlineprotectedvirtual
SyncMachineFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in SyncMachineFormBase)SyncMachineFormBase
~SyncMachineFormBase() (defined in SyncMachineFormBase)SyncMachineFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_sync_machine_form_base.html b/docs/doxygen/html/class_sync_machine_form_base.html new file mode 100644 index 0000000..479b0e2 --- /dev/null +++ b/docs/doxygen/html/class_sync_machine_form_base.html @@ -0,0 +1,368 @@ + + + + + + + +PSP-UFU: SyncMachineFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SyncMachineFormBase Class Reference
+
+
+
+Inheritance diagram for SyncMachineFormBase:
+
+
+ + +SyncMachineForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNominalPower ()
 
+wxTextCtrl * GetTextCtrlnominalPower ()
 
+wxChoice * GetChoiceNominalPower ()
 
+wxStaticText * GetStaticTextActivePower ()
 
+wxTextCtrl * GetTextCtrlActivePower ()
 
+wxChoice * GetChoiceActivePower ()
 
+wxStaticText * GetStaticTextReactivePower ()
 
+wxTextCtrl * GetTextCtrlReactivePower ()
 
+wxChoice * GetChoiceReactivePower ()
 
+wxCheckBox * GetCheckBoxMaxReactive ()
 
+wxTextCtrl * GetTextCtrlMaxRectivePower ()
 
+wxChoice * GetChoiceMaxRectivePower ()
 
+wxCheckBox * GetCheckBoxMinReactive ()
 
+wxTextCtrl * GetTextCtrlMinRectivePower ()
 
+wxChoice * GetChoiceMinRectivePower ()
 
+wxCheckBox * GetCheckBoxUseMachinePower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextPosResistance ()
 
+wxTextCtrl * GetTextCtrlPosResistance ()
 
+wxStaticText * GetStaticTextPosReactance ()
 
+wxTextCtrl * GetTextCtrlPosReactance ()
 
+wxStaticText * GetStaticTextNegResistance ()
 
+wxTextCtrl * GetTextCtrlNegResistance ()
 
+wxStaticText * GetStaticTextNegReactance ()
 
+wxTextCtrl * GetTextCtrlNegReactance ()
 
+wxStaticText * GetStaticTextZeroResistance ()
 
+wxTextCtrl * GetTextCtrlZeroResistance ()
 
+wxStaticText * GetStaticTextZeroReactance ()
 
+wxTextCtrl * GetTextCtrlZeroReactance ()
 
+wxStaticText * GetStaticTextGrdResistance ()
 
+wxTextCtrl * GetTextCtrlGrdResistance ()
 
+wxStaticText * GetStaticTextGrdReactance ()
 
+wxTextCtrl * GetTextCtrlGrdReactance ()
 
+wxCheckBox * GetCheckBoxGroundNeutral ()
 
+wxPanel * GetPanelFault ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStab ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
SyncMachineFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Generator"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + +

+Protected Member Functions

+virtual void OnCheckMaxReactive (wxCommandEvent &event)
 
+virtual void OnCheckMinReactive (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNominalPower
 
+wxTextCtrl * m_textCtrlnominalPower
 
+wxChoice * m_choiceNominalPower
 
+wxStaticText * m_staticTextActivePower
 
+wxTextCtrl * m_textCtrlActivePower
 
+wxChoice * m_choiceActivePower
 
+wxStaticText * m_staticTextReactivePower
 
+wxTextCtrl * m_textCtrlReactivePower
 
+wxChoice * m_choiceReactivePower
 
+wxCheckBox * m_checkBoxMaxReactive
 
+wxTextCtrl * m_textCtrlMaxRectivePower
 
+wxChoice * m_choiceMaxRectivePower
 
+wxCheckBox * m_checkBoxMinReactive
 
+wxTextCtrl * m_textCtrlMinRectivePower
 
+wxChoice * m_choiceMinRectivePower
 
+wxCheckBox * m_checkBoxUseMachinePower
 
+wxPanel * m_panelFault
 
+wxStaticText * m_staticTextPosResistance
 
+wxTextCtrl * m_textCtrlPosResistance
 
+wxStaticText * m_staticTextPosReactance
 
+wxTextCtrl * m_textCtrlPosReactance
 
+wxStaticText * m_staticTextNegResistance
 
+wxTextCtrl * m_textCtrlNegResistance
 
+wxStaticText * m_staticTextNegReactance
 
+wxTextCtrl * m_textCtrlNegReactance
 
+wxStaticText * m_staticTextZeroResistance
 
+wxTextCtrl * m_textCtrlZeroResistance
 
+wxStaticText * m_staticTextZeroReactance
 
+wxTextCtrl * m_textCtrlZeroReactance
 
+wxStaticText * m_staticTextGrdResistance
 
+wxTextCtrl * m_textCtrlGrdResistance
 
+wxStaticText * m_staticTextGrdReactance
 
+wxTextCtrl * m_textCtrlGrdReactance
 
+wxCheckBox * m_checkBoxGroundNeutral
 
+wxButton * m_buttonStab
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sync_machine_form_base.png b/docs/doxygen/html/class_sync_machine_form_base.png new file mode 100644 index 0000000..56570c8 Binary files /dev/null and b/docs/doxygen/html/class_sync_machine_form_base.png differ diff --git a/docs/doxygen/html/class_sync_motor-members.html b/docs/doxygen/html/class_sync_motor-members.html new file mode 100644 index 0000000..238b7bf --- /dev/null +++ b/docs/doxygen/html/class_sync_motor-members.html @@ -0,0 +1,222 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SyncMotor Member List
+
+
+ +

This is the complete list of members for SyncMotor, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Machinesvirtual
PowerElement::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constMachinesinlinevirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constMachinesvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawSymbol() const (defined in SyncMotor)SyncMotorvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)SyncMotorvirtual
GetCopy()SyncMotorvirtual
GetElectricalData() (defined in SyncMotor)SyncMotorinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemPowerBase) (defined in SyncMotor)SyncMotorvirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constSyncMotorvirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constMachinesinlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in SyncMotor)SyncMotorprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Machines)Machinesprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Machines() (defined in Machines)Machines
Move(wxPoint2DDouble position)Machinesvirtual
MoveNode(Element *element, wxPoint2DDouble position)Machinesvirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Machinesvirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Machinesvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Machinesvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Machinesvirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricalData(SyncMotorElectricalData electricalData) (defined in SyncMotor)SyncMotorinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Machinesvirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)SyncMotorvirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)Machinesvirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)SyncMotorvirtual
ShowPickbox(bool showPickbox=true)Elementinline
SM_MODEL_1 enum value (defined in Machines)Machines
SM_MODEL_2 enum value (defined in Machines)Machines
SM_MODEL_3 enum value (defined in Machines)Machines
SM_MODEL_4 enum value (defined in Machines)Machines
SM_MODEL_5 enum value (defined in Machines)Machines
StartMove(wxPoint2DDouble position)Machinesvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
SyncMachineModel enum name (defined in Machines)Machines
SyncMotor() (defined in SyncMotor)SyncMotor
SyncMotor(wxString name) (defined in SyncMotor)SyncMotor
UpdateNodes()Machinesvirtual
UpdatePowerFlowArrowsPosition() (defined in Machines)Machinesprotected
UpdateSwitches()PowerElementvirtual
UpdateSwitchesPosition() (defined in Machines)Machinesprotected
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~Machines() (defined in Machines)Machines
~PowerElement()PowerElement
~SyncMotor() (defined in SyncMotor)SyncMotor
+ + + + diff --git a/docs/doxygen/html/class_sync_motor.html b/docs/doxygen/html/class_sync_motor.html new file mode 100644 index 0000000..bdeab6c --- /dev/null +++ b/docs/doxygen/html/class_sync_motor.html @@ -0,0 +1,726 @@ + + + + + + + +PSP-UFU: SyncMotor Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SyncMotor Class Reference
+
+
+
+Inheritance diagram for SyncMotor:
+
+
+ + +Machines +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

SyncMotor (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
+virtual void DrawSymbol () const
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
+virtual SyncMotorElectricalData GetElectricalData ()
 
+virtual SyncMotorElectricalData GetPUElectricalData (double systemPowerBase)
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
+virtual void SetElectricalData (SyncMotorElectricalData electricalData)
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
- Public Member Functions inherited from Machines
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *element, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+SyncMotorElectricalData m_electricalData
 
- Protected Attributes inherited from Machines
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Public Types inherited from Machines
enum  SyncMachineModel {
+  SM_MODEL_1 = 0, +SM_MODEL_2, +SM_MODEL_3, +SM_MODEL_4, +
+  SM_MODEL_5 +
+ }
 
- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
- Protected Member Functions inherited from Machines
+void UpdateSwitchesPosition ()
 
+void UpdatePowerFlowArrowsPosition ()
 
+

Member Function Documentation

+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool SyncMotor::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * SyncMotor::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString SyncMotor::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ SetNominalVoltage()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void SyncMotor::SetNominalVoltage (std::vector< double > nominalVoltage,
std::vector< ElectricalUnitnominalVoltageUnit 
)
+
+virtual
+
+ +

Set nominal voltage of the element.

+
Parameters
+ + + +
nominalVoltageValue of the nominal voltage.
nominalVoltageUnitUnit of the nominal voltage.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool SyncMotor::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_sync_motor.png b/docs/doxygen/html/class_sync_motor.png new file mode 100644 index 0000000..9d9e3a9 Binary files /dev/null and b/docs/doxygen/html/class_sync_motor.png differ diff --git a/docs/doxygen/html/class_text-members.html b/docs/doxygen/html/class_text-members.html new file mode 100644 index 0000000..2be2fd3 --- /dev/null +++ b/docs/doxygen/html/class_text-members.html @@ -0,0 +1,214 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Text Member List
+
+
+ +

This is the complete list of members for Text, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Textinlinevirtual
GraphicalElement::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
Contains(wxPoint2DDouble position) constTextvirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) (defined in Text)Textvirtual
GraphicalElement::Draw(wxPoint2DDouble translation, double scale) constElementinlinevirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()Textvirtual
GetDataType() const (defined in Text)Textinline
GetDecimalPlaces() const (defined in Text)Textinline
GetDirection() const (defined in Text)Textinline
GetElement() (defined in Text)Textinline
GetElementNumber() const (defined in Text)Textinline
GetElementType() const (defined in Text)Textinline
GetFontSize() const (defined in Text)Textinline
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetText() const (defined in Text)Textinlinevirtual
GetTipText() constElementinlinevirtual
GetUnit() const (defined in Text)Textinline
GetWidth() constElementinline
GraphicalElement() (defined in GraphicalElement)GraphicalElement
Intersects(wxRect2DDouble rect) constTextvirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_dataType (defined in Text)Textprotected
m_decimalPlaces (defined in Text)Textprotected
m_direction (defined in Text)Textprotected
m_dragging (defined in Element)Elementprotected
m_element (defined in Text)Textprotected
m_elementID (defined in Element)Elementprotected
m_elementNumber (defined in Text)Textprotected
m_elementType (defined in Text)Textprotected
m_fontSize (defined in Text)Textprotected
m_glString (defined in Text)Textprotected
m_glStringArray (defined in Text)Textprotected
m_height (defined in Element)Elementprotected
m_isMultlineText (defined in Text)Textprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_numberOfLines (defined in Text)Textprotected
m_online (defined in Element)Elementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_text (defined in Text)Textprotected
m_unit (defined in Text)Textprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Elementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Textvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDataType(const DataType &dataType) (defined in Text)Textinline
SetDecimalPlaces(int decimalPlaces) (defined in Text)Textinline
SetDirection(int direction) (defined in Text)Textinline
SetDragging(bool dragging=true)Elementinline
SetElement(Element *element) (defined in Text)Textinline
SetElementNumber(int elementNumber) (defined in Text)Textinline
SetElementType(const ElementType elementType) (defined in Text)Textinline
SetFontSize(int fontSize) (defined in Text)Textinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Elementinlinevirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetText(wxString text) (defined in Text)Textvirtual
SetUnit(const ElectricalUnit unit) (defined in Text)Textinline
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, std::vector< Element *> elementList) (defined in Text)Textvirtual
GraphicalElement::ShowForm(wxWindow *parent, Element *element)Elementinlinevirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Elementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
Text() (defined in Text)Text
Text(wxPoint2DDouble position) (defined in Text)Text
UpdateNodes()Elementinlinevirtual
UpdateText(double systemPowerBase) (defined in Text)Textvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Element()Elementvirtual
~GraphicalElement() (defined in GraphicalElement)GraphicalElement
~Text() (defined in Text)Text
+ + + + diff --git a/docs/doxygen/html/class_text.html b/docs/doxygen/html/class_text.html new file mode 100644 index 0000000..c68f006 --- /dev/null +++ b/docs/doxygen/html/class_text.html @@ -0,0 +1,691 @@ + + + + + + + +PSP-UFU: Text Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Text Class Reference
+
+
+
+Inheritance diagram for Text:
+
+
+ + +GraphicalElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Text (wxPoint2DDouble position)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
+virtual void Draw (wxPoint2DDouble translation, double scale)
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual bool ShowForm (wxWindow *parent, std::vector< Element *> elementList)
 
+virtual void UpdateText (double systemPowerBase)
 
+virtual wxString GetText () const
 
+virtual void SetText (wxString text)
 
+void SetDataType (const DataType &dataType)
 
+void SetDirection (int direction)
 
+void SetElement (Element *element)
 
+void SetElementNumber (int elementNumber)
 
+void SetElementType (const ElementType elementType)
 
+void SetFontSize (int fontSize)
 
+void SetUnit (const ElectricalUnit unit)
 
+void SetDecimalPlaces (int decimalPlaces)
 
+const DataType GetDataType () const
 
+int GetDirection () const
 
+ElementGetElement ()
 
+int GetElementNumber () const
 
+const ElementType GetElementType () const
 
+int GetFontSize () const
 
+const ElectricalUnit GetUnit () const
 
+int GetDecimalPlaces () const
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxGLStringm_glString = NULL
 
+wxGLStringArraym_glStringArray = NULL
 
+wxString m_text = _("Text")
 
+int m_numberOfLines
 
+bool m_isMultlineText = false
 
+int m_fontSize = 10
 
+Elementm_element = NULL
 
+ElementType m_elementType = TYPE_NONE
 
+int m_elementNumber
 
+DataType m_dataType
 
+ElectricalUnit m_unit
 
+int m_direction = 0
 
+int m_decimalPlaces = 2
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual bool Text::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+inlinevirtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Text::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Text::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Text::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Text::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_text.png b/docs/doxygen/html/class_text.png new file mode 100644 index 0000000..1058be3 Binary files /dev/null and b/docs/doxygen/html/class_text.png differ diff --git a/docs/doxygen/html/class_text_form-members.html b/docs/doxygen/html/class_text_form-members.html new file mode 100644 index 0000000..b9e3482 --- /dev/null +++ b/docs/doxygen/html/class_text_form-members.html @@ -0,0 +1,144 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TextForm Member List
+
+
+ +

This is the complete list of members for TextForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DataTypeChoice() (defined in TextForm)TextFormvirtual
ElementNumberChoice() (defined in TextForm)TextFormvirtual
ElementTypeChoice() (defined in TextForm)TextFormvirtual
GetButtonCancel() (defined in TextFormBase)TextFormBaseinline
GetButtonOK() (defined in TextFormBase)TextFormBaseinline
GetChoiceElement() (defined in TextFormBase)TextFormBaseinline
GetChoiceName() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextFromBus() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextToBus() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextType() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextUnit() (defined in TextFormBase)TextFormBaseinline
GetNotebook() (defined in TextFormBase)TextFormBaseinline
GetPanelGeneral() (defined in TextFormBase)TextFormBaseinline
GetStaticTextDecimal() (defined in TextFormBase)TextFormBaseinline
GetStaticTextElement() (defined in TextFormBase)TextFormBaseinline
GetStaticTextFromBus() (defined in TextFormBase)TextFormBaseinline
GetStaticTextName() (defined in TextFormBase)TextFormBaseinline
GetStaticTextPreview() (defined in TextFormBase)TextFormBaseinline
GetStaticTextToBus() (defined in TextFormBase)TextFormBaseinline
GetStaticTextType() (defined in TextFormBase)TextFormBaseinline
GetStaticTextUnit() (defined in TextFormBase)TextFormBaseinline
GetTextCtrlDecimal() (defined in TextFormBase)TextFormBaseinline
GetTextCtrlPreview() (defined in TextFormBase)TextFormBaseinline
LoadChoices() (defined in TextForm)TextFormvirtual
m_allElements (defined in TextForm)TextFormprotected
m_ButtonCancel (defined in TextFormBase)TextFormBaseprotected
m_buttonOK (defined in TextFormBase)TextFormBaseprotected
m_choiceElement (defined in TextFormBase)TextFormBaseprotected
m_choiceName (defined in TextFormBase)TextFormBaseprotected
m_choiceTextFromBus (defined in TextFormBase)TextFormBaseprotected
m_choiceTextToBus (defined in TextFormBase)TextFormBaseprotected
m_choiceTextType (defined in TextFormBase)TextFormBaseprotected
m_choiceTextUnit (defined in TextFormBase)TextFormBaseprotected
m_notebook (defined in TextFormBase)TextFormBaseprotected
m_panelGeneral (defined in TextFormBase)TextFormBaseprotected
m_parent (defined in TextForm)TextFormprotected
m_staticTextDecimal (defined in TextFormBase)TextFormBaseprotected
m_staticTextElement (defined in TextFormBase)TextFormBaseprotected
m_staticTextFromBus (defined in TextFormBase)TextFormBaseprotected
m_staticTextName (defined in TextFormBase)TextFormBaseprotected
m_staticTextPreview (defined in TextFormBase)TextFormBaseprotected
m_staticTextToBus (defined in TextFormBase)TextFormBaseprotected
m_staticTextType (defined in TextFormBase)TextFormBaseprotected
m_staticTextUnit (defined in TextFormBase)TextFormBaseprotected
m_systemPowerBase (defined in TextForm)TextFormprotected
m_text (defined in TextForm)TextFormprotected
m_textCtrlDecimal (defined in TextFormBase)TextFormBaseprotected
m_textCtrlPreview (defined in TextFormBase)TextFormBaseprotected
m_textToEdit (defined in TextForm)TextFormprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in TextForm)TextForminlineprotectedvirtual
OnElementChoiceSelected(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnFromBusChoiceSelected(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnNameChoiceSelected(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnTextEnter(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnToBusChoiceSelected(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnTypeChoiceSelected(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
OnUnitChoiceSelected(wxCommandEvent &event) (defined in TextForm)TextFormprotectedvirtual
Preview() (defined in TextForm)TextFormvirtual
TextForm(wxWindow *parent, Text *text, std::vector< Element *> elementList, double systemPowerBase=100e6) (defined in TextForm)TextForm
TextFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Text"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in TextFormBase)TextFormBase
UnitChoice() (defined in TextForm)TextFormvirtual
ValidateData() (defined in TextForm)TextFormvirtual
~TextForm() (defined in TextForm)TextFormvirtual
~TextFormBase() (defined in TextFormBase)TextFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_text_form.html b/docs/doxygen/html/class_text_form.html new file mode 100644 index 0000000..5ee328c --- /dev/null +++ b/docs/doxygen/html/class_text_form.html @@ -0,0 +1,295 @@ + + + + + + + +PSP-UFU: TextForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TextForm Class Reference
+
+
+
+Inheritance diagram for TextForm:
+
+
+ + +TextFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

TextForm (wxWindow *parent, Text *text, std::vector< Element *> elementList, double systemPowerBase=100e6)
 
+virtual bool LoadChoices ()
 
+virtual void ElementTypeChoice ()
 
+virtual void ElementNumberChoice ()
 
+virtual void DataTypeChoice ()
 
+virtual void UnitChoice ()
 
+virtual void Preview ()
 
+virtual bool ValidateData ()
 
- Public Member Functions inherited from TextFormBase
+wxStaticText * GetStaticTextElement ()
 
+wxChoice * GetChoiceElement ()
 
+wxStaticText * GetStaticTextName ()
 
+wxChoice * GetChoiceName ()
 
+wxStaticText * GetStaticTextType ()
 
+wxChoice * GetChoiceTextType ()
 
+wxStaticText * GetStaticTextFromBus ()
 
+wxChoice * GetChoiceTextFromBus ()
 
+wxStaticText * GetStaticTextToBus ()
 
+wxChoice * GetChoiceTextToBus ()
 
+wxStaticText * GetStaticTextUnit ()
 
+wxChoice * GetChoiceTextUnit ()
 
+wxStaticText * GetStaticTextDecimal ()
 
+wxTextCtrl * GetTextCtrlDecimal ()
 
+wxStaticText * GetStaticTextPreview ()
 
+wxTextCtrl * GetTextCtrlPreview ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
TextFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Text"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnUnitChoiceSelected (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnElementChoiceSelected (wxCommandEvent &event)
 
+virtual void OnFromBusChoiceSelected (wxCommandEvent &event)
 
+virtual void OnNameChoiceSelected (wxCommandEvent &event)
 
+virtual void OnTextEnter (wxCommandEvent &event)
 
+virtual void OnToBusChoiceSelected (wxCommandEvent &event)
 
+virtual void OnTypeChoiceSelected (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+Textm_text = NULL
 
+Textm_textToEdit = NULL
 
+wxWindow * m_parent = NULL
 
+ElectricCalculation m_allElements
 
+double m_systemPowerBase
 
- Protected Attributes inherited from TextFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextElement
 
+wxChoice * m_choiceElement
 
+wxStaticText * m_staticTextName
 
+wxChoice * m_choiceName
 
+wxStaticText * m_staticTextType
 
+wxChoice * m_choiceTextType
 
+wxStaticText * m_staticTextFromBus
 
+wxChoice * m_choiceTextFromBus
 
+wxStaticText * m_staticTextToBus
 
+wxChoice * m_choiceTextToBus
 
+wxStaticText * m_staticTextUnit
 
+wxChoice * m_choiceTextUnit
 
+wxStaticText * m_staticTextDecimal
 
+wxTextCtrl * m_textCtrlDecimal
 
+wxStaticText * m_staticTextPreview
 
+wxTextCtrl * m_textCtrlPreview
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_text_form.png b/docs/doxygen/html/class_text_form.png new file mode 100644 index 0000000..2ccc023 Binary files /dev/null and b/docs/doxygen/html/class_text_form.png differ diff --git a/docs/doxygen/html/class_text_form_base-members.html b/docs/doxygen/html/class_text_form_base-members.html new file mode 100644 index 0000000..299ee26 --- /dev/null +++ b/docs/doxygen/html/class_text_form_base-members.html @@ -0,0 +1,130 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TextFormBase Member List
+
+
+ +

This is the complete list of members for TextFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in TextFormBase)TextFormBaseinline
GetButtonOK() (defined in TextFormBase)TextFormBaseinline
GetChoiceElement() (defined in TextFormBase)TextFormBaseinline
GetChoiceName() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextFromBus() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextToBus() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextType() (defined in TextFormBase)TextFormBaseinline
GetChoiceTextUnit() (defined in TextFormBase)TextFormBaseinline
GetNotebook() (defined in TextFormBase)TextFormBaseinline
GetPanelGeneral() (defined in TextFormBase)TextFormBaseinline
GetStaticTextDecimal() (defined in TextFormBase)TextFormBaseinline
GetStaticTextElement() (defined in TextFormBase)TextFormBaseinline
GetStaticTextFromBus() (defined in TextFormBase)TextFormBaseinline
GetStaticTextName() (defined in TextFormBase)TextFormBaseinline
GetStaticTextPreview() (defined in TextFormBase)TextFormBaseinline
GetStaticTextToBus() (defined in TextFormBase)TextFormBaseinline
GetStaticTextType() (defined in TextFormBase)TextFormBaseinline
GetStaticTextUnit() (defined in TextFormBase)TextFormBaseinline
GetTextCtrlDecimal() (defined in TextFormBase)TextFormBaseinline
GetTextCtrlPreview() (defined in TextFormBase)TextFormBaseinline
m_ButtonCancel (defined in TextFormBase)TextFormBaseprotected
m_buttonOK (defined in TextFormBase)TextFormBaseprotected
m_choiceElement (defined in TextFormBase)TextFormBaseprotected
m_choiceName (defined in TextFormBase)TextFormBaseprotected
m_choiceTextFromBus (defined in TextFormBase)TextFormBaseprotected
m_choiceTextToBus (defined in TextFormBase)TextFormBaseprotected
m_choiceTextType (defined in TextFormBase)TextFormBaseprotected
m_choiceTextUnit (defined in TextFormBase)TextFormBaseprotected
m_notebook (defined in TextFormBase)TextFormBaseprotected
m_panelGeneral (defined in TextFormBase)TextFormBaseprotected
m_staticTextDecimal (defined in TextFormBase)TextFormBaseprotected
m_staticTextElement (defined in TextFormBase)TextFormBaseprotected
m_staticTextFromBus (defined in TextFormBase)TextFormBaseprotected
m_staticTextName (defined in TextFormBase)TextFormBaseprotected
m_staticTextPreview (defined in TextFormBase)TextFormBaseprotected
m_staticTextToBus (defined in TextFormBase)TextFormBaseprotected
m_staticTextType (defined in TextFormBase)TextFormBaseprotected
m_staticTextUnit (defined in TextFormBase)TextFormBaseprotected
m_textCtrlDecimal (defined in TextFormBase)TextFormBaseprotected
m_textCtrlPreview (defined in TextFormBase)TextFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnElementChoiceSelected(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnFromBusChoiceSelected(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnNameChoiceSelected(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnTextEnter(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnToBusChoiceSelected(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnTypeChoiceSelected(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
OnUnitChoiceSelected(wxCommandEvent &event) (defined in TextFormBase)TextFormBaseinlineprotectedvirtual
TextFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Text"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in TextFormBase)TextFormBase
~TextFormBase() (defined in TextFormBase)TextFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_text_form_base.html b/docs/doxygen/html/class_text_form_base.html new file mode 100644 index 0000000..d1ed842 --- /dev/null +++ b/docs/doxygen/html/class_text_form_base.html @@ -0,0 +1,254 @@ + + + + + + + +PSP-UFU: TextFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TextFormBase Class Reference
+
+
+
+Inheritance diagram for TextFormBase:
+
+
+ + +TextForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextElement ()
 
+wxChoice * GetChoiceElement ()
 
+wxStaticText * GetStaticTextName ()
 
+wxChoice * GetChoiceName ()
 
+wxStaticText * GetStaticTextType ()
 
+wxChoice * GetChoiceTextType ()
 
+wxStaticText * GetStaticTextFromBus ()
 
+wxChoice * GetChoiceTextFromBus ()
 
+wxStaticText * GetStaticTextToBus ()
 
+wxChoice * GetChoiceTextToBus ()
 
+wxStaticText * GetStaticTextUnit ()
 
+wxChoice * GetChoiceTextUnit ()
 
+wxStaticText * GetStaticTextDecimal ()
 
+wxTextCtrl * GetTextCtrlDecimal ()
 
+wxStaticText * GetStaticTextPreview ()
 
+wxTextCtrl * GetTextCtrlPreview ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
TextFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Text"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnElementChoiceSelected (wxCommandEvent &event)
 
+virtual void OnNameChoiceSelected (wxCommandEvent &event)
 
+virtual void OnTypeChoiceSelected (wxCommandEvent &event)
 
+virtual void OnFromBusChoiceSelected (wxCommandEvent &event)
 
+virtual void OnToBusChoiceSelected (wxCommandEvent &event)
 
+virtual void OnUnitChoiceSelected (wxCommandEvent &event)
 
+virtual void OnTextEnter (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextElement
 
+wxChoice * m_choiceElement
 
+wxStaticText * m_staticTextName
 
+wxChoice * m_choiceName
 
+wxStaticText * m_staticTextType
 
+wxChoice * m_choiceTextType
 
+wxStaticText * m_staticTextFromBus
 
+wxChoice * m_choiceTextFromBus
 
+wxStaticText * m_staticTextToBus
 
+wxChoice * m_choiceTextToBus
 
+wxStaticText * m_staticTextUnit
 
+wxChoice * m_choiceTextUnit
 
+wxStaticText * m_staticTextDecimal
 
+wxTextCtrl * m_textCtrlDecimal
 
+wxStaticText * m_staticTextPreview
 
+wxTextCtrl * m_textCtrlPreview
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_text_form_base.png b/docs/doxygen/html/class_text_form_base.png new file mode 100644 index 0000000..d8503e3 Binary files /dev/null and b/docs/doxygen/html/class_text_form_base.png differ diff --git a/docs/doxygen/html/class_text_g_l_drawable-members.html b/docs/doxygen/html/class_text_g_l_drawable-members.html new file mode 100644 index 0000000..2e5473d --- /dev/null +++ b/docs/doxygen/html/class_text_g_l_drawable-members.html @@ -0,0 +1,108 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TextGLDrawable Member List
+
+
+ +

This is the complete list of members for TextGLDrawable, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
angle (defined in TextGLDrawable)TextGLDrawableprotected
getheight() constTextGLDrawableinline
getWidth() constTextGLDrawableinline
h (defined in TextGLDrawable)TextGLDrawableprotected
image (defined in TextGLDrawable)TextGLDrawableprotected
move(double x, double y) (defined in TextGLDrawable)TextGLDrawableprotected
render() const (defined in TextGLDrawable)TextGLDrawable
rotate(int angle)TextGLDrawable
scale(float x, float y)TextGLDrawable
scale(float k)TextGLDrawable
setFlip(bool x, bool y)TextGLDrawable
setImage(TextTexture *image) (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_x1 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_x2 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_y1 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_y2 (defined in TextGLDrawable)TextGLDrawableprotected
texh (defined in TextGLDrawable)TextGLDrawableprotected
TextGLDrawable(TextTexture *image=(TextTexture *) 0) (defined in TextGLDrawable)TextGLDrawableprotected
texw (defined in TextGLDrawable)TextGLDrawableprotected
w (defined in TextGLDrawable)TextGLDrawableprotected
wxGLString (defined in TextGLDrawable)TextGLDrawablefriend
wxGLStringArray (defined in TextGLDrawable)TextGLDrawablefriend
wxGLStringNumber (defined in TextGLDrawable)TextGLDrawablefriend
x (defined in TextGLDrawable)TextGLDrawableprotected
xflip (defined in TextGLDrawable)TextGLDrawableprotected
xscale (defined in TextGLDrawable)TextGLDrawableprotected
y (defined in TextGLDrawable)TextGLDrawableprotected
yflip (defined in TextGLDrawable)TextGLDrawableprotected
yscale (defined in TextGLDrawable)TextGLDrawableprotected
+ + + + diff --git a/docs/doxygen/html/class_text_g_l_drawable.html b/docs/doxygen/html/class_text_g_l_drawable.html new file mode 100644 index 0000000..6ada767 --- /dev/null +++ b/docs/doxygen/html/class_text_g_l_drawable.html @@ -0,0 +1,343 @@ + + + + + + + +PSP-UFU: TextGLDrawable Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TextGLDrawable Class Reference
+
+
+ +

#include <wxGLString.h>

+
+Inheritance diagram for TextGLDrawable:
+
+
+ + +wxGLString +wxGLNumberRenderer + +
+ + + + + + + + + + + + + + + + +

+Public Member Functions

+void render () const
 
void setFlip (bool x, bool y)
 
void scale (float x, float y)
 
void scale (float k)
 
void rotate (int angle)
 
int getWidth () const
 
int getheight () const
 
+ + + + + + + +

+Protected Member Functions

TextGLDrawable (TextTexture *image=(TextTexture *) 0)
 
+void setImage (TextTexture *image)
 
+void move (double x, double y)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+double x
 
+double y
 
+double angle
 
+float xscale
 
+float yscale
 
+TextTextureimage = NULL
 
+bool xflip
 
+bool yflip
 
+float tex_coord_x1
 
+float tex_coord_y1
 
+float tex_coord_x2
 
+float tex_coord_y2
 
+int w
 
+int h
 
+int texw
 
+int texh
 
+ + + + + + + +

+Friends

+class wxGLString
 
+class wxGLStringArray
 
+class wxGLStringNumber
 
+

Detailed Description

+

base class for renderable elements. You won't create this one directly, but may use its public members from wxGLString since it inherits from TextGLDrawable. This class will be useful if you wish to apply effects to the text like rotation or scaling.

+

Member Function Documentation

+ +

◆ getheight()

+ +
+
+ + + + + +
+ + + + + + + +
int TextGLDrawable::getheight () const
+
+inline
+
+

returns the height of this element

+ +
+
+ +

◆ getWidth()

+ +
+
+ + + + + +
+ + + + + + + +
int TextGLDrawable::getWidth () const
+
+inline
+
+

returns the width of this element

+ +
+
+ +

◆ rotate()

+ +
+
+ + + + + + + + +
void TextGLDrawable::rotate (int angle)
+
+

rotate the rendering by 'angle' degrees

+ +
+
+ +

◆ scale() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
void TextGLDrawable::scale (float x,
float y 
)
+
+

scale the rendering , horizontally and vertically (allows stretching)

+ +
+
+ +

◆ scale() [2/2]

+ +
+
+ + + + + + + + +
void TextGLDrawable::scale (float k)
+
+

scale the rendering and keep the same aspect ratio

+ +
+
+ +

◆ setFlip()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void TextGLDrawable::setFlip (bool x,
bool y 
)
+
+

allows you to flip the rendering vertically and/or horizontally

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_text_g_l_drawable.png b/docs/doxygen/html/class_text_g_l_drawable.png new file mode 100644 index 0000000..b02d7d5 Binary files /dev/null and b/docs/doxygen/html/class_text_g_l_drawable.png differ diff --git a/docs/doxygen/html/class_text_texture-members.html b/docs/doxygen/html/class_text_texture-members.html new file mode 100644 index 0000000..b4082d3 --- /dev/null +++ b/docs/doxygen/html/class_text_texture-members.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TextTexture Member List
+
+
+ +

This is the complete list of members for TextTexture, including all inherited members.

+ + + + + + + + + +
getID() (defined in TextTexture)TextTextureprotected
load(wxImage *img) (defined in TextTexture)TextTextureprotected
TextTexture() (defined in TextTexture)TextTextureprotected
TextTexture(wxBitmap &bmp) (defined in TextTexture)TextTextureprotected
wxGLString (defined in TextTexture)TextTexturefriend
wxGLStringArray (defined in TextTexture)TextTexturefriend
wxGLStringNumber (defined in TextTexture)TextTexturefriend
~TextTexture() (defined in TextTexture)TextTexture
+ + + + diff --git a/docs/doxygen/html/class_text_texture.html b/docs/doxygen/html/class_text_texture.html new file mode 100644 index 0000000..2c68314 --- /dev/null +++ b/docs/doxygen/html/class_text_texture.html @@ -0,0 +1,108 @@ + + + + + + + +PSP-UFU: TextTexture Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TextTexture Class Reference
+
+
+ + + + + + + + +

+Protected Member Functions

+GLuint * getID ()
 
TextTexture (wxBitmap &bmp)
 
+void load (wxImage *img)
 
+ + + + + + + +

+Friends

+class wxGLString
 
+class wxGLStringArray
 
+class wxGLStringNumber
 
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/class_transfer_function-members.html b/docs/doxygen/html/class_transfer_function-members.html new file mode 100644 index 0000000..7c7a87b --- /dev/null +++ b/docs/doxygen/html/class_transfer_function-members.html @@ -0,0 +1,213 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TransferFunction Member List
+
+
+ +

This is the complete list of members for TransferFunction, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Elementinlinevirtual
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculateSpaceState(int maxIteration=100, double error=1e-3) (defined in TransferFunction)TransferFunctionvirtual
Contains(wxPoint2DDouble position) constTransferFunctioninlinevirtual
ControlElement(int id) (defined in ControlElement)ControlElement
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constTransferFunctionvirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawNodes() const (defined in ControlElement)ControlElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constElementinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Elementinlinevirtual
GetCopy()TransferFunctionvirtual
GetDenominator() const (defined in TransferFunction)TransferFunctioninlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetNodeList() const (defined in ControlElement)ControlElementinline
GetNumerator() const (defined in TransferFunction)TransferFunctioninlinevirtual
GetOutput() const (defined in ControlElement)ControlElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSpaceState() (defined in TransferFunction)TransferFunctioninlinevirtual
GetSuperscriptNumber(int number) (defined in TransferFunction)TransferFunctionprotectedvirtual
GetTFString(wxString &numerator, wxString &denominator) (defined in TransferFunction)TransferFunctionprotectedvirtual
GetTipText() constElementinlinevirtual
GetWidth() constElementinline
Intersects(wxRect2DDouble rect) constTransferFunctioninlinevirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
IsSolved() const (defined in ControlElement)ControlElementinlinevirtual
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_childList (defined in Element)Elementprotected
m_denominator (defined in TransferFunction)TransferFunctionprotected
m_dragging (defined in Element)Elementprotected
m_dx (defined in TransferFunction)TransferFunctionprotected
m_elementID (defined in Element)Elementprotected
m_error (defined in TransferFunction)TransferFunctionprotected
m_fontSize (defined in TransferFunction)TransferFunctionprotected
m_glStringDen (defined in TransferFunction)TransferFunctionprotected
m_glStringNum (defined in TransferFunction)TransferFunctionprotected
m_height (defined in Element)Elementprotected
m_maxIteration (defined in TransferFunction)TransferFunctionprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_nodeList (defined in ControlElement)ControlElementprotected
m_numerator (defined in TransferFunction)TransferFunctionprotected
m_online (defined in Element)Elementprotected
m_output (defined in ControlElement)ControlElementprotected
m_parentList (defined in Element)Elementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_solved (defined in ControlElement)ControlElementprotected
m_ss (defined in TransferFunction)TransferFunctionprotected
m_supNumber (defined in TransferFunction)TransferFunctionprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
m_x (defined in TransferFunction)TransferFunctionprotected
Move(wxPoint2DDouble position)ControlElementvirtual
MoveNode(Element *parent, wxPoint2DDouble position)Elementinlinevirtual
MovePickbox(wxPoint2DDouble position)Elementinlinevirtual
NodeContains(wxPoint2DDouble position)Elementinlinevirtual
PickboxContains(wxPoint2DDouble position)Elementinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Elementinlinevirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceNode(Node *oldNode, Node *newNode) (defined in ControlElement)ControlElementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)TransferFunctionvirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise=true)Elementinlinevirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDenominator(std::vector< double > denominator) (defined in TransferFunction)TransferFunctioninlinevirtual
SetDragging(bool dragging=true)Elementinline
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeList(std::vector< Node *> nodeList) (defined in ControlElement)ControlElementinline
SetNodeParent(Element *parent)Elementinlinevirtual
SetNumerator(std::vector< double > numerator) (defined in TransferFunction)TransferFunctioninlinevirtual
SetOnline(bool online=true)Element
SetOutput(double output) (defined in ControlElement)ControlElementinlinevirtual
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetSelected(bool selected=true)Elementinline
SetSolved(bool solved=true) (defined in ControlElement)ControlElementinlinevirtual
SetText(wxString numerator, wxString denominator) (defined in TransferFunction)TransferFunctionprotectedvirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)TransferFunctionvirtual
ShowPickbox(bool showPickbox=true)Elementinline
Solve(double input, double timeStep) (defined in TransferFunction)TransferFunctionvirtual
StartMove(wxPoint2DDouble position)ControlElementvirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
TransferFunction(int id) (defined in TransferFunction)TransferFunction
UpdateNodes()Elementinlinevirtual
UpdateText() (defined in TransferFunction)TransferFunctioninlinevirtual
UpdateTFText() (defined in TransferFunction)TransferFunctionvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~ControlElement() (defined in ControlElement)ControlElement
~Element()Elementvirtual
~TransferFunction() (defined in TransferFunction)TransferFunction
+ + + + diff --git a/docs/doxygen/html/class_transfer_function.html b/docs/doxygen/html/class_transfer_function.html new file mode 100644 index 0000000..a7d268d --- /dev/null +++ b/docs/doxygen/html/class_transfer_function.html @@ -0,0 +1,754 @@ + + + + + + + +PSP-UFU: TransferFunction Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TransferFunction Class Reference
+
+
+
+Inheritance diagram for TransferFunction:
+
+
+ + +ControlElement +Element + +
+ + + + +

+Classes

struct  SpaceState
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

TransferFunction (int id)
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
+virtual std::vector< double > GetNumerator () const
 
+virtual std::vector< double > GetDenominator () const
 
+virtual void SetNumerator (std::vector< double > numerator)
 
+virtual void SetDenominator (std::vector< double > denominator)
 
+virtual void UpdateTFText ()
 
+virtual void UpdateText ()
 
+virtual SpaceState GetSpaceState ()
 
+virtual void CalculateSpaceState (int maxIteration=100, double error=1e-3)
 
+virtual bool Solve (double input, double timeStep)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
- Public Member Functions inherited from ControlElement
ControlElement (int id)
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
+void SetNodeList (std::vector< Node *> nodeList)
 
+std::vector< Node * > GetNodeList () const
 
+virtual void DrawNodes () const
 
+virtual void ReplaceNode (Node *oldNode, Node *newNode)
 
+virtual bool IsSolved () const
 
+virtual void SetSolved (bool solved=true)
 
+virtual double GetOutput () const
 
+virtual void SetOutput (double output)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
virtual void RotateNode (Element *parent, bool clockwise=true)
 Rotate a node. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + + + + + +

+Protected Member Functions

+virtual void SetText (wxString numerator, wxString denominator)
 
+virtual wxString GetSuperscriptNumber (int number)
 
+virtual void GetTFString (wxString &numerator, wxString &denominator)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wchar_t m_supNumber [10]
 
+wxGLStringm_glStringNum = NULL
 
+wxGLStringm_glStringDen = NULL
 
+int m_fontSize = 10
 
+std::vector< double > m_numerator
 
+std::vector< double > m_denominator
 
+SpaceState m_ss
 
+std::vector< double > m_x
 
+std::vector< double > m_dx
 
+double m_error = 1e-3
 
+int m_maxIteration = 100
 
- Protected Attributes inherited from ControlElement
+std::vector< Node * > m_nodeList
 
+bool m_solved = false
 
+double m_output = 0.0
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool TransferFunction::Contains (wxPoint2DDouble position) const
+
+inlinevirtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void TransferFunction::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * TransferFunction::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool TransferFunction::Intersects (wxRect2DDouble rect) const
+
+inlinevirtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Implements Element.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void TransferFunction::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool TransferFunction::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_transfer_function.png b/docs/doxygen/html/class_transfer_function.png new file mode 100644 index 0000000..532ceae Binary files /dev/null and b/docs/doxygen/html/class_transfer_function.png differ diff --git a/docs/doxygen/html/class_transfer_function_form-members.html b/docs/doxygen/html/class_transfer_function_form-members.html new file mode 100644 index 0000000..79bb97e --- /dev/null +++ b/docs/doxygen/html/class_transfer_function_form-members.html @@ -0,0 +1,105 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TransferFunctionForm Member List
+
+
+ +

This is the complete list of members for TransferFunctionForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetButtonOK() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetNotebook() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetPanelGeneral() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetStaticTextDenominator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetStaticTextNumerator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetTextCtrlDenominator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetTextCtrlNumerator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
LoadTFData() (defined in TransferFunctionForm)TransferFunctionFormprotected
m_ButtonCancel (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_buttonOK (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_notebook (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_panelGeneral (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_parent (defined in TransferFunctionForm)TransferFunctionFormprotected
m_staticTextDenominator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_staticTextNumerator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_textCtrlDenominator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_textCtrlNumerator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_tf (defined in TransferFunctionForm)TransferFunctionFormprotected
OnCancelClick(wxCommandEvent &event) (defined in TransferFunctionForm)TransferFunctionFormprotectedvirtual
OnOKClick(wxCommandEvent &event) (defined in TransferFunctionForm)TransferFunctionFormprotectedvirtual
TransferFunctionForm(wxWindow *parent, TransferFunction *transferFunction) (defined in TransferFunctionForm)TransferFunctionForm
TransferFunctionFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transfer function"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in TransferFunctionFormBase)TransferFunctionFormBase
ValidateData() (defined in TransferFunctionForm)TransferFunctionForm
~TransferFunctionForm() (defined in TransferFunctionForm)TransferFunctionFormvirtual
~TransferFunctionFormBase() (defined in TransferFunctionFormBase)TransferFunctionFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_transfer_function_form.html b/docs/doxygen/html/class_transfer_function_form.html new file mode 100644 index 0000000..1adf4ac --- /dev/null +++ b/docs/doxygen/html/class_transfer_function_form.html @@ -0,0 +1,178 @@ + + + + + + + +PSP-UFU: TransferFunctionForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TransferFunctionForm Class Reference
+
+
+
+Inheritance diagram for TransferFunctionForm:
+
+
+ + +TransferFunctionFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

TransferFunctionForm (wxWindow *parent, TransferFunction *transferFunction)
 
+bool ValidateData ()
 
- Public Member Functions inherited from TransferFunctionFormBase
+wxStaticText * GetStaticTextNumerator ()
 
+wxTextCtrl * GetTextCtrlNumerator ()
 
+wxStaticText * GetStaticTextDenominator ()
 
+wxTextCtrl * GetTextCtrlDenominator ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
TransferFunctionFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transfer function"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnCancelClick (wxCommandEvent &event)
 
+virtual void OnOKClick (wxCommandEvent &event)
 
+void LoadTFData ()
 
+ + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+TransferFunctionm_tf = NULL
 
- Protected Attributes inherited from TransferFunctionFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextNumerator
 
+wxTextCtrl * m_textCtrlNumerator
 
+wxStaticText * m_staticTextDenominator
 
+wxTextCtrl * m_textCtrlDenominator
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_transfer_function_form.png b/docs/doxygen/html/class_transfer_function_form.png new file mode 100644 index 0000000..e0cf2ee Binary files /dev/null and b/docs/doxygen/html/class_transfer_function_form.png differ diff --git a/docs/doxygen/html/class_transfer_function_form_base-members.html b/docs/doxygen/html/class_transfer_function_form_base-members.html new file mode 100644 index 0000000..c935662 --- /dev/null +++ b/docs/doxygen/html/class_transfer_function_form_base-members.html @@ -0,0 +1,99 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TransferFunctionFormBase Member List
+
+
+ +

This is the complete list of members for TransferFunctionFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetButtonOK() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetNotebook() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetPanelGeneral() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetStaticTextDenominator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetStaticTextNumerator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetTextCtrlDenominator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
GetTextCtrlNumerator() (defined in TransferFunctionFormBase)TransferFunctionFormBaseinline
m_ButtonCancel (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_buttonOK (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_notebook (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_panelGeneral (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_staticTextDenominator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_staticTextNumerator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_textCtrlDenominator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
m_textCtrlNumerator (defined in TransferFunctionFormBase)TransferFunctionFormBaseprotected
OnCancelClick(wxCommandEvent &event) (defined in TransferFunctionFormBase)TransferFunctionFormBaseinlineprotectedvirtual
OnOKClick(wxCommandEvent &event) (defined in TransferFunctionFormBase)TransferFunctionFormBaseinlineprotectedvirtual
TransferFunctionFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transfer function"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in TransferFunctionFormBase)TransferFunctionFormBase
~TransferFunctionFormBase() (defined in TransferFunctionFormBase)TransferFunctionFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_transfer_function_form_base.html b/docs/doxygen/html/class_transfer_function_form_base.html new file mode 100644 index 0000000..8cb5567 --- /dev/null +++ b/docs/doxygen/html/class_transfer_function_form_base.html @@ -0,0 +1,161 @@ + + + + + + + +PSP-UFU: TransferFunctionFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TransferFunctionFormBase Class Reference
+
+
+
+Inheritance diagram for TransferFunctionFormBase:
+
+
+ + +TransferFunctionForm + +
+ + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextNumerator ()
 
+wxTextCtrl * GetTextCtrlNumerator ()
 
+wxStaticText * GetStaticTextDenominator ()
 
+wxTextCtrl * GetTextCtrlDenominator ()
 
+wxPanel * GetPanelGeneral ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
TransferFunctionFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transfer function"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + +

+Protected Member Functions

+virtual void OnOKClick (wxCommandEvent &event)
 
+virtual void OnCancelClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextNumerator
 
+wxTextCtrl * m_textCtrlNumerator
 
+wxStaticText * m_staticTextDenominator
 
+wxTextCtrl * m_textCtrlDenominator
 
+wxButton * m_buttonOK
 
+wxButton * m_ButtonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_transfer_function_form_base.png b/docs/doxygen/html/class_transfer_function_form_base.png new file mode 100644 index 0000000..9f97f5c Binary files /dev/null and b/docs/doxygen/html/class_transfer_function_form_base.png differ diff --git a/docs/doxygen/html/class_transformer-members.html b/docs/doxygen/html/class_transformer-members.html new file mode 100644 index 0000000..caf19ad --- /dev/null +++ b/docs/doxygen/html/class_transformer-members.html @@ -0,0 +1,215 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Transformer Member List
+
+
+ +

This is the complete list of members for Transformer, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AddChild(Element *child)Elementvirtual
AddParent(Element *parent, wxPoint2DDouble position)Transformervirtual
Branch::AddParent(Element *parent)Elementinlinevirtual
AddPoint(wxPoint2DDouble point)Branchinlinevirtual
Branch() (defined in Branch)Branch
CalculateBoundaries(wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) constElementvirtual
CalculatePowerFlowPts(std::vector< wxPoint2DDouble > edges)PowerElementvirtual
Contains(wxPoint2DDouble position) constTransformervirtual
DoubleFromString(wxWindow *parent, wxString strValue, double &value, wxString errorMsg)Elementstatic
Draw(wxPoint2DDouble translation, double scale) constTransformervirtual
DrawArc(wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const (defined in Element)Elementvirtual
DrawCircle(wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) constElementvirtual
DrawLine(std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) constElementvirtual
DrawPickbox(wxPoint2DDouble position) constElementvirtual
DrawPoint(wxPoint2DDouble position, double size) constElementvirtual
DrawPowerFlowPts() constPowerElementvirtual
DrawRectangle(wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) constElementvirtual
DrawRectangle(wxPoint2DDouble *points, GLenum mode=GL_QUADS) constElementvirtual
DrawSwitches() constPowerElementvirtual
DrawTriangle(std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) constElementvirtual
Element()Element
GeneralMenuItens(wxMenu &menu)Elementvirtual
GetAngle() constElementinline
GetBestPickboxCursor() constBranchinlinevirtual
GetChildList() constElementinlinevirtual
GetContextMenu(wxMenu &menu)Transformervirtual
GetCopy()Transformervirtual
GetElectricalData() const (defined in Transformer)Transformerinlinevirtual
GetHeight() constElementinline
GetID() constElementinlinevirtual
GetParentList() constElementinlinevirtual
GetPlotData(ElementPlotData &plotData)PowerElementinlinevirtual
GetPointList() constElementinlinevirtual
GetPosition() constElementinline
GetPowerFlowDirection() constPowerElementinlinevirtual
GetPUElectricalData(double systemBasePower) (defined in Transformer)Transformervirtual
GetRect() constElementinline
GetRotationAngle() constElementinline
GetSwitchingData()PowerElementinlinevirtual
GetSwitchPoint(Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) constPowerElementvirtual
GetTipText() constTransformervirtual
GetValueFromUnit(double value, ElectricalUnit valueUnit) (defined in PowerElement)PowerElementvirtual
GetWidth() constElementinline
HaveDynamicEvent() constPowerElementinlinevirtual
Intersects(wxRect2DDouble rect) constTransformervirtual
IntFromString(wxWindow *parent, wxString strValue, int &value, wxString errorMsg)Elementstatic
IsDragging() constElementinline
IsOnline() constElementinline
IsPickboxShown() constElementinline
IsSelected() constElementinline
m_activeNodeID (defined in Element)Elementprotected
m_activePickboxID (defined in Element)Elementprotected
m_angle (defined in Element)Elementprotected
m_borderSize (defined in Element)Elementprotected
m_busColour (defined in PowerElement)PowerElementprotected
m_childList (defined in Element)Elementprotected
m_closedSwitchColour (defined in PowerElement)PowerElementprotected
m_dragging (defined in Element)Elementprotected
m_dynamicEventColour (defined in PowerElement)PowerElementprotected
m_dynEvent (defined in PowerElement)PowerElementprotected
m_electricalData (defined in Transformer)Transformerprotected
m_elementID (defined in Element)Elementprotected
m_height (defined in Element)Elementprotected
m_inserted (defined in Branch)Branchprotected
m_movePos (defined in Element)Elementprotected
m_movePts (defined in Element)Elementprotected
m_moveStartPt (defined in Element)Elementprotected
m_offlineElementColour (defined in PowerElement)PowerElementprotected
m_online (defined in Element)Elementprotected
m_onlineElementColour (defined in PowerElement)PowerElementprotected
m_openedSwitchColour (defined in PowerElement)PowerElementprotected
m_parentList (defined in Element)Elementprotected
m_pfDirection (defined in PowerElement)PowerElementprotected
m_pointList (defined in Element)Elementprotected
m_position (defined in Element)Elementprotected
m_powerFlowArrow (defined in PowerElement)PowerElementprotected
m_powerFlowArrowColour (defined in PowerElement)PowerElementprotected
m_rect (defined in Element)Elementprotected
m_rotationAngle (defined in Element)Elementprotected
m_selected (defined in Element)Elementprotected
m_selectionColour (defined in Element)Elementprotected
m_showPickbox (defined in Element)Elementprotected
m_swData (defined in PowerElement)PowerElementprotected
m_switchRect (defined in Element)Elementprotected
m_switchSize (defined in Element)Elementprotected
m_width (defined in Element)Elementprotected
Move(wxPoint2DDouble position)Transformervirtual
MoveNode(Element *parent, wxPoint2DDouble position)Transformervirtual
MovePickbox(wxPoint2DDouble position)Branchinlinevirtual
NodeContains(wxPoint2DDouble position)Branchvirtual
PickboxContains(wxPoint2DDouble position)Branchinlinevirtual
PointToLineDistance(wxPoint2DDouble point, int *segmentNumber=NULL) constElementvirtual
PowerElement()PowerElement
RemoveChild(Element *child)Elementvirtual
RemoveParent(Element *parent)Branchvirtual
ReplaceChild(Element *oldChild, Element *newChild)Elementvirtual
ReplaceParent(Element *oldParent, Element *newParent)Elementvirtual
ResetNodes()Elementinlinevirtual
ResetPickboxes()Elementinlinevirtual
Rotate(bool clockwise=true)Transformervirtual
RotateAtPosition(wxPoint2DDouble pointToRotate, double angle, bool degrees=true) constElementvirtual
RotatedRectanglesIntersects(wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) constElementvirtual
RotateNode(Element *parent, bool clockwise)Transformervirtual
SetAngle(double angle)Elementinline
SetBorderSize(double borderSize)Elementinline
SetDragging(bool dragging=true)Elementinline
SetDynamicEvent(bool dynEvent=true)PowerElementinlinevirtual
SetElectricaData(TransformerElectricalData electricalData) (defined in Transformer)Transformerinlinevirtual
SetHeight(double height)Elementinline
SetID(int id)Elementinlinevirtual
SetNodeParent(Element *parent)Transformervirtual
SetNominalVoltage(std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)Transformervirtual
SetOnline(bool online=true)Element
SetPointList(std::vector< wxPoint2DDouble > pointList)Elementinlinevirtual
SetPosition(const wxPoint2DDouble position)Element
SetPowerFlowDirection(PowerFlowDirection pfDirection)Transformervirtual
SetSelected(bool selected=true)Elementinline
SetSwitchingData(SwitchingData data)PowerElementinlinevirtual
SetWidth(double width)Elementinline
ShowForm(wxWindow *parent, Element *element)Transformervirtual
ShowPickbox(bool showPickbox=true)Elementinline
StartMove(wxPoint2DDouble position)Transformervirtual
StringFromDouble(double value, int minDecimal=1)Elementstatic
SwitchesContains(wxPoint2DDouble position) constPowerElementvirtual
Transformer() (defined in Transformer)Transformer
Transformer(wxString name) (defined in Transformer)Transformer
UpdateNodes()Branchvirtual
UpdatePowerFlowArrowsPosition() (defined in Transformer)Transformerprotected
UpdateSwitches()Branchvirtual
UpdateSwitchesPosition() (defined in Branch)Branchvirtual
WorldToScreen(wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
WorldToScreen(wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) constElementvirtual
~Branch() (defined in Branch)Branch
~Element()Elementvirtual
~PowerElement()PowerElement
~Transformer() (defined in Transformer)Transformervirtual
+ + + + diff --git a/docs/doxygen/html/class_transformer.html b/docs/doxygen/html/class_transformer.html new file mode 100644 index 0000000..99e40f3 --- /dev/null +++ b/docs/doxygen/html/class_transformer.html @@ -0,0 +1,1156 @@ + + + + + + + +PSP-UFU: Transformer Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Transformer Class Reference
+
+
+
+Inheritance diagram for Transformer:
+
+
+ + +Branch +PowerElement +Element + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Transformer (wxString name)
 
virtual ElementGetCopy ()
 Get a the element copy. More...
 
virtual bool AddParent (Element *parent, wxPoint2DDouble position)
 Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted. More...
 
virtual bool Contains (wxPoint2DDouble position) const
 Checks if the element contains a position. More...
 
virtual void Draw (wxPoint2DDouble translation, double scale) const
 Draw the element. More...
 
virtual bool Intersects (wxRect2DDouble rect) const
 Check if the element's rect intersects other rect. More...
 
virtual void Rotate (bool clockwise=true)
 Rotate the element. More...
 
virtual void Move (wxPoint2DDouble position)
 Move the element other position. More...
 
virtual void MoveNode (Element *parent, wxPoint2DDouble position)
 Move a node. StartMove(wxPoint2DDouble position) before start moving. More...
 
virtual void StartMove (wxPoint2DDouble position)
 Update the element attributes related to the movement. More...
 
virtual bool GetContextMenu (wxMenu &menu)
 Get the element contex menu. More...
 
virtual wxString GetTipText () const
 Get the tip text. More...
 
virtual void RotateNode (Element *parent, bool clockwise)
 Rotate a node. More...
 
virtual bool SetNodeParent (Element *parent)
 Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated. More...
 
virtual void SetPowerFlowDirection (PowerFlowDirection pfDirection)
 Set the direction of the power flow. More...
 
virtual bool ShowForm (wxWindow *parent, Element *element)
 Show element data form. More...
 
+virtual TransformerElectricalData GetElectricalData () const
 
+virtual TransformerElectricalData GetPUElectricalData (double systemBasePower)
 
+virtual void SetElectricaData (TransformerElectricalData electricalData)
 
virtual void SetNominalVoltage (std::vector< double > nominalVoltage, std::vector< ElectricalUnit > nominalVoltageUnit)
 Set nominal voltage of the element. More...
 
- Public Member Functions inherited from Branch
virtual bool NodeContains (wxPoint2DDouble position)
 Check if a node contains a point. If contains, set the attributes related to node movement. More...
 
virtual void RemoveParent (Element *parent)
 Remove a parent. More...
 
+virtual void UpdateNodes ()
 Update the nodes according to the parents. If a parent is removed, use this method.
 
virtual wxCursor GetBestPickboxCursor () const
 Get the best cursor to shown to the user when the mouse is above a pickbox. More...
 
virtual void MovePickbox (wxPoint2DDouble position)
 Move the pickbox. More...
 
virtual bool PickboxContains (wxPoint2DDouble position)
 Check if a pickbox contains a point. If contains the attributes related to pickbox movement will be calculated. More...
 
virtual void AddPoint (wxPoint2DDouble point)
 Add point to the list of points that connect the element to the bus. More...
 
+virtual void UpdateSwitchesPosition ()
 
+virtual void UpdateSwitches ()
 Update the switch position.
 
- Public Member Functions inherited from PowerElement
PowerElement ()
 Constructor.
 
~PowerElement ()
 Destructor.
 
virtual wxPoint2DDouble GetSwitchPoint (Element *parent, wxPoint2DDouble parentPoint, wxPoint2DDouble secondPoint) const
 Get the correct switch position. More...
 
virtual bool SwitchesContains (wxPoint2DDouble position) const
 Check if switch contains position. More...
 
+virtual void DrawSwitches () const
 Draw switch.
 
virtual void CalculatePowerFlowPts (std::vector< wxPoint2DDouble > edges)
 Calculate the points of the power flow arrows. More...
 
+virtual void DrawPowerFlowPts () const
 Draw power flow arrows.
 
virtual void SetSwitchingData (SwitchingData data)
 Set the switching data of the element. More...
 
virtual SwitchingData GetSwitchingData ()
 Returns the switching data of the element. More...
 
virtual PowerFlowDirection GetPowerFlowDirection () const
 Return the direction of the power flow. More...
 
virtual bool GetPlotData (ElementPlotData &plotData)
 Fill the plot data. More...
 
virtual bool HaveDynamicEvent () const
 Check if the power element have dynamic event. More...
 
virtual void SetDynamicEvent (bool dynEvent=true)
 Set if the power element have dynamic event. More...
 
+virtual double GetValueFromUnit (double value, ElectricalUnit valueUnit)
 
- Public Member Functions inherited from Element
Element ()
 Constructor.
 
+virtual ~Element ()
 Destructor.
 
void SetDragging (bool dragging=true)
 Set if the element are being dragged. More...
 
void SetHeight (double height)
 Set element height. More...
 
void SetPosition (const wxPoint2DDouble position)
 Set the element position and update the rectangle. More...
 
void SetSelected (bool selected=true)
 Set element selection. More...
 
void SetWidth (double width)
 Set element width. More...
 
void SetAngle (double angle)
 Set element angle. More...
 
void ShowPickbox (bool showPickbox=true)
 Set if the pickbox is shown. More...
 
void SetBorderSize (double borderSize)
 Set the size of the border (shown in selected elements). More...
 
bool SetOnline (bool online=true)
 Set if the element is online or offline. More...
 
virtual void SetPointList (std::vector< wxPoint2DDouble > pointList)
 Set the list of points that connect the element to the bus. More...
 
wxRect2DDouble GetRect () const
 Get the element rectangle. More...
 
wxPoint2DDouble GetPosition () const
 Get the element position. More...
 
bool IsDragging () const
 Checks if the element is being dragged. More...
 
double GetHeight () const
 Get the element height. More...
 
bool IsSelected () const
 Checks if the element is selected. More...
 
double GetWidth () const
 Get the element width. More...
 
double GetAngle () const
 Get the element angle. More...
 
double GetRotationAngle () const
 Get the angle of rotation. More...
 
bool IsPickboxShown () const
 Checks if the pickbox is shown. More...
 
bool IsOnline () const
 Checks if the element is online or offline. More...
 
virtual std::vector< wxPoint2DDouble > GetPointList () const
 Get the list of points that connect the element to bus. More...
 
virtual void AddParent (Element *parent)
 Add a parent to the element. More...
 
virtual void SetID (int id)
 Set the element ID. More...
 
virtual int GetID () const
 Get the element ID. More...
 
virtual void AddChild (Element *child)
 Add a child to the child list. More...
 
virtual void RemoveChild (Element *child)
 Remove a child from the list. More...
 
virtual void ReplaceChild (Element *oldChild, Element *newChild)
 Replace a child from the list. More...
 
virtual void ReplaceParent (Element *oldParent, Element *newParent)
 Replace a parent. More...
 
+virtual void ResetPickboxes ()
 Remove the pickboxes.
 
+virtual void ResetNodes ()
 Remove the active nodes.
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert the element position to screen position. More...
 
virtual wxPoint2DDouble WorldToScreen (wxPoint2DDouble position, wxPoint2DDouble translation, double scale, double offsetX=0.0, double offsetY=0.0) const
 Convert a generic position to screen position. More...
 
virtual bool RotatedRectanglesIntersects (wxRect2DDouble rect1, wxRect2DDouble rect2, double angle1, double angle2) const
 Check if two roteted rectangles intersect. More...
 
virtual void DrawCircle (wxPoint2DDouble position, double radius, int numSegments, GLenum mode=GL_LINE_LOOP) const
 Draw a circle. More...
 
+virtual void DrawArc (wxPoint2DDouble position, double radius, double initAngle, double finalAngle, int numSegments, GLenum mode=GL_LINE_LOOP) const
 
virtual void DrawRectangle (wxPoint2DDouble position, double width, double height, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawRectangle (wxPoint2DDouble *points, GLenum mode=GL_QUADS) const
 Draw rectangle. More...
 
virtual void DrawTriangle (std::vector< wxPoint2DDouble > points, GLenum mode=GL_TRIANGLES) const
 Draw a triangle. More...
 
virtual void DrawPoint (wxPoint2DDouble position, double size) const
 Draw a point. More...
 
virtual void DrawLine (std::vector< wxPoint2DDouble > points, GLenum mode=GL_LINE_STRIP) const
 Draw line. More...
 
virtual void DrawPickbox (wxPoint2DDouble position) const
 Draw pickbox. More...
 
virtual wxPoint2DDouble RotateAtPosition (wxPoint2DDouble pointToRotate, double angle, bool degrees=true) const
 Rotate a point as element position being the origin. More...
 
virtual std::vector< Element * > GetParentList () const
 Get the parent list. More...
 
virtual std::vector< Element * > GetChildList () const
 Get the Child list. More...
 
virtual void CalculateBoundaries (wxPoint2DDouble &leftUp, wxPoint2DDouble &rightBottom) const
 Calculate the element boundaries. More...
 
virtual void GeneralMenuItens (wxMenu &menu)
 Insert general itens to context menu. More...
 
virtual double PointToLineDistance (wxPoint2DDouble point, int *segmentNumber=NULL) const
 Calculate the distance between a line (formed by point list) and a point. More...
 
+ + + +

+Protected Member Functions

+void UpdatePowerFlowArrowsPosition ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+TransformerElectricalData m_electricalData
 
- Protected Attributes inherited from Branch
+bool m_inserted = false
 
- Protected Attributes inherited from PowerElement
+SwitchingData m_swData
 
+std::vector< std::vector< wxPoint2DDouble > > m_powerFlowArrow
 
+PowerFlowDirection m_pfDirection = PF_NONE
 
+OpenGLColour m_busColour
 
+OpenGLColour m_onlineElementColour
 
+OpenGLColour m_offlineElementColour
 
+OpenGLColour m_closedSwitchColour
 
+OpenGLColour m_openedSwitchColour
 
+OpenGLColour m_powerFlowArrowColour
 
+OpenGLColour m_dynamicEventColour
 
+bool m_dynEvent = false
 
- Protected Attributes inherited from Element
+int m_elementID = 0
 
+std::vector< Element * > m_parentList
 
+std::vector< Element * > m_childList
 
+wxRect2DDouble m_rect
 
+wxPoint2DDouble m_position
 
+double m_width = 0.0
 
+double m_height = 0.0
 
+double m_angle = 0.0
 
+double m_borderSize = 2.0
 
+double m_rotationAngle = 45.0
 
+double m_switchSize = 10.0
 
+std::vector< wxRect2DDouble > m_switchRect
 
+bool m_selected = false
 
+bool m_dragging = false
 
+bool m_showPickbox = false
 
+int m_activePickboxID = ID_PB_NONE
 
+int m_activeNodeID = 0
 
+std::vector< wxPoint2DDouble > m_pointList
 
+std::vector< wxPoint2DDouble > m_movePts
 
+wxPoint2DDouble m_moveStartPt
 
+wxPoint2DDouble m_movePos
 
+bool m_online = true
 
+OpenGLColour m_selectionColour
 
+ + + + + + + + + + + +

+Additional Inherited Members

- Static Public Member Functions inherited from Element
static bool DoubleFromString (wxWindow *parent, wxString strValue, double &value, wxString errorMsg)
 Get a double value from a string. Show a error message if the conversion fail. More...
 
static bool IntFromString (wxWindow *parent, wxString strValue, int &value, wxString errorMsg)
 Convert a string to int. Show a error message if the conversion fail. More...
 
static wxString StringFromDouble (double value, int minDecimal=1)
 Convert a double value to string. More...
 
+

Member Function Documentation

+ +

◆ AddParent()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Transformer::AddParent (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Add a parent to the element. This method must be used on power elements that connect to a bus, so the parent must be a bus. The element basic points are calculated in this method, so apply this when the element is being inserted.

+
Parameters
+ + + +
parentElement parent.
positionNode position in the parent.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Contains()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Transformer::Contains (wxPoint2DDouble position) const
+
+virtual
+
+ +

Checks if the element contains a position.

+
Parameters
+ + +
positionPosition to be checked.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ Draw()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Transformer::Draw (wxPoint2DDouble translation,
double scale 
) const
+
+virtual
+
+ +

Draw the element.

+
Parameters
+ + + +
translationTranslation of the system.
scaleScale of the system.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ GetContextMenu()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Transformer::GetContextMenu (wxMenu & menu)
+
+virtual
+
+ +

Get the element contex menu.

+
Parameters
+ + +
menumenu that will be inserted the element itens.
+
+
+
Returns
True if was possible to build the menu, false otherwise.
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ GetCopy()

+ +
+
+ + + + + +
+ + + + + + + +
Element * Transformer::GetCopy ()
+
+virtual
+
+ +

Get a the element copy.

+
Returns
Copy of the element.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ GetTipText()

+ +
+
+ + + + + +
+ + + + + + + +
wxString Transformer::GetTipText () const
+
+virtual
+
+ +

Get the tip text.

+
Returns
Tip text.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ Intersects()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Transformer::Intersects (wxRect2DDouble rect) const
+
+virtual
+
+ +

Check if the element's rect intersects other rect.

+
Parameters
+ + +
rectRect to check intersection.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ Move()

+ +
+
+ + + + + +
+ + + + + + + + +
void Transformer::Move (wxPoint2DDouble position)
+
+virtual
+
+ +

Move the element other position.

+
Parameters
+ + +
positionPosition that the element will be moved. Use StartMove(wxPoint2DDouble position) before start moving.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ MoveNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Transformer::MoveNode (Elementparent,
wxPoint2DDouble position 
)
+
+virtual
+
+ +

Move a node. StartMove(wxPoint2DDouble position) before start moving.

+
Parameters
+ + + +
parentNode's parent.
positionNew node position.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ Rotate()

+ +
+
+ + + + + +
+ + + + + + + + +
void Transformer::Rotate (bool clockwise = true)
+
+virtual
+
+ +

Rotate the element.

+
Parameters
+ + +
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Element.

+ +
+
+ +

◆ RotateNode()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Transformer::RotateNode (Elementparent,
bool clockwise 
)
+
+virtual
+
+ +

Rotate a node.

+
Parameters
+ + + +
parentNode's parent.
clockwiseTrue to rotate clockwise, false to rotate counter-clockwise.
+
+
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ SetNodeParent()

+ +
+
+ + + + + +
+ + + + + + + + +
bool Transformer::SetNodeParent (Elementparent)
+
+virtual
+
+ +

Set a perent to the node. If all conditions are met, a new parent are added to the element and the points related to the nodes will be calculated.

+
Parameters
+ + +
parentNode parent.
+
+
+
Returns
True if was possible to set the parent.
+ +

Reimplemented from Branch.

+ +
+
+ +

◆ SetNominalVoltage()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
void Transformer::SetNominalVoltage (std::vector< double > nominalVoltage,
std::vector< ElectricalUnitnominalVoltageUnit 
)
+
+virtual
+
+ +

Set nominal voltage of the element.

+
Parameters
+ + + +
nominalVoltageValue of the nominal voltage.
nominalVoltageUnitUnit of the nominal voltage.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ SetPowerFlowDirection()

+ +
+
+ + + + + +
+ + + + + + + + +
void Transformer::SetPowerFlowDirection (PowerFlowDirection pfDirection)
+
+virtual
+
+ +

Set the direction of the power flow.

+
Parameters
+ + +
pfDirectionPower flow direction.
+
+
+ +

Reimplemented from PowerElement.

+ +
+
+ +

◆ ShowForm()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
bool Transformer::ShowForm (wxWindow * parent,
Elementelement 
)
+
+virtual
+
+ +

Show element data form.

+
Parameters
+ + + +
parentForm parent
elementElement that will be edited.
+
+
+
Returns
True if the form is shown, false otherwise.
+ +

Reimplemented from Element.

+ +
+
+ +

◆ StartMove()

+ +
+
+ + + + + +
+ + + + + + + + +
void Transformer::StartMove (wxPoint2DDouble position)
+
+virtual
+
+ +

Update the element attributes related to the movement.

+
Parameters
+ + +
positionStart move position.
+
+
+ +

Reimplemented from Branch.

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_transformer.png b/docs/doxygen/html/class_transformer.png new file mode 100644 index 0000000..f006a2b Binary files /dev/null and b/docs/doxygen/html/class_transformer.png differ diff --git a/docs/doxygen/html/class_transformer_form-members.html b/docs/doxygen/html/class_transformer_form-members.html new file mode 100644 index 0000000..ee60472 --- /dev/null +++ b/docs/doxygen/html/class_transformer_form-members.html @@ -0,0 +1,173 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TransformerForm Member List
+
+
+ +

This is the complete list of members for TransformerForm, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in TransformerFormBase)TransformerFormBaseinline
GetButtonOK() (defined in TransformerFormBase)TransformerFormBaseinline
GetButtonStability() (defined in TransformerFormBase)TransformerFormBaseinline
GetCheckUseTransformerPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceBaseVoltage() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceConnection() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceNominalPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetNotebook() (defined in TransformerFormBase)TransformerFormBaseinline
GetPanelFault() (defined in TransformerFormBase)TransformerFormBaseinline
GetPanelGeneral() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticLine_1() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextBaseVoltage() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextConnection() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextDeg() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextName() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextNominalPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextNominalVoltage() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextNominalVoltageValue() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextPhaseShift() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextPrimReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextPrimResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextSecReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextSecResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextTurnsRatio() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextZeroReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextZeroResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlName() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlNominalPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlPhaseShift() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlPrimReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlPrimResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlSecReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlSecResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlTurnRatio() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlZeroReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlZeroResistance() (defined in TransformerFormBase)TransformerFormBaseinline
m_buttonCancel (defined in TransformerFormBase)TransformerFormBaseprotected
m_buttonOK (defined in TransformerFormBase)TransformerFormBaseprotected
m_buttonStability (defined in TransformerFormBase)TransformerFormBaseprotected
m_checkUseTransformerPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceBaseVoltage (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceConnection (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceNominalPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_notebook (defined in TransformerFormBase)TransformerFormBaseprotected
m_panelFault (defined in TransformerFormBase)TransformerFormBaseprotected
m_panelGeneral (defined in TransformerFormBase)TransformerFormBaseprotected
m_parent (defined in TransformerForm)TransformerFormprotected
m_staticLine_1 (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextBaseVoltage (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextConnection (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextDeg (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextName (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextNominalPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextNominalVoltage (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextNominalVoltageValue (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextPhaseShift (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextPrimReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextPrimResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextSecReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextSecResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextTurnsRatio (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextZeroReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextZeroResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlName (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlNominalPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlPhaseShift (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlPrimReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlPrimResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlSecReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlSecResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlTurnRatio (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlZeroReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlZeroResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_transformer (defined in TransformerForm)TransformerFormprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in TransformerForm)TransformerFormprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in TransformerForm)TransformerFormprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in TransformerForm)TransformerFormprotectedvirtual
TransformerForm(wxWindow *parent, Transformer *transformer) (defined in TransformerForm)TransformerForm
TransformerFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transformer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in TransformerFormBase)TransformerFormBase
ValidateData() (defined in TransformerForm)TransformerForm
~TransformerForm() (defined in TransformerForm)TransformerFormvirtual
~TransformerFormBase() (defined in TransformerFormBase)TransformerFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_transformer_form.html b/docs/doxygen/html/class_transformer_form.html new file mode 100644 index 0000000..21ba414 --- /dev/null +++ b/docs/doxygen/html/class_transformer_form.html @@ -0,0 +1,382 @@ + + + + + + + +PSP-UFU: TransformerForm Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TransformerForm Class Reference
+
+
+
+Inheritance diagram for TransformerForm:
+
+
+ + +TransformerFormBase + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

TransformerForm (wxWindow *parent, Transformer *transformer)
 
+bool ValidateData ()
 
- Public Member Functions inherited from TransformerFormBase
+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNominalVoltage ()
 
+wxStaticText * GetStaticTextNominalVoltageValue ()
 
+wxStaticText * GetStaticTextBaseVoltage ()
 
+wxChoice * GetChoiceBaseVoltage ()
 
+wxStaticText * GetStaticTextNominalPower ()
 
+wxTextCtrl * GetTextCtrlNominalPower ()
 
+wxChoice * GetChoiceNominalPower ()
 
+wxStaticText * GetStaticTextResistance ()
 
+wxTextCtrl * GetTextCtrlResistance ()
 
+wxChoice * GetChoiceResistance ()
 
+wxStaticText * GetStaticTextReactance ()
 
+wxTextCtrl * GetTextCtrlReactance ()
 
+wxChoice * GetChoiceReactance ()
 
+wxStaticLine * GetStaticLine_1 ()
 
+wxStaticText * GetStaticTextConnection ()
 
+wxChoice * GetChoiceConnection ()
 
+wxStaticText * GetStaticTextTurnsRatio ()
 
+wxTextCtrl * GetTextCtrlTurnRatio ()
 
+wxStaticText * GetStaticTextPhaseShift ()
 
+wxTextCtrl * GetTextCtrlPhaseShift ()
 
+wxStaticText * GetStaticTextDeg ()
 
+wxCheckBox * GetCheckUseTransformerPower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextZeroResistance ()
 
+wxTextCtrl * GetTextCtrlZeroResistance ()
 
+wxStaticText * GetStaticTextZeroReactance ()
 
+wxTextCtrl * GetTextCtrlZeroReactance ()
 
+wxStaticText * GetStaticTextPrimResistance ()
 
+wxTextCtrl * GetTextCtrlPrimResistance ()
 
+wxStaticText * GetStaticTextPrimReactance ()
 
+wxTextCtrl * GetTextCtrlPrimReactance ()
 
+wxStaticText * GetStaticTextSecResistance ()
 
+wxTextCtrl * GetTextCtrlSecResistance ()
 
+wxStaticText * GetStaticTextSecReactance ()
 
+wxTextCtrl * GetTextCtrlSecReactance ()
 
+wxPanel * GetPanelFault ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStability ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
TransformerFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transformer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxWindow * m_parent = NULL
 
+Transformerm_transformer = NULL
 
- Protected Attributes inherited from TransformerFormBase
+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNominalVoltage
 
+wxStaticText * m_staticTextNominalVoltageValue
 
+wxStaticText * m_staticTextBaseVoltage
 
+wxChoice * m_choiceBaseVoltage
 
+wxStaticText * m_staticTextNominalPower
 
+wxTextCtrl * m_textCtrlNominalPower
 
+wxChoice * m_choiceNominalPower
 
+wxStaticText * m_staticTextResistance
 
+wxTextCtrl * m_textCtrlResistance
 
+wxChoice * m_choiceResistance
 
+wxStaticText * m_staticTextReactance
 
+wxTextCtrl * m_textCtrlReactance
 
+wxChoice * m_choiceReactance
 
+wxStaticLine * m_staticLine_1
 
+wxStaticText * m_staticTextConnection
 
+wxChoice * m_choiceConnection
 
+wxStaticText * m_staticTextTurnsRatio
 
+wxTextCtrl * m_textCtrlTurnRatio
 
+wxStaticText * m_staticTextPhaseShift
 
+wxTextCtrl * m_textCtrlPhaseShift
 
+wxStaticText * m_staticTextDeg
 
+wxCheckBox * m_checkUseTransformerPower
 
+wxPanel * m_panelFault
 
+wxStaticText * m_staticTextZeroResistance
 
+wxTextCtrl * m_textCtrlZeroResistance
 
+wxStaticText * m_staticTextZeroReactance
 
+wxTextCtrl * m_textCtrlZeroReactance
 
+wxStaticText * m_staticTextPrimResistance
 
+wxTextCtrl * m_textCtrlPrimResistance
 
+wxStaticText * m_staticTextPrimReactance
 
+wxTextCtrl * m_textCtrlPrimReactance
 
+wxStaticText * m_staticTextSecResistance
 
+wxTextCtrl * m_textCtrlSecResistance
 
+wxStaticText * m_staticTextSecReactance
 
+wxTextCtrl * m_textCtrlSecReactance
 
+wxButton * m_buttonStability
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_transformer_form.png b/docs/doxygen/html/class_transformer_form.png new file mode 100644 index 0000000..afa3755 Binary files /dev/null and b/docs/doxygen/html/class_transformer_form.png differ diff --git a/docs/doxygen/html/class_transformer_form_base-members.html b/docs/doxygen/html/class_transformer_form_base-members.html new file mode 100644 index 0000000..1b047c3 --- /dev/null +++ b/docs/doxygen/html/class_transformer_form_base-members.html @@ -0,0 +1,168 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TransformerFormBase Member List
+
+
+ +

This is the complete list of members for TransformerFormBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GetButtonCancel() (defined in TransformerFormBase)TransformerFormBaseinline
GetButtonOK() (defined in TransformerFormBase)TransformerFormBaseinline
GetButtonStability() (defined in TransformerFormBase)TransformerFormBaseinline
GetCheckUseTransformerPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceBaseVoltage() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceConnection() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceNominalPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetChoiceResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetNotebook() (defined in TransformerFormBase)TransformerFormBaseinline
GetPanelFault() (defined in TransformerFormBase)TransformerFormBaseinline
GetPanelGeneral() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticLine_1() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextBaseVoltage() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextConnection() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextDeg() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextName() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextNominalPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextNominalVoltage() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextNominalVoltageValue() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextPhaseShift() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextPrimReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextPrimResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextSecReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextSecResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextTurnsRatio() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextZeroReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetStaticTextZeroResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlName() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlNominalPower() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlPhaseShift() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlPrimReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlPrimResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlSecReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlSecResistance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlTurnRatio() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlZeroReactance() (defined in TransformerFormBase)TransformerFormBaseinline
GetTextCtrlZeroResistance() (defined in TransformerFormBase)TransformerFormBaseinline
m_buttonCancel (defined in TransformerFormBase)TransformerFormBaseprotected
m_buttonOK (defined in TransformerFormBase)TransformerFormBaseprotected
m_buttonStability (defined in TransformerFormBase)TransformerFormBaseprotected
m_checkUseTransformerPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceBaseVoltage (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceConnection (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceNominalPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_choiceResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_notebook (defined in TransformerFormBase)TransformerFormBaseprotected
m_panelFault (defined in TransformerFormBase)TransformerFormBaseprotected
m_panelGeneral (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticLine_1 (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextBaseVoltage (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextConnection (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextDeg (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextName (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextNominalPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextNominalVoltage (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextNominalVoltageValue (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextPhaseShift (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextPrimReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextPrimResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextSecReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextSecResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextTurnsRatio (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextZeroReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_staticTextZeroResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlName (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlNominalPower (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlPhaseShift (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlPrimReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlPrimResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlSecReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlSecResistance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlTurnRatio (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlZeroReactance (defined in TransformerFormBase)TransformerFormBaseprotected
m_textCtrlZeroResistance (defined in TransformerFormBase)TransformerFormBaseprotected
OnCancelButtonClick(wxCommandEvent &event) (defined in TransformerFormBase)TransformerFormBaseinlineprotectedvirtual
OnOKButtonClick(wxCommandEvent &event) (defined in TransformerFormBase)TransformerFormBaseinlineprotectedvirtual
OnStabilityButtonClick(wxCommandEvent &event) (defined in TransformerFormBase)TransformerFormBaseinlineprotectedvirtual
TransformerFormBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transformer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE) (defined in TransformerFormBase)TransformerFormBase
~TransformerFormBase() (defined in TransformerFormBase)TransformerFormBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_transformer_form_base.html b/docs/doxygen/html/class_transformer_form_base.html new file mode 100644 index 0000000..61aee44 --- /dev/null +++ b/docs/doxygen/html/class_transformer_form_base.html @@ -0,0 +1,368 @@ + + + + + + + +PSP-UFU: TransformerFormBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TransformerFormBase Class Reference
+
+
+
+Inheritance diagram for TransformerFormBase:
+
+
+ + +TransformerForm + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

+wxStaticText * GetStaticTextName ()
 
+wxTextCtrl * GetTextCtrlName ()
 
+wxStaticText * GetStaticTextNominalVoltage ()
 
+wxStaticText * GetStaticTextNominalVoltageValue ()
 
+wxStaticText * GetStaticTextBaseVoltage ()
 
+wxChoice * GetChoiceBaseVoltage ()
 
+wxStaticText * GetStaticTextNominalPower ()
 
+wxTextCtrl * GetTextCtrlNominalPower ()
 
+wxChoice * GetChoiceNominalPower ()
 
+wxStaticText * GetStaticTextResistance ()
 
+wxTextCtrl * GetTextCtrlResistance ()
 
+wxChoice * GetChoiceResistance ()
 
+wxStaticText * GetStaticTextReactance ()
 
+wxTextCtrl * GetTextCtrlReactance ()
 
+wxChoice * GetChoiceReactance ()
 
+wxStaticLine * GetStaticLine_1 ()
 
+wxStaticText * GetStaticTextConnection ()
 
+wxChoice * GetChoiceConnection ()
 
+wxStaticText * GetStaticTextTurnsRatio ()
 
+wxTextCtrl * GetTextCtrlTurnRatio ()
 
+wxStaticText * GetStaticTextPhaseShift ()
 
+wxTextCtrl * GetTextCtrlPhaseShift ()
 
+wxStaticText * GetStaticTextDeg ()
 
+wxCheckBox * GetCheckUseTransformerPower ()
 
+wxPanel * GetPanelGeneral ()
 
+wxStaticText * GetStaticTextZeroResistance ()
 
+wxTextCtrl * GetTextCtrlZeroResistance ()
 
+wxStaticText * GetStaticTextZeroReactance ()
 
+wxTextCtrl * GetTextCtrlZeroReactance ()
 
+wxStaticText * GetStaticTextPrimResistance ()
 
+wxTextCtrl * GetTextCtrlPrimResistance ()
 
+wxStaticText * GetStaticTextPrimReactance ()
 
+wxTextCtrl * GetTextCtrlPrimReactance ()
 
+wxStaticText * GetStaticTextSecResistance ()
 
+wxTextCtrl * GetTextCtrlSecResistance ()
 
+wxStaticText * GetStaticTextSecReactance ()
 
+wxTextCtrl * GetTextCtrlSecReactance ()
 
+wxPanel * GetPanelFault ()
 
+wxNotebook * GetNotebook ()
 
+wxButton * GetButtonStability ()
 
+wxButton * GetButtonOK ()
 
+wxButton * GetButtonCancel ()
 
TransformerFormBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Transformer"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
+ + + + + + + +

+Protected Member Functions

+virtual void OnStabilityButtonClick (wxCommandEvent &event)
 
+virtual void OnOKButtonClick (wxCommandEvent &event)
 
+virtual void OnCancelButtonClick (wxCommandEvent &event)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxNotebook * m_notebook
 
+wxPanel * m_panelGeneral
 
+wxStaticText * m_staticTextName
 
+wxTextCtrl * m_textCtrlName
 
+wxStaticText * m_staticTextNominalVoltage
 
+wxStaticText * m_staticTextNominalVoltageValue
 
+wxStaticText * m_staticTextBaseVoltage
 
+wxChoice * m_choiceBaseVoltage
 
+wxStaticText * m_staticTextNominalPower
 
+wxTextCtrl * m_textCtrlNominalPower
 
+wxChoice * m_choiceNominalPower
 
+wxStaticText * m_staticTextResistance
 
+wxTextCtrl * m_textCtrlResistance
 
+wxChoice * m_choiceResistance
 
+wxStaticText * m_staticTextReactance
 
+wxTextCtrl * m_textCtrlReactance
 
+wxChoice * m_choiceReactance
 
+wxStaticLine * m_staticLine_1
 
+wxStaticText * m_staticTextConnection
 
+wxChoice * m_choiceConnection
 
+wxStaticText * m_staticTextTurnsRatio
 
+wxTextCtrl * m_textCtrlTurnRatio
 
+wxStaticText * m_staticTextPhaseShift
 
+wxTextCtrl * m_textCtrlPhaseShift
 
+wxStaticText * m_staticTextDeg
 
+wxCheckBox * m_checkUseTransformerPower
 
+wxPanel * m_panelFault
 
+wxStaticText * m_staticTextZeroResistance
 
+wxTextCtrl * m_textCtrlZeroResistance
 
+wxStaticText * m_staticTextZeroReactance
 
+wxTextCtrl * m_textCtrlZeroReactance
 
+wxStaticText * m_staticTextPrimResistance
 
+wxTextCtrl * m_textCtrlPrimResistance
 
+wxStaticText * m_staticTextPrimReactance
 
+wxTextCtrl * m_textCtrlPrimReactance
 
+wxStaticText * m_staticTextSecResistance
 
+wxTextCtrl * m_textCtrlSecResistance
 
+wxStaticText * m_staticTextSecReactance
 
+wxTextCtrl * m_textCtrlSecReactance
 
+wxButton * m_buttonStability
 
+wxButton * m_buttonOK
 
+wxButton * m_buttonCancel
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_transformer_form_base.png b/docs/doxygen/html/class_transformer_form_base.png new file mode 100644 index 0000000..eff1af8 Binary files /dev/null and b/docs/doxygen/html/class_transformer_form_base.png differ diff --git a/docs/doxygen/html/class_workspace-members.html b/docs/doxygen/html/class_workspace-members.html new file mode 100644 index 0000000..e7228d5 --- /dev/null +++ b/docs/doxygen/html/class_workspace-members.html @@ -0,0 +1,171 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
Workspace Member List
+
+
+ +

This is the complete list of members for Workspace, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
CopySelection() (defined in Workspace)Workspace
DeleteSelectedElements() (defined in Workspace)Workspace
Fit() (defined in Workspace)Workspace
GetAllElements() const (defined in Workspace)Workspace
GetCamera() const (defined in Workspace)Workspaceinline
GetElementList() const (defined in Workspace)Workspace
GetElementNumber(ElementID elementID) (defined in Workspace)Workspaceinline
GetElementsCorners(wxPoint2DDouble &leftUpCorner, wxPoint2DDouble &rightDownCorner, std::vector< Element *> elementList) (defined in Workspace)Workspace
GetGlCanvas() (defined in WorkspaceBase)WorkspaceBaseinline
GetName() const (defined in Workspace)Workspaceinline
GetProperties() const (defined in Workspace)Workspaceinline
GetSavedPath() const (defined in Workspace)Workspaceinline
GetStabilityTimeVector() const (defined in Workspace)Workspaceinline
GetTextList() const (defined in Workspace)Workspaceinline
GetTimer() (defined in WorkspaceBase)WorkspaceBaseinline
GetWorkspaceMode() const (defined in Workspace)Workspaceinline
IncrementElementNumber(ElementID elementID) (defined in Workspace)Workspaceinline
IsContinuousCalculationActive() const (defined in Workspace)Workspaceinline
m_camera (defined in Workspace)Workspaceprotected
m_continuousCalc (defined in Workspace)Workspaceprotected
m_disconnectedElement (defined in Workspace)Workspaceprotected
m_elementList (defined in Workspace)Workspaceprotected
m_elementNumber (defined in Workspace)Workspaceprotected
m_glCanvas (defined in WorkspaceBase)WorkspaceBaseprotected
m_glContext (defined in Workspace)Workspaceprotected
m_justOpened (defined in Workspace)Workspaceprotected
m_mode (defined in Workspace)Workspaceprotected
m_name (defined in Workspace)Workspaceprotected
m_properties (defined in Workspace)Workspaceprotected
m_savedPath (defined in Workspace)Workspaceprotected
m_selectionRect (defined in Workspace)Workspaceprotected
m_stabilityTimeVector (defined in Workspace)Workspaceprotected
m_startSelRect (defined in Workspace)Workspaceprotected
m_statusBar (defined in Workspace)Workspaceprotected
m_textList (defined in Workspace)Workspaceprotected
m_timer (defined in WorkspaceBase)WorkspaceBaseprotected
m_tipWindow (defined in Workspace)Workspaceprotected
MODE_DRAG enum value (defined in Workspace)Workspace
MODE_DRAG_INSERT enum value (defined in Workspace)Workspace
MODE_DRAG_INSERT_TEXT enum value (defined in Workspace)Workspace
MODE_DRAG_PASTE enum value (defined in Workspace)Workspace
MODE_EDIT enum value (defined in Workspace)Workspace
MODE_INSERT enum value (defined in Workspace)Workspace
MODE_INSERT_TEXT enum value (defined in Workspace)Workspace
MODE_MOVE_ELEMENT enum value (defined in Workspace)Workspace
MODE_MOVE_NODE enum value (defined in Workspace)Workspace
MODE_MOVE_PICKBOX enum value (defined in Workspace)Workspace
MODE_PASTE enum value (defined in Workspace)Workspace
MODE_SELECTION_RECT enum value (defined in Workspace)Workspace
OnIdle(wxIdleEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnKeyDown(wxKeyEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnLeftClickDown(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnLeftClickUp(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnLeftDoubleClick(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnMiddleDoubleClick(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnMiddleDown(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnMiddleUp(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnMouseMotion(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnPaint(wxPaintEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnPopupClick(wxCommandEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnRightClickDown(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnScroll(wxMouseEvent &event) (defined in Workspace)Workspaceprotectedvirtual
OnTimer(wxTimerEvent &event) (defined in Workspace)Workspaceprotectedvirtual
Paste() (defined in Workspace)Workspace
Redraw() (defined in Workspace)Workspaceinline
RotateSelectedElements(bool clockwise=true) (defined in Workspace)Workspace
RunFault() (defined in Workspace)Workspace
RunPowerFlow() (defined in Workspace)Workspace
RunSCPower() (defined in Workspace)Workspace
RunStability() (defined in Workspace)Workspace
RunStaticStudies() (defined in Workspace)Workspace
SetContinuousCalculationActive(bool value=true) (defined in Workspace)Workspaceinline
SetElementList(std::vector< Element *> elementList) (defined in Workspace)Workspace
SetJustOpened(bool justOpened) (defined in Workspace)Workspaceinline
SetName(wxString name) (defined in Workspace)Workspaceinline
SetSavedPath(wxFileName savedPath) (defined in Workspace)Workspaceinline
SetStatusBarText(wxString text) (defined in Workspace)Workspaceinline
SetTextList(std::vector< Text *> textList) (defined in Workspace)Workspace
SetViewport() (defined in Workspace)Workspaceprotected
SetWorkspaceMode(WorkspaceMode mode) (defined in Workspace)Workspaceinline
UnselectAll() (defined in Workspace)Workspace
UpdateElementsID() (defined in Workspace)Workspace
UpdateStatusBar() (defined in Workspace)Workspaceprotected
UpdateTextElements() (defined in Workspace)Workspace
ValidateBusesVoltages(Element *initialBus) (defined in Workspace)Workspace
ValidateElementsVoltages() (defined in Workspace)Workspace
Workspace() (defined in Workspace)Workspace
Workspace(wxWindow *parent, wxString name=wxEmptyString, wxStatusBar *statusBar=NULL) (defined in Workspace)Workspace
WorkspaceBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL) (defined in WorkspaceBase)WorkspaceBase
WorkspaceMode enum name (defined in Workspace)Workspace
~Workspace() (defined in Workspace)Workspace
~WorkspaceBase() (defined in WorkspaceBase)WorkspaceBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_workspace.html b/docs/doxygen/html/class_workspace.html new file mode 100644 index 0000000..97f8b54 --- /dev/null +++ b/docs/doxygen/html/class_workspace.html @@ -0,0 +1,356 @@ + + + + + + + +PSP-UFU: Workspace Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
Workspace Class Reference
+
+
+
+Inheritance diagram for Workspace:
+
+
+ + +WorkspaceBase + +
+ + + + +

+Public Types

enum  WorkspaceMode {
+  MODE_EDIT = 0, +MODE_MOVE_ELEMENT, +MODE_MOVE_PICKBOX, +MODE_MOVE_NODE, +
+  MODE_DRAG, +MODE_DRAG_INSERT, +MODE_DRAG_INSERT_TEXT, +MODE_INSERT, +
+  MODE_INSERT_TEXT, +MODE_SELECTION_RECT, +MODE_PASTE, +MODE_DRAG_PASTE +
+ }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

Workspace (wxWindow *parent, wxString name=wxEmptyString, wxStatusBar *statusBar=NULL)
 
+wxString GetName () const
 
+std::vector< Element * > GetElementList () const
 
+std::vector< Text * > GetTextList () const
 
+std::vector< Element * > GetAllElements () const
 
+WorkspaceMode GetWorkspaceMode () const
 
+CameraGetCamera () const
 
+void CopySelection ()
 
+bool Paste ()
 
+wxFileName GetSavedPath () const
 
+void SetName (wxString name)
 
+void SetElementList (std::vector< Element *> elementList)
 
+void SetTextList (std::vector< Text *> textList)
 
+void SetStatusBarText (wxString text)
 
+void SetWorkspaceMode (WorkspaceMode mode)
 
+void SetSavedPath (wxFileName savedPath)
 
+void SetJustOpened (bool justOpened)
 
+void Redraw ()
 
+void RotateSelectedElements (bool clockwise=true)
 
+void DeleteSelectedElements ()
 
+bool GetElementsCorners (wxPoint2DDouble &leftUpCorner, wxPoint2DDouble &rightDownCorner, std::vector< Element *> elementList)
 
+void Fit ()
 
+void UnselectAll ()
 
+void ValidateBusesVoltages (Element *initialBus)
 
+void ValidateElementsVoltages ()
 
+void UpdateElementsID ()
 
+void UpdateTextElements ()
 
+int GetElementNumber (ElementID elementID)
 
+void IncrementElementNumber (ElementID elementID)
 
+PropertiesDataGetProperties () const
 
+std::vector< double > GetStabilityTimeVector () const
 
+bool IsContinuousCalculationActive () const
 
+void SetContinuousCalculationActive (bool value=true)
 
+bool RunPowerFlow ()
 
+bool RunFault ()
 
+bool RunSCPower ()
 
+bool RunStaticStudies ()
 
+bool RunStability ()
 
- Public Member Functions inherited from WorkspaceBase
+wxGLCanvas * GetGlCanvas ()
 
+wxTimer * GetTimer ()
 
WorkspaceBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnMiddleDoubleClick (wxMouseEvent &event)
 
+virtual void OnIdle (wxIdleEvent &event)
 
+virtual void OnTimer (wxTimerEvent &event)
 
+virtual void OnLeftDoubleClick (wxMouseEvent &event)
 
+virtual void OnRightClickDown (wxMouseEvent &event)
 
+virtual void OnLeftClickUp (wxMouseEvent &event)
 
+virtual void OnScroll (wxMouseEvent &event)
 
+virtual void OnMiddleDown (wxMouseEvent &event)
 
+virtual void OnMiddleUp (wxMouseEvent &event)
 
+virtual void OnMouseMotion (wxMouseEvent &event)
 
+virtual void OnKeyDown (wxKeyEvent &event)
 
+virtual void OnLeftClickDown (wxMouseEvent &event)
 
+virtual void OnPaint (wxPaintEvent &event)
 
+virtual void OnPopupClick (wxCommandEvent &event)
 
+void SetViewport ()
 
+void UpdateStatusBar ()
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+wxGLContext * m_glContext = NULL
 
+wxStatusBar * m_statusBar = NULL
 
+Cameram_camera = NULL
 
+wxTipWindow * m_tipWindow = NULL
 
+wxString m_name
 
+WorkspaceMode m_mode = MODE_EDIT
 
+std::vector< PowerElement * > m_elementList
 
+int m_elementNumber [NUM_ELEMENTS]
 
+std::vector< Text * > m_textList
 
+wxFileName m_savedPath
 
+wxRect2DDouble m_selectionRect
 
+wxPoint2DDouble m_startSelRect
 
+PropertiesDatam_properties = NULL
 
+std::vector< double > m_stabilityTimeVector
 
+bool m_continuousCalc = false
 
+bool m_disconnectedElement = false
 
+bool m_justOpened = false
 
- Protected Attributes inherited from WorkspaceBase
+wxGLCanvas * m_glCanvas
 
+wxTimer * m_timer
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_workspace.png b/docs/doxygen/html/class_workspace.png new file mode 100644 index 0000000..b837865 Binary files /dev/null and b/docs/doxygen/html/class_workspace.png differ diff --git a/docs/doxygen/html/class_workspace_base-members.html b/docs/doxygen/html/class_workspace_base-members.html new file mode 100644 index 0000000..e0c980a --- /dev/null +++ b/docs/doxygen/html/class_workspace_base-members.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
WorkspaceBase Member List
+
+
+ +

This is the complete list of members for WorkspaceBase, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + +
GetGlCanvas() (defined in WorkspaceBase)WorkspaceBaseinline
GetTimer() (defined in WorkspaceBase)WorkspaceBaseinline
m_glCanvas (defined in WorkspaceBase)WorkspaceBaseprotected
m_timer (defined in WorkspaceBase)WorkspaceBaseprotected
OnIdle(wxIdleEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnKeyDown(wxKeyEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnLeftClickDown(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnLeftClickUp(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnLeftDoubleClick(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnMiddleDoubleClick(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnMiddleDown(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnMiddleUp(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnMouseMotion(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnPaint(wxPaintEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnRightClickDown(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnScroll(wxMouseEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
OnTimer(wxTimerEvent &event) (defined in WorkspaceBase)WorkspaceBaseinlineprotectedvirtual
WorkspaceBase(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL) (defined in WorkspaceBase)WorkspaceBase
~WorkspaceBase() (defined in WorkspaceBase)WorkspaceBasevirtual
+ + + + diff --git a/docs/doxygen/html/class_workspace_base.html b/docs/doxygen/html/class_workspace_base.html new file mode 100644 index 0000000..b41f52f --- /dev/null +++ b/docs/doxygen/html/class_workspace_base.html @@ -0,0 +1,158 @@ + + + + + + + +PSP-UFU: WorkspaceBase Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
WorkspaceBase Class Reference
+
+
+
+Inheritance diagram for WorkspaceBase:
+
+
+ + +Workspace + +
+ + + + + + + + +

+Public Member Functions

+wxGLCanvas * GetGlCanvas ()
 
+wxTimer * GetTimer ()
 
WorkspaceBase (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Member Functions

+virtual void OnPaint (wxPaintEvent &event)
 
+virtual void OnLeftClickDown (wxMouseEvent &event)
 
+virtual void OnKeyDown (wxKeyEvent &event)
 
+virtual void OnMouseMotion (wxMouseEvent &event)
 
+virtual void OnMiddleDown (wxMouseEvent &event)
 
+virtual void OnMiddleUp (wxMouseEvent &event)
 
+virtual void OnLeftClickUp (wxMouseEvent &event)
 
+virtual void OnScroll (wxMouseEvent &event)
 
+virtual void OnRightClickDown (wxMouseEvent &event)
 
+virtual void OnLeftDoubleClick (wxMouseEvent &event)
 
+virtual void OnIdle (wxIdleEvent &event)
 
+virtual void OnMiddleDoubleClick (wxMouseEvent &event)
 
+virtual void OnTimer (wxTimerEvent &event)
 
+ + + + + +

+Protected Attributes

+wxGLCanvas * m_glCanvas
 
+wxTimer * m_timer
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/class_workspace_base.png b/docs/doxygen/html/class_workspace_base.png new file mode 100644 index 0000000..d9b7b0c Binary files /dev/null and b/docs/doxygen/html/class_workspace_base.png differ diff --git a/docs/doxygen/html/classes.html b/docs/doxygen/html/classes.html new file mode 100644 index 0000000..b6ae5c3 --- /dev/null +++ b/docs/doxygen/html/classes.html @@ -0,0 +1,131 @@ + + + + + + + +PSP-UFU: Class Index + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+
+
a | b | c | d | e | f | g | i | l | m | n | o | p | r | s | t | w
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  a  
+
DataReportBase   IndMotorForm   
  o  
+
SyncGeneratorElectricalData   
  e  
+
IndMotorFormBase   SyncMachineForm   
AboutForm   Inductor   OpenGLColour   SyncMachineFormBase   
AboutFormBase   ElectricCalculation   InductorElectricalData   
  p  
+
SyncMotor   
  b  
+
Electromechanical   IntegrationConstant   SyncMotorElectricalData   
Element   IOControl   PlotData   
  t  
+
Branch   ElementDataObject   IOControlForm   PowerElement   
Bus   ElementPlotData   IOControlFormBase   PowerFlow   Text   
BusElectricalData   ElementsLists   
  l  
+
PropertiesData   TextForm   
BusForm   Exponential   
  r  
+
TextFormBase   
BusFormBase   ExponentialForm   Limiter   TextGLDrawable   
  c  
+
ExponentialFormBase   LimiterForm   RateLimiter   TextTexture   
  f  
+
LimiterFormBase   RateLimiterForm   TransferFunction   
Camera   Line   RateLimiterFormBase   TransferFunctionForm   
Capacitor   Fault   LineElectricalData   ReactiveLimits   TransferFunctionFormBase   
CapacitorElectricalData   FileHanding   LineForm   ReactiveShuntElementForm   Transformer   
ChartView   
  g  
+
LineFormBase   ReactiveShuntElementFormBase   TransformerElectricalData   
ChartViewBase   Load   
  s  
+
TransformerForm   
ConnectionLine   Gain   LoadElectricalData   TransformerFormBase   
Constant   GainForm   LoadForm   Shunt   
  w  
+
ConstantForm   GainFormBase   LoadFormBase   SimulationData   
ConstantFormBase   GeneralData   
  m  
+
SimulationsSettingsForm   Workspace   
ControlEditor   GeneralPropertiesForm   SimulationsSettingsFormBase   WorkspaceBase   
ControlEditorBase   GeneralPropertiesFormBase   Machines   TransferFunction::SpaceState   wxGLNumberRenderer   
ControlElement   GeneratorStabForm   MainApp   Sum   wxGLString   
ControlElementButton   GeneratorStabFormBase   MainFrame   SumForm   wxGLStringArray   
ControlElementContainer   GraphicalElement   MainFrameBase   SumFormBase   wxRibbonMetroArtProvider   
ControlElementSolver   
  i  
+
Multiplier   SwitchingData   
ControlSystemTest   
  n  
+
SwitchingForm   
ControlSystemTestBase   IndMotor   SwitchingFormBase   
  d  
+
IndMotorElectricalData   Node   SyncGenerator   
DataReport   
+
a | b | c | d | e | f | g | i | l | m | n | o | p | r | s | t | w
+
+ + + + diff --git a/docs/doxygen/html/classwx_g_l_number_renderer-members.html b/docs/doxygen/html/classwx_g_l_number_renderer-members.html new file mode 100644 index 0000000..0740315 --- /dev/null +++ b/docs/doxygen/html/classwx_g_l_number_renderer-members.html @@ -0,0 +1,122 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
wxGLNumberRenderer Member List
+
+
+ +

This is the complete list of members for wxGLNumberRenderer, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
angle (defined in TextGLDrawable)TextGLDrawableprotected
bind() constwxGLString
calculateSize(wxDC *dc, const bool ignore_font=false) (defined in wxGLString)wxGLStringprotected
consolidate(wxDC *dc)wxGLNumberRenderervirtual
consolidateFromArray(wxDC *dc, double x, double y) (defined in wxGLString)wxGLStringprotected
font (defined in wxGLString)wxGLStringprotected
getheight() constTextGLDrawableinline
getWidth() constTextGLDrawableinline
h (defined in TextGLDrawable)TextGLDrawableprotected
image (defined in TextGLDrawable)TextGLDrawableprotected
img (defined in wxGLString)wxGLStringprotected
move(double x, double y) (defined in TextGLDrawable)TextGLDrawableprotected
operator=(wxString &string)wxGLString
render(const double x, const double y)wxGLString
render() const (defined in TextGLDrawable)TextGLDrawable
renderNumber(wxString s, double x, double y)wxGLNumberRenderer
renderNumber(int i, double x, double y)wxGLNumberRenderer
renderNumber(float f, double x, double y)wxGLNumberRenderer
rotate(int angle)TextGLDrawable
scale(float x, float y)TextGLDrawable
scale(float k)TextGLDrawable
setFlip(bool x, bool y)TextGLDrawable
setFont(wxFont font)wxGLString
setImage(TextTexture *image) (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_x1 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_x2 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_y1 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_y2 (defined in TextGLDrawable)TextGLDrawableprotected
texh (defined in TextGLDrawable)TextGLDrawableprotected
TextGLDrawable(TextTexture *image=(TextTexture *) 0) (defined in TextGLDrawable)TextGLDrawableprotected
texw (defined in TextGLDrawable)TextGLDrawableprotected
w (defined in TextGLDrawable)TextGLDrawableprotected
wxGLNumberRenderer() (defined in wxGLNumberRenderer)wxGLNumberRenderer
wxGLString()wxGLString
wxGLString(wxString message)wxGLString
x (defined in TextGLDrawable)TextGLDrawableprotected
xflip (defined in TextGLDrawable)TextGLDrawableprotected
xscale (defined in TextGLDrawable)TextGLDrawableprotected
y (defined in TextGLDrawable)TextGLDrawableprotected
yflip (defined in TextGLDrawable)TextGLDrawableprotected
yscale (defined in TextGLDrawable)TextGLDrawableprotected
~wxGLNumberRenderer() (defined in wxGLNumberRenderer)wxGLNumberRenderervirtual
~wxGLString() (defined in wxGLString)wxGLStringvirtual
+ + + + diff --git a/docs/doxygen/html/classwx_g_l_number_renderer.html b/docs/doxygen/html/classwx_g_l_number_renderer.html new file mode 100644 index 0000000..4832a38 --- /dev/null +++ b/docs/doxygen/html/classwx_g_l_number_renderer.html @@ -0,0 +1,352 @@ + + + + + + + +PSP-UFU: wxGLNumberRenderer Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
wxGLNumberRenderer Class Reference
+
+
+ +

#include <wxGLString.h>

+
+Inheritance diagram for wxGLNumberRenderer:
+
+
+ + +wxGLString +TextGLDrawable + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

void consolidate (wxDC *dc)
 
void renderNumber (wxString s, double x, double y)
 
void renderNumber (int i, double x, double y)
 
void renderNumber (float f, double x, double y)
 
- Public Member Functions inherited from wxGLString
 wxGLString ()
 
 wxGLString (wxString message)
 
void bind () const
 
void setFont (wxFont font)
 
void render (const double x, const double y)
 
void operator= (wxString &string)
 
- Public Member Functions inherited from TextGLDrawable
+void render () const
 
void setFlip (bool x, bool y)
 
void scale (float x, float y)
 
void scale (float k)
 
void rotate (int angle)
 
int getWidth () const
 
int getheight () const
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Additional Inherited Members

- Protected Member Functions inherited from wxGLString
+void calculateSize (wxDC *dc, const bool ignore_font=false)
 
+void consolidateFromArray (wxDC *dc, double x, double y)
 
- Protected Member Functions inherited from TextGLDrawable
TextGLDrawable (TextTexture *image=(TextTexture *) 0)
 
+void setImage (TextTexture *image)
 
+void move (double x, double y)
 
- Protected Attributes inherited from wxGLString
+TextTextureimg = NULL
 
+wxFont font
 
- Protected Attributes inherited from TextGLDrawable
+double x
 
+double y
 
+double angle
 
+float xscale
 
+float yscale
 
+TextTextureimage = NULL
 
+bool xflip
 
+bool yflip
 
+float tex_coord_x1
 
+float tex_coord_y1
 
+float tex_coord_x2
 
+float tex_coord_y2
 
+int w
 
+int h
 
+int texw
 
+int texh
 
+

Detailed Description

+

This class allows rendering numbers.

+

Use example :

+

wxGLNumberRenderer glnumbers; ... if(first_render) glnumbers.consolidate();

+

glColor3f(0,0,0); // black numbers glnumbers.bind(); glnumbers.renderNumber( 3.141593f, x, y );

+

Member Function Documentation

+ +

◆ consolidate()

+ +
+
+ + + + + +
+ + + + + + + + +
void wxGLNumberRenderer::consolidate (wxDC * dc)
+
+virtual
+
+

inits the class to be ready to render. The wxDC argument is only used to calculate text extents and will not be rendered on.

+ +

Reimplemented from wxGLString.

+ +
+
+ +

◆ renderNumber() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void wxGLNumberRenderer::renderNumber (wxString s,
double x,
double y 
)
+
+

render this number at coordinates (x,y), where wxString s contains the string representation of a number. Must be called after bind().

+ +
+
+ +

◆ renderNumber() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void wxGLNumberRenderer::renderNumber (int i,
double x,
double y 
)
+
+

render this number at coordinates (x,y). Must be called after bind().

+ +
+
+ +

◆ renderNumber() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void wxGLNumberRenderer::renderNumber (float f,
double x,
double y 
)
+
+

render this number at coordinates (x,y). Must be called after bind().

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/classwx_g_l_number_renderer.png b/docs/doxygen/html/classwx_g_l_number_renderer.png new file mode 100644 index 0000000..b339b33 Binary files /dev/null and b/docs/doxygen/html/classwx_g_l_number_renderer.png differ diff --git a/docs/doxygen/html/classwx_g_l_string-members.html b/docs/doxygen/html/classwx_g_l_string-members.html new file mode 100644 index 0000000..0c53dff --- /dev/null +++ b/docs/doxygen/html/classwx_g_l_string-members.html @@ -0,0 +1,118 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
wxGLString Member List
+
+
+ +

This is the complete list of members for wxGLString, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
angle (defined in TextGLDrawable)TextGLDrawableprotected
bind() constwxGLString
calculateSize(wxDC *dc, const bool ignore_font=false) (defined in wxGLString)wxGLStringprotected
consolidate(wxDC *dc)wxGLStringvirtual
consolidateFromArray(wxDC *dc, double x, double y) (defined in wxGLString)wxGLStringprotected
font (defined in wxGLString)wxGLStringprotected
getheight() constTextGLDrawableinline
getWidth() constTextGLDrawableinline
h (defined in TextGLDrawable)TextGLDrawableprotected
image (defined in TextGLDrawable)TextGLDrawableprotected
img (defined in wxGLString)wxGLStringprotected
move(double x, double y) (defined in TextGLDrawable)TextGLDrawableprotected
operator=(wxString &string)wxGLString
render(const double x, const double y)wxGLString
render() const (defined in TextGLDrawable)TextGLDrawable
rotate(int angle)TextGLDrawable
scale(float x, float y)TextGLDrawable
scale(float k)TextGLDrawable
setFlip(bool x, bool y)TextGLDrawable
setFont(wxFont font)wxGLString
setImage(TextTexture *image) (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_x1 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_x2 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_y1 (defined in TextGLDrawable)TextGLDrawableprotected
tex_coord_y2 (defined in TextGLDrawable)TextGLDrawableprotected
texh (defined in TextGLDrawable)TextGLDrawableprotected
TextGLDrawable(TextTexture *image=(TextTexture *) 0) (defined in TextGLDrawable)TextGLDrawableprotected
texw (defined in TextGLDrawable)TextGLDrawableprotected
w (defined in TextGLDrawable)TextGLDrawableprotected
wxGLString()wxGLString
wxGLString(wxString message)wxGLString
wxGLStringArray (defined in wxGLString)wxGLStringfriend
x (defined in TextGLDrawable)TextGLDrawableprotected
xflip (defined in TextGLDrawable)TextGLDrawableprotected
xscale (defined in TextGLDrawable)TextGLDrawableprotected
y (defined in TextGLDrawable)TextGLDrawableprotected
yflip (defined in TextGLDrawable)TextGLDrawableprotected
yscale (defined in TextGLDrawable)TextGLDrawableprotected
~wxGLString() (defined in wxGLString)wxGLStringvirtual
+ + + + diff --git a/docs/doxygen/html/classwx_g_l_string.html b/docs/doxygen/html/classwx_g_l_string.html new file mode 100644 index 0000000..a3cf6e2 --- /dev/null +++ b/docs/doxygen/html/classwx_g_l_string.html @@ -0,0 +1,373 @@ + + + + + + + +PSP-UFU: wxGLString Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
wxGLString Class Reference
+
+
+ +

#include <wxGLString.h>

+
+Inheritance diagram for wxGLString:
+
+
+ + +TextGLDrawable +wxGLNumberRenderer + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

 wxGLString ()
 
 wxGLString (wxString message)
 
void bind () const
 
void setFont (wxFont font)
 
virtual void consolidate (wxDC *dc)
 
void render (const double x, const double y)
 
void operator= (wxString &string)
 
- Public Member Functions inherited from TextGLDrawable
+void render () const
 
void setFlip (bool x, bool y)
 
void scale (float x, float y)
 
void scale (float k)
 
void rotate (int angle)
 
int getWidth () const
 
int getheight () const
 
+ + + + + + + + + + + + +

+Protected Member Functions

+void calculateSize (wxDC *dc, const bool ignore_font=false)
 
+void consolidateFromArray (wxDC *dc, double x, double y)
 
- Protected Member Functions inherited from TextGLDrawable
TextGLDrawable (TextTexture *image=(TextTexture *) 0)
 
+void setImage (TextTexture *image)
 
+void move (double x, double y)
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Protected Attributes

+TextTextureimg = NULL
 
+wxFont font
 
- Protected Attributes inherited from TextGLDrawable
+double x
 
+double y
 
+double angle
 
+float xscale
 
+float yscale
 
+TextTextureimage = NULL
 
+bool xflip
 
+bool yflip
 
+float tex_coord_x1
 
+float tex_coord_y1
 
+float tex_coord_x2
 
+float tex_coord_y2
 
+int w
 
+int h
 
+int texw
 
+int texh
 
+ + + +

+Friends

+class wxGLStringArray
 
+

Detailed Description

+

wxGLString is the simplest class you can use. It draws a single string on a single line. If you plan to render multiple strings, this class is not the fastest.

+

Use example :

+

wxGLString my_message(wxT("Hello World")); ... if(first_render) my_message.consolidate(&dc);

+

glColor3f(0,0,0); // black text my_message.bind(); my_message.render(x, y);

+

Constructor & Destructor Documentation

+ +

◆ wxGLString() [1/2]

+ +
+
+ + + + + + + +
wxGLString::wxGLString ()
+
+

constructs an empty GLString. Set string later with operator=.

+ +
+
+ +

◆ wxGLString() [2/2]

+ +
+
+ + + + + + + + +
wxGLString::wxGLString (wxString message)
+
+

constructs a GLstring with 'message' as contents.

+ +
+
+

Member Function Documentation

+ +

◆ bind()

+ +
+
+ + + + + + + +
void wxGLString::bind () const
+
+

call just before render() - binds the OpenGL. If you render the same string many times, or render from an array, bind only once, this will improve performance

+ +
+
+ +

◆ consolidate()

+ +
+
+ + + + + +
+ + + + + + + + +
void wxGLString::consolidate (wxDC * dc)
+
+virtual
+
+

consolidates the current string info into a GL string. call this after setting up strings, font and color (if necessary), and before rendering. The wxDC argument is only used to calculate text extents and will not be rendered on.

+ +

Reimplemented in wxGLNumberRenderer.

+ +
+
+ +

◆ operator=()

+ +
+
+ + + + + + + + +
void wxGLString::operator= (wxString & string)
+
+

changes the string of this element

+ +
+
+ +

◆ render()

+ +
+
+ + + + + + + + + + + + + + + + + + +
void wxGLString::render (const double x,
const double y 
)
+
+

render this string at coordinates (x,y). Must be called after bind().

+ +
+
+ +

◆ setFont()

+ +
+
+ + + + + + + + +
void wxGLString::setFont (wxFont font)
+
+

set how to draw string for next consolidate() - has no immediate effect, you need to call consolidate() to get results

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/classwx_g_l_string.png b/docs/doxygen/html/classwx_g_l_string.png new file mode 100644 index 0000000..330af1a Binary files /dev/null and b/docs/doxygen/html/classwx_g_l_string.png differ diff --git a/docs/doxygen/html/classwx_g_l_string_array-members.html b/docs/doxygen/html/classwx_g_l_string_array-members.html new file mode 100644 index 0000000..30cb6e6 --- /dev/null +++ b/docs/doxygen/html/classwx_g_l_string_array-members.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
wxGLStringArray Member List
+
+
+ +

This is the complete list of members for wxGLStringArray, including all inherited members.

+ + + + + + + + + +
addString(wxString string)wxGLStringArray
bind()wxGLStringArray
consolidate(wxDC *dc)wxGLStringArray
get(const int id)wxGLStringArray
setFont(wxFont font)wxGLStringArray
wxGLStringArray()wxGLStringArray
wxGLStringArray(const wxString strings_arg[], int amount)wxGLStringArray
~wxGLStringArray() (defined in wxGLStringArray)wxGLStringArray
+ + + + diff --git a/docs/doxygen/html/classwx_g_l_string_array.html b/docs/doxygen/html/classwx_g_l_string_array.html new file mode 100644 index 0000000..1837287 --- /dev/null +++ b/docs/doxygen/html/classwx_g_l_string_array.html @@ -0,0 +1,251 @@ + + + + + + + +PSP-UFU: wxGLStringArray Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
wxGLStringArray Class Reference
+
+
+ +

#include <wxGLString.h>

+ + + + + + + + + + + + + + + + +

+Public Member Functions

 wxGLStringArray ()
 
 wxGLStringArray (const wxString strings_arg[], int amount)
 
wxGLStringget (const int id)
 
void bind ()
 
void addString (wxString string)
 
void setFont (wxFont font)
 
void consolidate (wxDC *dc)
 
+

Detailed Description

+

This class is useful to render a serie of strings that are usually rendered at the same time. It behaves exactly like wxGLString but is more efficient.

+

Use example :

+

wxGLStringArray my_messages(); my_messages.addString("wxMac"); my_messages.addString("wxGTK"); my_messages.addString("wxMSW"); ...

+

glColor3f(0,0,0); // black text my_messages.bind(); my_messages.get(0).render( x, y ); my_messages.get(1).render( x, y + 25 ); my_messages.get(2).render( x, y + 50 );

+

Constructor & Destructor Documentation

+ +

◆ wxGLStringArray() [1/2]

+ +
+
+ + + + + + + +
wxGLStringArray::wxGLStringArray ()
+
+

constructs an empty array - add elements later using addString

+ +
+
+ +

◆ wxGLStringArray() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
wxGLStringArray::wxGLStringArray (const wxString strings_arg[],
int amount 
)
+
+

construct an array with 'strings_arg' elemnts in it

+ +
+
+

Member Function Documentation

+ +

◆ addString()

+ +
+
+ + + + + + + + +
void wxGLStringArray::addString (wxString string)
+
+

add a string to the list for next consolidate() - has no immediate effect, you need to call consolidate() to get results

+ +
+
+ +

◆ bind()

+ +
+
+ + + + + + + +
void wxGLStringArray::bind ()
+
+

call just before render() - binds the OpenGL. If you render the same string many times, or render from an array, bind only once, this will improve performance

+ +
+
+ +

◆ consolidate()

+ +
+
+ + + + + + + + +
void wxGLStringArray::consolidate (wxDC * dc)
+
+

consolidates the current string info into a GL string. call this after setting up strings, font and color (if necessary), and before rendering. The wxDC argument is only used to calculate text extents and will not be rendered on.

+ +
+
+ +

◆ get()

+ +
+
+ + + + + + + + +
wxGLString & wxGLStringArray::get (const int id)
+
+

get a sub-element - useful mainly for rendering, e.g. my_array.get(0).render(x, y);

+ +
+
+ +

◆ setFont()

+ +
+
+ + + + + + + + +
void wxGLStringArray::setFont (wxFont font)
+
+

set how to draw string for next consolidate() - has no immediate effect, you need to call consolidate() to get results

+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/classwx_ribbon_metro_art_provider-members.html b/docs/doxygen/html/classwx_ribbon_metro_art_provider-members.html new file mode 100644 index 0000000..7a9662d --- /dev/null +++ b/docs/doxygen/html/classwx_ribbon_metro_art_provider-members.html @@ -0,0 +1,99 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
wxRibbonMetroArtProvider Member List
+
+
+ +

This is the complete list of members for wxRibbonMetroArtProvider, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + +
DrawButtonBarBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawButtonBarButton(wxDC &dc, wxWindow *wnd, const wxRect &rect, wxRibbonButtonKind kind, long state, const wxString &label, const wxBitmap &bitmap_large, const wxBitmap &bitmap_small) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawButtonBarButtonForeground(wxDC &dc, const wxRect &rect, wxRibbonButtonKind kind, long state, const wxString &label, const wxBitmap &bitmap_large, const wxBitmap &bitmap_small) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProviderprotected
DrawMinimisedPanel(wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect, wxBitmap &bitmap) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawMinimisedPanelCommon(wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect, wxRect *preview_rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProviderprotected
DrawPageBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawPanelBackground(wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawPanelBorder(wxDC &dc, const wxRect &rect, wxPen &primary_colour, wxPen &secondary_colour) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProviderprotected
DrawPartialPageBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect, bool allow_hovered=true) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProviderprotected
DrawPartialPageBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect, wxRibbonPage *page, wxPoint offset, bool hovered=false) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProviderprotected
DrawTab(wxDC &dc, wxWindow *wnd, const wxRibbonPageTabInfo &tab) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawTabCtrlBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawTool(wxDC &dc, wxWindow *wnd, const wxRect &rect, const wxBitmap &bitmap, wxRibbonButtonKind kind, long state) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawToolBarBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
DrawToolGroupBackground(wxDC &dc, wxWindow *wnd, const wxRect &rect) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
GetColourScheme(wxColour *primary, wxColour *secondary, wxColour *tertiary) const (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
SetColourScheme(const wxColour &primary, const wxColour &secondary, const wxColour &tertiary) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
SetFlags(long flags) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
wxRibbonMetroArtProvider(bool set_colour_scheme=true) (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvider
~wxRibbonMetroArtProvider() (defined in wxRibbonMetroArtProvider)wxRibbonMetroArtProvidervirtual
+ + + + diff --git a/docs/doxygen/html/classwx_ribbon_metro_art_provider.html b/docs/doxygen/html/classwx_ribbon_metro_art_provider.html new file mode 100644 index 0000000..2ada514 --- /dev/null +++ b/docs/doxygen/html/classwx_ribbon_metro_art_provider.html @@ -0,0 +1,156 @@ + + + + + + + +PSP-UFU: wxRibbonMetroArtProvider Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
wxRibbonMetroArtProvider Class Reference
+
+
+
+Inheritance diagram for wxRibbonMetroArtProvider:
+
+
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Member Functions

wxRibbonMetroArtProvider (bool set_colour_scheme=true)
 
+void SetFlags (long flags)
 
+void GetColourScheme (wxColour *primary, wxColour *secondary, wxColour *tertiary) const
 
+void SetColourScheme (const wxColour &primary, const wxColour &secondary, const wxColour &tertiary)
 
+void DrawTabCtrlBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)
 
+void DrawTab (wxDC &dc, wxWindow *wnd, const wxRibbonPageTabInfo &tab)
 
+void DrawPageBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)
 
+void DrawPanelBackground (wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect)
 
+void DrawMinimisedPanel (wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect, wxBitmap &bitmap)
 
+void DrawButtonBarBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)
 
+void DrawButtonBarButton (wxDC &dc, wxWindow *wnd, const wxRect &rect, wxRibbonButtonKind kind, long state, const wxString &label, const wxBitmap &bitmap_large, const wxBitmap &bitmap_small)
 
+void DrawToolBarBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)
 
+void DrawToolGroupBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect)
 
+void DrawTool (wxDC &dc, wxWindow *wnd, const wxRect &rect, const wxBitmap &bitmap, wxRibbonButtonKind kind, long state)
 
+ + + + + + + + + + + +

+Protected Member Functions

+void DrawPartialPageBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect, bool allow_hovered=true)
 
+void DrawPartialPageBackground (wxDC &dc, wxWindow *wnd, const wxRect &rect, wxRibbonPage *page, wxPoint offset, bool hovered=false)
 
+void DrawPanelBorder (wxDC &dc, const wxRect &rect, wxPen &primary_colour, wxPen &secondary_colour)
 
+void DrawButtonBarButtonForeground (wxDC &dc, const wxRect &rect, wxRibbonButtonKind kind, long state, const wxString &label, const wxBitmap &bitmap_large, const wxBitmap &bitmap_small)
 
+void DrawMinimisedPanelCommon (wxDC &dc, wxRibbonPanel *wnd, const wxRect &rect, wxRect *preview_rect)
 
+
The documentation for this class was generated from the following files: +
+ + + + diff --git a/docs/doxygen/html/classwx_ribbon_metro_art_provider.png b/docs/doxygen/html/classwx_ribbon_metro_art_provider.png new file mode 100644 index 0000000..1cc2436 Binary files /dev/null and b/docs/doxygen/html/classwx_ribbon_metro_art_provider.png differ diff --git a/docs/doxygen/html/closed.png b/docs/doxygen/html/closed.png new file mode 100644 index 0000000..98cc2c9 Binary files /dev/null and b/docs/doxygen/html/closed.png differ diff --git a/docs/doxygen/html/dir_ffd1f789ec7bd0a45fc6ad92579c5070.html b/docs/doxygen/html/dir_ffd1f789ec7bd0a45fc6ad92579c5070.html new file mode 100644 index 0000000..75d7b53 --- /dev/null +++ b/docs/doxygen/html/dir_ffd1f789ec7bd0a45fc6ad92579c5070.html @@ -0,0 +1,96 @@ + + + + + + + +PSP-UFU: Project Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Project Directory Reference
+
+
+ + + + + + + + + + + + + + +

+Files

file  ElectricCalculation.h [code]
 Base class of electric calculations, with general methods.
 
file  Element.h [code]
 Class to manage color of OpenGL.
 
file  Fault.h [code]
 Calculate the fault of the system and update the elements data.
 
file  PowerElement.h [code]
 Switching data of power elements.
 
+
+ + + + diff --git a/docs/doxygen/html/doc.png b/docs/doxygen/html/doc.png new file mode 100644 index 0000000..17edabf Binary files /dev/null and b/docs/doxygen/html/doc.png differ diff --git a/docs/doxygen/html/doxygen.css b/docs/doxygen/html/doxygen.css new file mode 100644 index 0000000..4f1ab91 --- /dev/null +++ b/docs/doxygen/html/doxygen.css @@ -0,0 +1,1596 @@ +/* The standard CSS for doxygen 1.8.13 */ + +body, table, div, p, dl { + font: 400 14px/22px Roboto,sans-serif; +} + +p.reference, p.definition { + font: 400 14px/22px Roboto,sans-serif; +} + +/* @group Heading Levels */ + +h1.groupheader { + font-size: 150%; +} + +.title { + font: 400 14px/28px Roboto,sans-serif; + font-size: 150%; + font-weight: bold; + margin: 10px 2px; +} + +h2.groupheader { + border-bottom: 1px solid #879ECB; + color: #354C7B; + font-size: 150%; + font-weight: normal; + margin-top: 1.75em; + padding-top: 8px; + padding-bottom: 4px; + width: 100%; +} + +h3.groupheader { + font-size: 100%; +} + +h1, h2, h3, h4, h5, h6 { + -webkit-transition: text-shadow 0.5s linear; + -moz-transition: text-shadow 0.5s linear; + -ms-transition: text-shadow 0.5s linear; + -o-transition: text-shadow 0.5s linear; + transition: text-shadow 0.5s linear; + margin-right: 15px; +} + +h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { + text-shadow: 0 0 15px cyan; +} + +dt { + font-weight: bold; +} + +div.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; +} + +p.startli, p.startdd { + margin-top: 2px; +} + +p.starttd { + margin-top: 0px; +} + +p.endli { + margin-bottom: 0px; +} + +p.enddd { + margin-bottom: 4px; +} + +p.endtd { + margin-bottom: 2px; +} + +/* @end */ + +caption { + font-weight: bold; +} + +span.legend { + font-size: 70%; + text-align: center; +} + +h3.version { + font-size: 90%; + text-align: center; +} + +div.qindex, div.navtab{ + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; +} + +div.qindex, div.navpath { + width: 100%; + line-height: 140%; +} + +div.navtab { + margin-right: 15px; +} + +/* @group Link Styling */ + +a { + color: #3D578C; + font-weight: normal; + text-decoration: none; +} + +.contents a:visited { + color: #4665A2; +} + +a:hover { + text-decoration: underline; +} + +a.qindex { + font-weight: bold; +} + +a.qindexHL { + font-weight: bold; + background-color: #9CAFD4; + color: #ffffff; + border: 1px double #869DCA; +} + +.contents a.qindexHL:visited { + color: #ffffff; +} + +a.el { + font-weight: bold; +} + +a.elRef { +} + +a.code, a.code:visited, a.line, a.line:visited { + color: #4665A2; +} + +a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { + color: #4665A2; +} + +/* @end */ + +dl.el { + margin-left: -1cm; +} + +pre.fragment { + border: 1px solid #C4CFE5; + background-color: #FBFCFD; + padding: 4px 6px; + margin: 4px 8px 4px 2px; + overflow: auto; + word-wrap: break-word; + font-size: 9pt; + line-height: 125%; + font-family: monospace, fixed; + font-size: 105%; +} + +div.fragment { + padding: 0px; + margin: 4px 8px 4px 2px; + background-color: #FBFCFD; + border: 1px solid #C4CFE5; +} + +div.line { + font-family: monospace, fixed; + font-size: 13px; + min-height: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +div.line:after { + content:"\000A"; + white-space: pre; +} + +div.line.glow { + background-color: cyan; + box-shadow: 0 0 10px cyan; +} + + +span.lineno { + padding-right: 4px; + text-align: right; + border-right: 2px solid #0F0; + background-color: #E8E8E8; + white-space: pre; +} +span.lineno a { + background-color: #D8D8D8; +} + +span.lineno a:hover { + background-color: #C8C8C8; +} + +.lineno { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +div.ah, span.ah { + background-color: black; + font-weight: bold; + color: #ffffff; + margin-bottom: 3px; + margin-top: 3px; + padding: 0.2em; + border: solid thin #333; + border-radius: 0.5em; + -webkit-border-radius: .5em; + -moz-border-radius: .5em; + box-shadow: 2px 2px 3px #999; + -webkit-box-shadow: 2px 2px 3px #999; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); + background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); +} + +div.classindex ul { + list-style: none; + padding-left: 0; +} + +div.classindex span.ai { + display: inline-block; +} + +div.groupHeader { + margin-left: 16px; + margin-top: 12px; + font-weight: bold; +} + +div.groupText { + margin-left: 16px; + font-style: italic; +} + +body { + background-color: white; + color: black; + margin: 0; +} + +div.contents { + margin-top: 10px; + margin-left: 12px; + margin-right: 8px; +} + +td.indexkey { + background-color: #EBEFF6; + font-weight: bold; + border: 1px solid #C4CFE5; + margin: 2px 0px 2px 0; + padding: 2px 10px; + white-space: nowrap; + vertical-align: top; +} + +td.indexvalue { + background-color: #EBEFF6; + border: 1px solid #C4CFE5; + padding: 2px 10px; + margin: 2px 0px; +} + +tr.memlist { + background-color: #EEF1F7; +} + +p.formulaDsp { + text-align: center; +} + +img.formulaDsp { + +} + +img.formulaInl { + vertical-align: middle; +} + +div.center { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} + +div.center img { + border: 0px; +} + +address.footer { + text-align: right; + padding-right: 12px; +} + +img.footer { + border: 0px; + vertical-align: middle; +} + +/* @group Code Colorization */ + +span.keyword { + color: #008000 +} + +span.keywordtype { + color: #604020 +} + +span.keywordflow { + color: #e08000 +} + +span.comment { + color: #800000 +} + +span.preprocessor { + color: #806020 +} + +span.stringliteral { + color: #002080 +} + +span.charliteral { + color: #008080 +} + +span.vhdldigit { + color: #ff00ff +} + +span.vhdlchar { + color: #000000 +} + +span.vhdlkeyword { + color: #700070 +} + +span.vhdllogic { + color: #ff0000 +} + +blockquote { + background-color: #F7F8FB; + border-left: 2px solid #9CAFD4; + margin: 0 24px 0 4px; + padding: 0 12px 0 16px; +} + +/* @end */ + +/* +.search { + color: #003399; + font-weight: bold; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} + +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #e8eef2; +} +*/ + +td.tiny { + font-size: 75%; +} + +.dirtab { + padding: 4px; + border-collapse: collapse; + border: 1px solid #A3B4D7; +} + +th.dirtab { + background: #EBEFF6; + font-weight: bold; +} + +hr { + height: 0px; + border: none; + border-top: 1px solid #4A6AAA; +} + +hr.footer { + height: 1px; +} + +/* @group Member Descriptions */ + +table.memberdecls { + border-spacing: 0px; + padding: 0px; +} + +.memberdecls td, .fieldtable tr { + -webkit-transition-property: background-color, box-shadow; + -webkit-transition-duration: 0.5s; + -moz-transition-property: background-color, box-shadow; + -moz-transition-duration: 0.5s; + -ms-transition-property: background-color, box-shadow; + -ms-transition-duration: 0.5s; + -o-transition-property: background-color, box-shadow; + -o-transition-duration: 0.5s; + transition-property: background-color, box-shadow; + transition-duration: 0.5s; +} + +.memberdecls td.glow, .fieldtable tr.glow { + background-color: cyan; + box-shadow: 0 0 15px cyan; +} + +.mdescLeft, .mdescRight, +.memItemLeft, .memItemRight, +.memTemplItemLeft, .memTemplItemRight, .memTemplParams { + background-color: #F9FAFC; + border: none; + margin: 4px; + padding: 1px 0 0 8px; +} + +.mdescLeft, .mdescRight { + padding: 0px 8px 4px 8px; + color: #555; +} + +.memSeparator { + border-bottom: 1px solid #DEE4F0; + line-height: 1px; + margin: 0px; + padding: 0px; +} + +.memItemLeft, .memTemplItemLeft { + white-space: nowrap; +} + +.memItemRight { + width: 100%; +} + +.memTemplParams { + color: #4665A2; + white-space: nowrap; + font-size: 80%; +} + +/* @end */ + +/* @group Member Details */ + +/* Styles for detailed member documentation */ + +.memtitle { + padding: 8px; + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + border-top-right-radius: 4px; + border-top-left-radius: 4px; + margin-bottom: -1px; + background-image: url('nav_f.png'); + background-repeat: repeat-x; + background-color: #E2E8F2; + line-height: 1.25; + font-weight: 300; + float:left; +} + +.permalink +{ + font-size: 65%; + display: inline-block; + vertical-align: middle; +} + +.memtemplate { + font-size: 80%; + color: #4665A2; + font-weight: normal; + margin-left: 9px; +} + +.memnav { + background-color: #EBEFF6; + border: 1px solid #A3B4D7; + text-align: center; + margin: 2px; + margin-right: 15px; + padding: 2px; +} + +.mempage { + width: 100%; +} + +.memitem { + padding: 0; + margin-bottom: 10px; + margin-right: 5px; + -webkit-transition: box-shadow 0.5s linear; + -moz-transition: box-shadow 0.5s linear; + -ms-transition: box-shadow 0.5s linear; + -o-transition: box-shadow 0.5s linear; + transition: box-shadow 0.5s linear; + display: table !important; + width: 100%; +} + +.memitem.glow { + box-shadow: 0 0 15px cyan; +} + +.memname { + font-weight: 400; + margin-left: 6px; +} + +.memname td { + vertical-align: bottom; +} + +.memproto, dl.reflist dt { + border-top: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 0px 6px 0px; + color: #253555; + font-weight: bold; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + background-color: #DFE5F1; + /* opera specific markup */ + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + border-top-right-radius: 4px; + /* firefox specific markup */ + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + -moz-border-radius-topright: 4px; + /* webkit specific markup */ + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + -webkit-border-top-right-radius: 4px; + +} + +.overload { + font-family: "courier new",courier,monospace; + font-size: 65%; +} + +.memdoc, dl.reflist dd { + border-bottom: 1px solid #A8B8D9; + border-left: 1px solid #A8B8D9; + border-right: 1px solid #A8B8D9; + padding: 6px 10px 2px 10px; + background-color: #FBFCFD; + border-top-width: 0; + background-image:url('nav_g.png'); + background-repeat:repeat-x; + background-color: #FFFFFF; + /* opera specific markup */ + border-bottom-left-radius: 4px; + border-bottom-right-radius: 4px; + box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); + /* firefox specific markup */ + -moz-border-radius-bottomleft: 4px; + -moz-border-radius-bottomright: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; + /* webkit specific markup */ + -webkit-border-bottom-left-radius: 4px; + -webkit-border-bottom-right-radius: 4px; + -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); +} + +dl.reflist dt { + padding: 5px; +} + +dl.reflist dd { + margin: 0px 0px 10px 0px; + padding: 5px; +} + +.paramkey { + text-align: right; +} + +.paramtype { + white-space: nowrap; +} + +.paramname { + color: #602020; + white-space: nowrap; +} +.paramname em { + font-style: normal; +} +.paramname code { + line-height: 14px; +} + +.params, .retval, .exception, .tparams { + margin-left: 0px; + padding-left: 0px; +} + +.params .paramname, .retval .paramname { + font-weight: bold; + vertical-align: top; +} + +.params .paramtype { + font-style: italic; + vertical-align: top; +} + +.params .paramdir { + font-family: "courier new",courier,monospace; + vertical-align: top; +} + +table.mlabels { + border-spacing: 0px; +} + +td.mlabels-left { + width: 100%; + padding: 0px; +} + +td.mlabels-right { + vertical-align: bottom; + padding: 0px; + white-space: nowrap; +} + +span.mlabels { + margin-left: 8px; +} + +span.mlabel { + background-color: #728DC1; + border-top:1px solid #5373B4; + border-left:1px solid #5373B4; + border-right:1px solid #C4CFE5; + border-bottom:1px solid #C4CFE5; + text-shadow: none; + color: white; + margin-right: 4px; + padding: 2px 3px; + border-radius: 3px; + font-size: 7pt; + white-space: nowrap; + vertical-align: middle; +} + + + +/* @end */ + +/* these are for tree view inside a (index) page */ + +div.directory { + margin: 10px 0px; + border-top: 1px solid #9CAFD4; + border-bottom: 1px solid #9CAFD4; + width: 100%; +} + +.directory table { + border-collapse:collapse; +} + +.directory td { + margin: 0px; + padding: 0px; + vertical-align: top; +} + +.directory td.entry { + white-space: nowrap; + padding-right: 6px; + padding-top: 3px; +} + +.directory td.entry a { + outline:none; +} + +.directory td.entry a img { + border: none; +} + +.directory td.desc { + width: 100%; + padding-left: 6px; + padding-right: 6px; + padding-top: 3px; + border-left: 1px solid rgba(0,0,0,0.05); +} + +.directory tr.even { + padding-left: 6px; + background-color: #F7F8FB; +} + +.directory img { + vertical-align: -30%; +} + +.directory .levels { + white-space: nowrap; + width: 100%; + text-align: right; + font-size: 9pt; +} + +.directory .levels span { + cursor: pointer; + padding-left: 2px; + padding-right: 2px; + color: #3D578C; +} + +.arrow { + color: #9CAFD4; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + cursor: pointer; + font-size: 80%; + display: inline-block; + width: 16px; + height: 22px; +} + +.icon { + font-family: Arial, Helvetica; + font-weight: bold; + font-size: 12px; + height: 14px; + width: 16px; + display: inline-block; + background-color: #728DC1; + color: white; + text-align: center; + border-radius: 4px; + margin-left: 2px; + margin-right: 2px; +} + +.icona { + width: 24px; + height: 22px; + display: inline-block; +} + +.iconfopen { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderopen.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.iconfclosed { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('folderclosed.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +.icondoc { + width: 24px; + height: 18px; + margin-bottom: 4px; + background-image:url('doc.png'); + background-position: 0px -4px; + background-repeat: repeat-y; + vertical-align:top; + display: inline-block; +} + +table.directory { + font: 400 14px Roboto,sans-serif; +} + +/* @end */ + +div.dynheader { + margin-top: 8px; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +address { + font-style: normal; + color: #2A3D61; +} + +table.doxtable caption { + caption-side: top; +} + +table.doxtable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.doxtable td, table.doxtable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.doxtable th { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +table.fieldtable { + /*width: 100%;*/ + margin-bottom: 10px; + border: 1px solid #A8B8D9; + border-spacing: 0px; + -moz-border-radius: 4px; + -webkit-border-radius: 4px; + border-radius: 4px; + -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; + -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); + box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); +} + +.fieldtable td, .fieldtable th { + padding: 3px 7px 2px; +} + +.fieldtable td.fieldtype, .fieldtable td.fieldname { + white-space: nowrap; + border-right: 1px solid #A8B8D9; + border-bottom: 1px solid #A8B8D9; + vertical-align: top; +} + +.fieldtable td.fieldname { + padding-top: 3px; +} + +.fieldtable td.fielddoc { + border-bottom: 1px solid #A8B8D9; + /*width: 100%;*/ +} + +.fieldtable td.fielddoc p:first-child { + margin-top: 0px; +} + +.fieldtable td.fielddoc p:last-child { + margin-bottom: 2px; +} + +.fieldtable tr:last-child td { + border-bottom: none; +} + +.fieldtable th { + background-image:url('nav_f.png'); + background-repeat:repeat-x; + background-color: #E2E8F2; + font-size: 90%; + color: #253555; + padding-bottom: 4px; + padding-top: 5px; + text-align:left; + font-weight: 400; + -moz-border-radius-topleft: 4px; + -moz-border-radius-topright: 4px; + -webkit-border-top-left-radius: 4px; + -webkit-border-top-right-radius: 4px; + border-top-left-radius: 4px; + border-top-right-radius: 4px; + border-bottom: 1px solid #A8B8D9; +} + + +.tabsearch { + top: 0px; + left: 10px; + height: 36px; + background-image: url('tab_b.png'); + z-index: 101; + overflow: hidden; + font-size: 13px; +} + +.navpath ul +{ + font-size: 11px; + background-image:url('tab_b.png'); + background-repeat:repeat-x; + background-position: 0 -5px; + height:30px; + line-height:30px; + color:#8AA0CC; + border:solid 1px #C2CDE4; + overflow:hidden; + margin:0px; + padding:0px; +} + +.navpath li +{ + list-style-type:none; + float:left; + padding-left:10px; + padding-right:15px; + background-image:url('bc_s.png'); + background-repeat:no-repeat; + background-position:right; + color:#364D7C; +} + +.navpath li.navelem a +{ + height:32px; + display:block; + text-decoration: none; + outline: none; + color: #283A5D; + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); + text-decoration: none; +} + +.navpath li.navelem a:hover +{ + color:#6884BD; +} + +.navpath li.footer +{ + list-style-type:none; + float:right; + padding-left:10px; + padding-right:15px; + background-image:none; + background-repeat:no-repeat; + background-position:right; + color:#364D7C; + font-size: 8pt; +} + + +div.summary +{ + float: right; + font-size: 8pt; + padding-right: 5px; + width: 50%; + text-align: right; +} + +div.summary a +{ + white-space: nowrap; +} + +table.classindex +{ + margin: 10px; + white-space: nowrap; + margin-left: 3%; + margin-right: 3%; + width: 94%; + border: 0; + border-spacing: 0; + padding: 0; +} + +div.ingroups +{ + font-size: 8pt; + width: 50%; + text-align: left; +} + +div.ingroups a +{ + white-space: nowrap; +} + +div.header +{ + background-image:url('nav_h.png'); + background-repeat:repeat-x; + background-color: #F9FAFC; + margin: 0px; + border-bottom: 1px solid #C4CFE5; +} + +div.headertitle +{ + padding: 5px 5px 5px 10px; +} + +dl +{ + padding: 0 0 0 10px; +} + +/* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ +dl.section +{ + margin-left: 0px; + padding-left: 0px; +} + +dl.note +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #D0C000; +} + +dl.warning, dl.attention +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #FF0000; +} + +dl.pre, dl.post, dl.invariant +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00D000; +} + +dl.deprecated +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #505050; +} + +dl.todo +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #00C0E0; +} + +dl.test +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #3030E0; +} + +dl.bug +{ + margin-left:-7px; + padding-left: 3px; + border-left:4px solid; + border-color: #C08050; +} + +dl.section dd { + margin-bottom: 6px; +} + + +#projectlogo +{ + text-align: center; + vertical-align: bottom; + border-collapse: separate; +} + +#projectlogo img +{ + border: 0px none; +} + +#projectalign +{ + vertical-align: middle; +} + +#projectname +{ + font: 300% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 2px 0px; +} + +#projectbrief +{ + font: 120% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#projectnumber +{ + font: 50% Tahoma, Arial,sans-serif; + margin: 0px; + padding: 0px; +} + +#titlearea +{ + padding: 0px; + margin: 0px; + width: 100%; + border-bottom: 1px solid #5373B4; +} + +.image +{ + text-align: center; +} + +.dotgraph +{ + text-align: center; +} + +.mscgraph +{ + text-align: center; +} + +.plantumlgraph +{ + text-align: center; +} + +.diagraph +{ + text-align: center; +} + +.caption +{ + font-weight: bold; +} + +div.zoom +{ + border: 1px solid #90A5CE; +} + +dl.citelist { + margin-bottom:50px; +} + +dl.citelist dt { + color:#334975; + float:left; + font-weight:bold; + margin-right:10px; + padding:5px; +} + +dl.citelist dd { + margin:2px 0; + padding:5px 0; +} + +div.toc { + padding: 14px 25px; + background-color: #F4F6FA; + border: 1px solid #D8DFEE; + border-radius: 7px 7px 7px 7px; + float: right; + height: auto; + margin: 0 8px 10px 10px; + width: 200px; +} + +div.toc li { + background: url("bdwn.png") no-repeat scroll 0 5px transparent; + font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + margin-top: 5px; + padding-left: 10px; + padding-top: 2px; +} + +div.toc h3 { + font: bold 12px/1.2 Arial,FreeSans,sans-serif; + color: #4665A2; + border-bottom: 0 none; + margin: 0; +} + +div.toc ul { + list-style: none outside none; + border: medium none; + padding: 0px; +} + +div.toc li.level1 { + margin-left: 0px; +} + +div.toc li.level2 { + margin-left: 15px; +} + +div.toc li.level3 { + margin-left: 30px; +} + +div.toc li.level4 { + margin-left: 45px; +} + +.inherit_header { + font-weight: bold; + color: gray; + cursor: pointer; + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.inherit_header td { + padding: 6px 0px 2px 5px; +} + +.inherit { + display: none; +} + +tr.heading h2 { + margin-top: 12px; + margin-bottom: 4px; +} + +/* tooltip related style info */ + +.ttc { + position: absolute; + display: none; +} + +#powerTip { + cursor: default; + white-space: nowrap; + background-color: white; + border: 1px solid gray; + border-radius: 4px 4px 4px 4px; + box-shadow: 1px 1px 7px gray; + display: none; + font-size: smaller; + max-width: 80%; + opacity: 0.9; + padding: 1ex 1em 1em; + position: absolute; + z-index: 2147483647; +} + +#powerTip div.ttdoc { + color: grey; + font-style: italic; +} + +#powerTip div.ttname a { + font-weight: bold; +} + +#powerTip div.ttname { + font-weight: bold; +} + +#powerTip div.ttdeci { + color: #006318; +} + +#powerTip div { + margin: 0px; + padding: 0px; + font: 12px/16px Roboto,sans-serif; +} + +#powerTip:before, #powerTip:after { + content: ""; + position: absolute; + margin: 0px; +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.s:after, #powerTip.s:before, +#powerTip.w:after, #powerTip.w:before, +#powerTip.e:after, #powerTip.e:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.nw:after, #powerTip.nw:before, +#powerTip.sw:after, #powerTip.sw:before { + border: solid transparent; + content: " "; + height: 0; + width: 0; + position: absolute; +} + +#powerTip.n:after, #powerTip.s:after, +#powerTip.w:after, #powerTip.e:after, +#powerTip.nw:after, #powerTip.ne:after, +#powerTip.sw:after, #powerTip.se:after { + border-color: rgba(255, 255, 255, 0); +} + +#powerTip.n:before, #powerTip.s:before, +#powerTip.w:before, #powerTip.e:before, +#powerTip.nw:before, #powerTip.ne:before, +#powerTip.sw:before, #powerTip.se:before { + border-color: rgba(128, 128, 128, 0); +} + +#powerTip.n:after, #powerTip.n:before, +#powerTip.ne:after, #powerTip.ne:before, +#powerTip.nw:after, #powerTip.nw:before { + top: 100%; +} + +#powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { + border-top-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} +#powerTip.n:before { + border-top-color: #808080; + border-width: 11px; + margin: 0px -11px; +} +#powerTip.n:after, #powerTip.n:before { + left: 50%; +} + +#powerTip.nw:after, #powerTip.nw:before { + right: 14px; +} + +#powerTip.ne:after, #powerTip.ne:before { + left: 14px; +} + +#powerTip.s:after, #powerTip.s:before, +#powerTip.se:after, #powerTip.se:before, +#powerTip.sw:after, #powerTip.sw:before { + bottom: 100%; +} + +#powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { + border-bottom-color: #ffffff; + border-width: 10px; + margin: 0px -10px; +} + +#powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { + border-bottom-color: #808080; + border-width: 11px; + margin: 0px -11px; +} + +#powerTip.s:after, #powerTip.s:before { + left: 50%; +} + +#powerTip.sw:after, #powerTip.sw:before { + right: 14px; +} + +#powerTip.se:after, #powerTip.se:before { + left: 14px; +} + +#powerTip.e:after, #powerTip.e:before { + left: 100%; +} +#powerTip.e:after { + border-left-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.e:before { + border-left-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +#powerTip.w:after, #powerTip.w:before { + right: 100%; +} +#powerTip.w:after { + border-right-color: #ffffff; + border-width: 10px; + top: 50%; + margin-top: -10px; +} +#powerTip.w:before { + border-right-color: #808080; + border-width: 11px; + top: 50%; + margin-top: -11px; +} + +@media print +{ + #top { display: none; } + #side-nav { display: none; } + #nav-path { display: none; } + body { overflow:visible; } + h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } + .summary { display: none; } + .memitem { page-break-inside: avoid; } + #doc-content + { + margin-left:0 !important; + height:auto !important; + width:auto !important; + overflow:inherit; + display:inline; + } +} + +/* @group Markdown */ + +/* +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTableHead tr { +} + +table.markdownTableBodyLeft td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +th.markdownTableHeadLeft th.markdownTableHeadRight th.markdownTableHeadCenter th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft { + text-align: left +} + +th.markdownTableHeadRight { + text-align: right +} + +th.markdownTableHeadCenter { + text-align: center +} +*/ + +table.markdownTable { + border-collapse:collapse; + margin-top: 4px; + margin-bottom: 4px; +} + +table.markdownTable td, table.markdownTable th { + border: 1px solid #2D4068; + padding: 3px 7px 2px; +} + +table.markdownTable tr { +} + +th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { + background-color: #374F7F; + color: #FFFFFF; + font-size: 110%; + padding-bottom: 4px; + padding-top: 5px; +} + +th.markdownTableHeadLeft, td.markdownTableBodyLeft { + text-align: left +} + +th.markdownTableHeadRight, td.markdownTableBodyRight { + text-align: right +} + +th.markdownTableHeadCenter, td.markdownTableBodyCenter { + text-align: center +} + + +/* @end */ diff --git a/docs/doxygen/html/doxygen.png b/docs/doxygen/html/doxygen.png new file mode 100644 index 0000000..3ff17d8 Binary files /dev/null and b/docs/doxygen/html/doxygen.png differ diff --git a/docs/doxygen/html/dynsections.js b/docs/doxygen/html/dynsections.js new file mode 100644 index 0000000..85e1836 --- /dev/null +++ b/docs/doxygen/html/dynsections.js @@ -0,0 +1,97 @@ +function toggleVisibility(linkObj) +{ + var base = $(linkObj).attr('id'); + var summary = $('#'+base+'-summary'); + var content = $('#'+base+'-content'); + var trigger = $('#'+base+'-trigger'); + var src=$(trigger).attr('src'); + if (content.is(':visible')===true) { + content.hide(); + summary.show(); + $(linkObj).addClass('closed').removeClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); + } else { + content.show(); + summary.hide(); + $(linkObj).removeClass('closed').addClass('opened'); + $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); + } + return false; +} + +function updateStripes() +{ + $('table.directory tr'). + removeClass('even').filter(':visible:even').addClass('even'); +} + +function toggleLevel(level) +{ + $('table.directory tr').each(function() { + var l = this.id.split('_').length-1; + var i = $('#img'+this.id.substring(3)); + var a = $('#arr'+this.id.substring(3)); + if (l + + + + + + +PSP-UFU: File List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
File List
+
+
+
Here is a list of all documented files with brief descriptions:
+
[detail level 12]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  Project
 AboutForm.h
 ArtMetro.h
 Branch.h
 Bus.h
 BusForm.h
 Camera.h
 Capacitor.h
 ChartView.h
 ChartViewBase.h
 ConnectionLine.h
 Constant.h
 ConstantForm.h
 ControlEditor.h
 ControlEditorBase.h
 ControlElement.h
 ControlElementContainer.h
 ControlElementSolver.h
 ControlSystemTest.h
 DataReport.h
 DataReportBase.h
 DegreesAndRadians.h
 ElectricCalculation.hBase class of electric calculations, with general methods
 Electromechanical.h
 Element.hClass to manage color of OpenGL
 ElementDataObject.h
 ElementForm.h
 ElementPlotData.h
 Exponential.h
 ExponentialForm.h
 Fault.hCalculate the fault of the system and update the elements data
 FileHanding.h
 Gain.h
 GainForm.h
 GeneralPropertiesForm.h
 GeneratorStabForm.h
 GraphicalElement.h
 IndMotor.h
 IndMotorForm.h
 Inductor.h
 IOControl.h
 IOControlForm.h
 Limiter.h
 LimiterForm.h
 Line.h
 LineForm.h
 Load.h
 LoadForm.h
 Machines.h
 MainFrame.h
 MainFrameBase.h
 Multiplier.h
 PowerElement.hSwitching data of power elements
 PowerFlow.h
 PropertiesData.h
 PropertiesForm.h
 RateLimiter.h
 RateLimiterForm.h
 ReactiveShuntElementForm.h
 Shunt.h
 SimulationsSettingsForm.h
 Sum.h
 SumForm.h
 SwitchingForm.h
 SyncGenerator.h
 SyncMachineForm.h
 SyncMotor.h
 Text.h
 TextForm.h
 TransferFunction.h
 TransferFunctionForm.h
 Transformer.h
 TransformerForm.h
 Workspace.h
 WorkspaceBase.h
 wxGLString.h
+
+
+ + + + diff --git a/docs/doxygen/html/folderclosed.png b/docs/doxygen/html/folderclosed.png new file mode 100644 index 0000000..bb8ab35 Binary files /dev/null and b/docs/doxygen/html/folderclosed.png differ diff --git a/docs/doxygen/html/folderopen.png b/docs/doxygen/html/folderopen.png new file mode 100644 index 0000000..d6c7f67 Binary files /dev/null and b/docs/doxygen/html/folderopen.png differ diff --git a/docs/doxygen/html/functions.html b/docs/doxygen/html/functions.html new file mode 100644 index 0000000..7b90e90 --- /dev/null +++ b/docs/doxygen/html/functions.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- a -

+
+ + + + diff --git a/docs/doxygen/html/functions_0x7e.html b/docs/doxygen/html/functions_0x7e.html new file mode 100644 index 0000000..b7b332b --- /dev/null +++ b/docs/doxygen/html/functions_0x7e.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- ~ -

+
+ + + + diff --git a/docs/doxygen/html/functions_b.html b/docs/doxygen/html/functions_b.html new file mode 100644 index 0000000..413e61d --- /dev/null +++ b/docs/doxygen/html/functions_b.html @@ -0,0 +1,80 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- b -

+
+ + + + diff --git a/docs/doxygen/html/functions_c.html b/docs/doxygen/html/functions_c.html new file mode 100644 index 0000000..a2c6859 --- /dev/null +++ b/docs/doxygen/html/functions_c.html @@ -0,0 +1,113 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- c -

+
+ + + + diff --git a/docs/doxygen/html/functions_d.html b/docs/doxygen/html/functions_d.html new file mode 100644 index 0000000..2b7bcb9 --- /dev/null +++ b/docs/doxygen/html/functions_d.html @@ -0,0 +1,124 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- d -

+
+ + + + diff --git a/docs/doxygen/html/functions_e.html b/docs/doxygen/html/functions_e.html new file mode 100644 index 0000000..355c6ae --- /dev/null +++ b/docs/doxygen/html/functions_e.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- e -

+
+ + + + diff --git a/docs/doxygen/html/functions_f.html b/docs/doxygen/html/functions_f.html new file mode 100644 index 0000000..d1298e3 --- /dev/null +++ b/docs/doxygen/html/functions_f.html @@ -0,0 +1,79 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- f -

+
+ + + + diff --git a/docs/doxygen/html/functions_func.html b/docs/doxygen/html/functions_func.html new file mode 100644 index 0000000..2682936 --- /dev/null +++ b/docs/doxygen/html/functions_func.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_0x7e.html b/docs/doxygen/html/functions_func_0x7e.html new file mode 100644 index 0000000..6c6a918 --- /dev/null +++ b/docs/doxygen/html/functions_func_0x7e.html @@ -0,0 +1,91 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- ~ -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_b.html b/docs/doxygen/html/functions_func_b.html new file mode 100644 index 0000000..deeefef --- /dev/null +++ b/docs/doxygen/html/functions_func_b.html @@ -0,0 +1,80 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- b -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_c.html b/docs/doxygen/html/functions_func_c.html new file mode 100644 index 0000000..141d99c --- /dev/null +++ b/docs/doxygen/html/functions_func_c.html @@ -0,0 +1,110 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- c -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_d.html b/docs/doxygen/html/functions_func_d.html new file mode 100644 index 0000000..c7ee71b --- /dev/null +++ b/docs/doxygen/html/functions_func_d.html @@ -0,0 +1,124 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- d -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_e.html b/docs/doxygen/html/functions_func_e.html new file mode 100644 index 0000000..0ad8e38 --- /dev/null +++ b/docs/doxygen/html/functions_func_e.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- e -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_f.html b/docs/doxygen/html/functions_func_f.html new file mode 100644 index 0000000..34a2448 --- /dev/null +++ b/docs/doxygen/html/functions_func_f.html @@ -0,0 +1,79 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- f -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_g.html b/docs/doxygen/html/functions_func_g.html new file mode 100644 index 0000000..6d9e4e4 --- /dev/null +++ b/docs/doxygen/html/functions_func_g.html @@ -0,0 +1,225 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- g -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_h.html b/docs/doxygen/html/functions_func_h.html new file mode 100644 index 0000000..9f73c8a --- /dev/null +++ b/docs/doxygen/html/functions_func_h.html @@ -0,0 +1,79 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- h -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_i.html b/docs/doxygen/html/functions_func_i.html new file mode 100644 index 0000000..b8a4fa2 --- /dev/null +++ b/docs/doxygen/html/functions_func_i.html @@ -0,0 +1,116 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- i -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_m.html b/docs/doxygen/html/functions_func_m.html new file mode 100644 index 0000000..1f97549 --- /dev/null +++ b/docs/doxygen/html/functions_func_m.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- m -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_n.html b/docs/doxygen/html/functions_func_n.html new file mode 100644 index 0000000..b15778a --- /dev/null +++ b/docs/doxygen/html/functions_func_n.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- n -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_o.html b/docs/doxygen/html/functions_func_o.html new file mode 100644 index 0000000..1267516 --- /dev/null +++ b/docs/doxygen/html/functions_func_o.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- o -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_p.html b/docs/doxygen/html/functions_func_p.html new file mode 100644 index 0000000..1e46e4a --- /dev/null +++ b/docs/doxygen/html/functions_func_p.html @@ -0,0 +1,88 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- p -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_r.html b/docs/doxygen/html/functions_func_r.html new file mode 100644 index 0000000..b04fcb6 --- /dev/null +++ b/docs/doxygen/html/functions_func_r.html @@ -0,0 +1,148 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- r -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_s.html b/docs/doxygen/html/functions_func_s.html new file mode 100644 index 0000000..2f8896b --- /dev/null +++ b/docs/doxygen/html/functions_func_s.html @@ -0,0 +1,187 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- s -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_u.html b/docs/doxygen/html/functions_func_u.html new file mode 100644 index 0000000..7e3f565 --- /dev/null +++ b/docs/doxygen/html/functions_func_u.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- u -

+
+ + + + diff --git a/docs/doxygen/html/functions_func_w.html b/docs/doxygen/html/functions_func_w.html new file mode 100644 index 0000000..b5b8896 --- /dev/null +++ b/docs/doxygen/html/functions_func_w.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Class Members - Functions + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- w -

+
+ + + + diff --git a/docs/doxygen/html/functions_g.html b/docs/doxygen/html/functions_g.html new file mode 100644 index 0000000..572c76c --- /dev/null +++ b/docs/doxygen/html/functions_g.html @@ -0,0 +1,225 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- g -

+
+ + + + diff --git a/docs/doxygen/html/functions_h.html b/docs/doxygen/html/functions_h.html new file mode 100644 index 0000000..a16eeb9 --- /dev/null +++ b/docs/doxygen/html/functions_h.html @@ -0,0 +1,79 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- h -

+
+ + + + diff --git a/docs/doxygen/html/functions_i.html b/docs/doxygen/html/functions_i.html new file mode 100644 index 0000000..986c4d1 --- /dev/null +++ b/docs/doxygen/html/functions_i.html @@ -0,0 +1,116 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- i -

+
+ + + + diff --git a/docs/doxygen/html/functions_m.html b/docs/doxygen/html/functions_m.html new file mode 100644 index 0000000..638545b --- /dev/null +++ b/docs/doxygen/html/functions_m.html @@ -0,0 +1,104 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- m -

+
+ + + + diff --git a/docs/doxygen/html/functions_n.html b/docs/doxygen/html/functions_n.html new file mode 100644 index 0000000..450517b --- /dev/null +++ b/docs/doxygen/html/functions_n.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- n -

+
+ + + + diff --git a/docs/doxygen/html/functions_o.html b/docs/doxygen/html/functions_o.html new file mode 100644 index 0000000..3d9910e --- /dev/null +++ b/docs/doxygen/html/functions_o.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- o -

+
+ + + + diff --git a/docs/doxygen/html/functions_p.html b/docs/doxygen/html/functions_p.html new file mode 100644 index 0000000..585b3d4 --- /dev/null +++ b/docs/doxygen/html/functions_p.html @@ -0,0 +1,88 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- p -

+
+ + + + diff --git a/docs/doxygen/html/functions_r.html b/docs/doxygen/html/functions_r.html new file mode 100644 index 0000000..a00c327 --- /dev/null +++ b/docs/doxygen/html/functions_r.html @@ -0,0 +1,148 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- r -

+
+ + + + diff --git a/docs/doxygen/html/functions_s.html b/docs/doxygen/html/functions_s.html new file mode 100644 index 0000000..91c2e8a --- /dev/null +++ b/docs/doxygen/html/functions_s.html @@ -0,0 +1,193 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- s -

+
+ + + + diff --git a/docs/doxygen/html/functions_u.html b/docs/doxygen/html/functions_u.html new file mode 100644 index 0000000..ca5e49b --- /dev/null +++ b/docs/doxygen/html/functions_u.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- u -

+
+ + + + diff --git a/docs/doxygen/html/functions_vars.html b/docs/doxygen/html/functions_vars.html new file mode 100644 index 0000000..91e9ce9 --- /dev/null +++ b/docs/doxygen/html/functions_vars.html @@ -0,0 +1,86 @@ + + + + + + + +PSP-UFU: Class Members - Variables + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + + diff --git a/docs/doxygen/html/functions_w.html b/docs/doxygen/html/functions_w.html new file mode 100644 index 0000000..c30392c --- /dev/null +++ b/docs/doxygen/html/functions_w.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Class Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented class members with links to the class documentation for each member:
+ +

- w -

+
+ + + + diff --git a/docs/doxygen/html/globals.html b/docs/doxygen/html/globals.html new file mode 100644 index 0000000..3299e0d --- /dev/null +++ b/docs/doxygen/html/globals.html @@ -0,0 +1,259 @@ + + + + + + + +PSP-UFU: File Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all documented file members with links to the documentation:
+ +

- c -

+ + +

- e -

+ + +

- f -

+ + +

- i -

+ + +

- p -

+ + +

- s -

+ + +

- u -

+
+ + + + diff --git a/docs/doxygen/html/globals_enum.html b/docs/doxygen/html/globals_enum.html new file mode 100644 index 0000000..6c86822 --- /dev/null +++ b/docs/doxygen/html/globals_enum.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: File Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+ + + + diff --git a/docs/doxygen/html/globals_eval.html b/docs/doxygen/html/globals_eval.html new file mode 100644 index 0000000..914c98d --- /dev/null +++ b/docs/doxygen/html/globals_eval.html @@ -0,0 +1,233 @@ + + + + + + + +PSP-UFU: File Members + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+  + +

- f -

+ + +

- i -

+ + +

- p -

+ + +

- s -

+ + +

- u -

+
+ + + + diff --git a/docs/doxygen/html/hierarchy.html b/docs/doxygen/html/hierarchy.html new file mode 100644 index 0000000..784ea55 --- /dev/null +++ b/docs/doxygen/html/hierarchy.html @@ -0,0 +1,209 @@ + + + + + + + +PSP-UFU: Class Hierarchy + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
Class Hierarchy
+
+
+
This inheritance list is sorted roughly, but not completely, alphabetically:
+
[detail level 1234]
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 CBusElectricalData
 CCamera
 CCapacitorElectricalData
 CControlElementContainer
 CControlElementSolver
 CElectricCalculation
 CElectromechanical
 CFault
 CPowerFlow
 CElement
 CControlElement
 CGraphicalElement
 CPowerElement
 CElementPlotData
 CElementsLists
 CFileHanding
 CGeneralData
 CIndMotorElectricalData
 CInductorElectricalData
 CIntegrationConstant
 CLineElectricalData
 CLoadElectricalData
 CNode
 COpenGLColour
 CPropertiesData
 CReactiveLimits
 CSimulationData
 CTransferFunction::SpaceState
 CSwitchingData
 CSyncGeneratorElectricalData
 CSyncMotorElectricalData
 CTextGLDrawable
 CwxGLString
 CTextTexture
 CTransformerElectricalData
 CwxApp
 CMainApp
 CwxDataObjectSimple
 CElementDataObject
 CwxDialog
 CAboutFormBase
 CBusFormBase
 CConstantFormBase
 CControlSystemTestBase
 CExponentialFormBase
 CGainFormBase
 CGeneralPropertiesFormBase
 CGeneratorStabFormBase
 CIndMotorFormBase
 CIOControlFormBase
 CLimiterFormBase
 CLineFormBase
 CLoadFormBase
 CRateLimiterFormBase
 CReactiveShuntElementFormBase
 CSimulationsSettingsFormBase
 CSumFormBase
 CSwitchingFormBase
 CSyncMachineFormBase
 CTextFormBase
 CTransferFunctionFormBase
 CTransformerFormBase
 CwxFrame
 CChartViewBase
 CControlEditorBase
 CDataReportBase
 CMainFrameBase
 CwxGLStringArray
 CwxPanel
 CWorkspaceBase
 CwxRibbonMSWArtProvider
 CwxRibbonMetroArtProvider
 CwxString
 CwxGLString
 CwxTreeItemData
 CPlotData
 CwxWindow
 CControlElementButton
+
+
+ + + + diff --git a/docs/doxygen/html/index.html b/docs/doxygen/html/index.html new file mode 100644 index 0000000..af9a1ee --- /dev/null +++ b/docs/doxygen/html/index.html @@ -0,0 +1,76 @@ + + + + + + + +PSP-UFU: Main Page + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
PSP-UFU Documentation
+
+
+
+ + + + diff --git a/docs/doxygen/html/jquery.js b/docs/doxygen/html/jquery.js new file mode 100644 index 0000000..f5343ed --- /dev/null +++ b/docs/doxygen/html/jquery.js @@ -0,0 +1,87 @@ +/*! + * jQuery JavaScript Library v1.7.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Nov 21 21:11:03 2011 -0500 + */ +(function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); +/*! + * Sizzle CSS Selector Engine + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! + * jQuery UI 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI + */ +(function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! + * jQuery UI Widget 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Widget + */ +(function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! + * jQuery UI Mouse 1.8.18 + * + * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Mouse + * + * Depends: + * jquery.ui.widget.js + */ +(function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! + * jQuery hashchange event - v1.3 - 7/21/2010 + * http://benalman.com/projects/jquery-hashchange-plugin/ + * + * Copyright (c) 2010 "Cowboy" Ben Alman + * Dual licensed under the MIT and GPL licenses. + * http://benalman.com/about/license/ + */ +(function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$(' + + + +
+
+
BusElectricalData Member List
+
+
+ +

This is the complete list of members for BusElectricalData, including all inherited members.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
busType (defined in BusElectricalData)BusElectricalData
controlledVoltage (defined in BusElectricalData)BusElectricalData
controlledVoltageUnitChoice (defined in BusElectricalData)BusElectricalData
faultCurrent (defined in BusElectricalData)BusElectricalData
faultLocation (defined in BusElectricalData)BusElectricalData
faultReactance (defined in BusElectricalData)BusElectricalData
faultResistance (defined in BusElectricalData)BusElectricalData
faultType (defined in BusElectricalData)BusElectricalData
faultVoltage (defined in BusElectricalData)BusElectricalData
hasFault (defined in BusElectricalData)BusElectricalData
isVoltageControlled (defined in BusElectricalData)BusElectricalData
name (defined in BusElectricalData)BusElectricalData
nominalVoltage (defined in BusElectricalData)BusElectricalData
nominalVoltageUnit (defined in BusElectricalData)BusElectricalData
number (defined in BusElectricalData)BusElectricalData
plotBus (defined in BusElectricalData)BusElectricalData
power (defined in BusElectricalData)BusElectricalData
scPower (defined in BusElectricalData)BusElectricalData
slackBus (defined in BusElectricalData)BusElectricalData
stabFaultLength (defined in BusElectricalData)BusElectricalData
stabFaultReactance (defined in BusElectricalData)BusElectricalData
stabFaultResistance (defined in BusElectricalData)BusElectricalData
stabFaultTime (defined in BusElectricalData)BusElectricalData
stabHasFault (defined in BusElectricalData)BusElectricalData
stabVoltageVector (defined in BusElectricalData)BusElectricalData
voltage (defined in BusElectricalData)BusElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_bus_electrical_data.html b/docs/doxygen/html/struct_bus_electrical_data.html new file mode 100644 index 0000000..c26bb6d --- /dev/null +++ b/docs/doxygen/html/struct_bus_electrical_data.html @@ -0,0 +1,191 @@ + + + + + + + +PSP-UFU: BusElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
BusElectricalData Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+int number = 0
 
+wxString name = ""
 
+double nominalVoltage = 138.0
 
+ElectricalUnit nominalVoltageUnit = UNIT_kV
 
+bool isVoltageControlled = false
 
+double controlledVoltage = 1.0
 
+int controlledVoltageUnitChoice = 0
 
+bool slackBus = false
 
+std::complex< double > voltage = std::complex<double>(1.0, 0.0)
 
+std::complex< double > power = std::complex<double>(0.0, 0.0)
 
+int busType = 2
 
+bool hasFault = false
 
+FaultData faultType = FAULT_THREEPHASE
 
+FaultData faultLocation = FAULT_LINE_A
 
+double faultResistance = 0.0
 
+double faultReactance = 0.0
 
std::complex< double > faultCurrent [3]
 
std::complex< double > faultVoltage [3]
 
+double scPower = 0.0
 
+bool plotBus = false
 
+bool stabHasFault = false
 
+double stabFaultTime = 0.0
 
+double stabFaultLength = 0.0
 
+double stabFaultResistance = 0.0
 
+double stabFaultReactance = 0.0
 
+std::vector< std::complex< double > > stabVoltageVector
 
+

Member Data Documentation

+ +

◆ faultCurrent

+ +
+
+ + + + +
std::complex<double> BusElectricalData::faultCurrent[3]
+
+Initial value:
= {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
std::complex<double>(0.0, 0.0)}
+
+
+ +

◆ faultVoltage

+ +
+
+ + + + +
std::complex<double> BusElectricalData::faultVoltage[3]
+
+Initial value:
= {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
std::complex<double>(0.0, 0.0)}
+
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_capacitor_electrical_data-members.html b/docs/doxygen/html/struct_capacitor_electrical_data-members.html new file mode 100644 index 0000000..60d11ae --- /dev/null +++ b/docs/doxygen/html/struct_capacitor_electrical_data-members.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
CapacitorElectricalData Member List
+
+
+ +

This is the complete list of members for CapacitorElectricalData, including all inherited members.

+ + + + +
name (defined in CapacitorElectricalData)CapacitorElectricalData
reactivePower (defined in CapacitorElectricalData)CapacitorElectricalData
reactivePowerUnit (defined in CapacitorElectricalData)CapacitorElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_capacitor_electrical_data.html b/docs/doxygen/html/struct_capacitor_electrical_data.html new file mode 100644 index 0000000..56f8d8e --- /dev/null +++ b/docs/doxygen/html/struct_capacitor_electrical_data.html @@ -0,0 +1,95 @@ + + + + + + + +PSP-UFU: CapacitorElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
CapacitorElectricalData Struct Reference
+
+
+ + + + + + + + +

+Public Attributes

+wxString name
 
+double reactivePower = 100.0
 
+ElectricalUnit reactivePowerUnit = UNIT_MVAr
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_elements_lists-members.html b/docs/doxygen/html/struct_elements_lists-members.html new file mode 100644 index 0000000..4046af8 --- /dev/null +++ b/docs/doxygen/html/struct_elements_lists-members.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ElementsLists Member List
+
+
+ +

This is the complete list of members for ElementsLists, including all inherited members.

+ + + +
elementList (defined in ElementsLists)ElementsLists
parentList (defined in ElementsLists)ElementsLists
+ + + + diff --git a/docs/doxygen/html/struct_elements_lists.html b/docs/doxygen/html/struct_elements_lists.html new file mode 100644 index 0000000..754d394 --- /dev/null +++ b/docs/doxygen/html/struct_elements_lists.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: ElementsLists Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ElementsLists Struct Reference
+
+
+ + + + + + +

+Public Attributes

+std::vector< Element * > elementList
 
+std::vector< Bus * > parentList
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_general_data-members.html b/docs/doxygen/html/struct_general_data-members.html new file mode 100644 index 0000000..30e9b69 --- /dev/null +++ b/docs/doxygen/html/struct_general_data-members.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
GeneralData Member List
+
+
+ +

This is the complete list of members for GeneralData, including all inherited members.

+ + + +
language (defined in GeneralData)GeneralData
theme (defined in GeneralData)GeneralData
+ + + + diff --git a/docs/doxygen/html/struct_general_data.html b/docs/doxygen/html/struct_general_data.html new file mode 100644 index 0000000..d22ad95 --- /dev/null +++ b/docs/doxygen/html/struct_general_data.html @@ -0,0 +1,92 @@ + + + + + + + +PSP-UFU: GeneralData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
GeneralData Struct Reference
+
+
+ + + + + + +

+Public Attributes

+wxLanguage language = wxLANGUAGE_ENGLISH
 
+GUITheme theme = THEME_LIGHT
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_ind_motor_electrical_data-members.html b/docs/doxygen/html/struct_ind_motor_electrical_data-members.html new file mode 100644 index 0000000..1c94f68 --- /dev/null +++ b/docs/doxygen/html/struct_ind_motor_electrical_data-members.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IndMotorElectricalData Member List
+
+
+ +

This is the complete list of members for IndMotorElectricalData, including all inherited members.

+ + + + + + +
activePower (defined in IndMotorElectricalData)IndMotorElectricalData
activePowerUnit (defined in IndMotorElectricalData)IndMotorElectricalData
name (defined in IndMotorElectricalData)IndMotorElectricalData
reactivePower (defined in IndMotorElectricalData)IndMotorElectricalData
reactivePowerUnit (defined in IndMotorElectricalData)IndMotorElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_ind_motor_electrical_data.html b/docs/doxygen/html/struct_ind_motor_electrical_data.html new file mode 100644 index 0000000..a1590b4 --- /dev/null +++ b/docs/doxygen/html/struct_ind_motor_electrical_data.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: IndMotorElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IndMotorElectricalData Struct Reference
+
+
+ + + + + + + + + + + + +

+Public Attributes

+wxString name
 
+double activePower = 100.0
 
+ElectricalUnit activePowerUnit = UNIT_MW
 
+double reactivePower = 0.0
 
+ElectricalUnit reactivePowerUnit = UNIT_MVAr
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_inductor_electrical_data-members.html b/docs/doxygen/html/struct_inductor_electrical_data-members.html new file mode 100644 index 0000000..e767fed --- /dev/null +++ b/docs/doxygen/html/struct_inductor_electrical_data-members.html @@ -0,0 +1,82 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
InductorElectricalData Member List
+
+
+ +

This is the complete list of members for InductorElectricalData, including all inherited members.

+ + + + +
name (defined in InductorElectricalData)InductorElectricalData
reactivePower (defined in InductorElectricalData)InductorElectricalData
reactivePowerUnit (defined in InductorElectricalData)InductorElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_inductor_electrical_data.html b/docs/doxygen/html/struct_inductor_electrical_data.html new file mode 100644 index 0000000..9c0dc59 --- /dev/null +++ b/docs/doxygen/html/struct_inductor_electrical_data.html @@ -0,0 +1,95 @@ + + + + + + + +PSP-UFU: InductorElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
InductorElectricalData Struct Reference
+
+
+ + + + + + + + +

+Public Attributes

+wxString name
 
+double reactivePower = 100.0
 
+ElectricalUnit reactivePowerUnit = UNIT_MVAr
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_integration_constant-members.html b/docs/doxygen/html/struct_integration_constant-members.html new file mode 100644 index 0000000..b34e550 --- /dev/null +++ b/docs/doxygen/html/struct_integration_constant-members.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
IntegrationConstant Member List
+
+
+ +

This is the complete list of members for IntegrationConstant, including all inherited members.

+ + + +
cIntegrationConstant
mIntegrationConstant
+ + + + diff --git a/docs/doxygen/html/struct_integration_constant.html b/docs/doxygen/html/struct_integration_constant.html new file mode 100644 index 0000000..09dd234 --- /dev/null +++ b/docs/doxygen/html/struct_integration_constant.html @@ -0,0 +1,126 @@ + + + + + + + +PSP-UFU: IntegrationConstant Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
IntegrationConstant Class Reference
+
+
+ +

#include <PowerElement.h>

+ + + + + + +

+Public Attributes

double c
 
double m
 
+

Detailed Description

+
Author
Thales Lima Oliveira
+
Date
24/05/2017
+

Member Data Documentation

+ +

◆ c

+ +
+
+ + + + +
double IntegrationConstant::c
+
+

C value

+ +
+
+ +

◆ m

+ +
+
+ + + + +
double IntegrationConstant::m
+
+

M value

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_line_electrical_data-members.html b/docs/doxygen/html/struct_line_electrical_data-members.html new file mode 100644 index 0000000..366e4ea --- /dev/null +++ b/docs/doxygen/html/struct_line_electrical_data-members.html @@ -0,0 +1,98 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LineElectricalData Member List
+
+
+ +

This is the complete list of members for LineElectricalData, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + +
capSusceptance (defined in LineElectricalData)LineElectricalData
capSusceptanceUnit (defined in LineElectricalData)LineElectricalData
current (defined in LineElectricalData)LineElectricalData
faultCurrent (defined in LineElectricalData)LineElectricalData
indReactance (defined in LineElectricalData)LineElectricalData
indReactanceUnit (defined in LineElectricalData)LineElectricalData
lineSize (defined in LineElectricalData)LineElectricalData
name (defined in LineElectricalData)LineElectricalData
nominalPower (defined in LineElectricalData)LineElectricalData
nominalPowerUnit (defined in LineElectricalData)LineElectricalData
nominalVoltage (defined in LineElectricalData)LineElectricalData
nominalVoltageUnit (defined in LineElectricalData)LineElectricalData
powerFlow (defined in LineElectricalData)LineElectricalData
resistance (defined in LineElectricalData)LineElectricalData
resistanceUnit (defined in LineElectricalData)LineElectricalData
useLinePower (defined in LineElectricalData)LineElectricalData
zeroCapSusceptance (defined in LineElectricalData)LineElectricalData
zeroIndReactance (defined in LineElectricalData)LineElectricalData
zeroResistance (defined in LineElectricalData)LineElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_line_electrical_data.html b/docs/doxygen/html/struct_line_electrical_data.html new file mode 100644 index 0000000..ac6d2e6 --- /dev/null +++ b/docs/doxygen/html/struct_line_electrical_data.html @@ -0,0 +1,143 @@ + + + + + + + +PSP-UFU: LineElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LineElectricalData Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+wxString name = ""
 
+double nominalVoltage = 138.0
 
+ElectricalUnit nominalVoltageUnit = UNIT_kV
 
+double nominalPower = 100.0
 
+ElectricalUnit nominalPowerUnit = UNIT_MVA
 
+double resistance = 0.0
 
+ElectricalUnit resistanceUnit = UNIT_PU
 
+double indReactance = 1.0
 
+ElectricalUnit indReactanceUnit = UNIT_PU
 
+double capSusceptance = 0.0
 
+ElectricalUnit capSusceptanceUnit = UNIT_PU
 
+double lineSize = 100.0
 
+bool useLinePower = false
 
+std::complex< double > current [2] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0)}
 
+std::complex< double > powerFlow [2] = {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0)}
 
+double zeroResistance = 0.0
 
+double zeroIndReactance = 1.0
 
+double zeroCapSusceptance = 0.0
 
+std::complex< double > faultCurrent [2][3]
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_load_electrical_data-members.html b/docs/doxygen/html/struct_load_electrical_data-members.html new file mode 100644 index 0000000..61a39f7 --- /dev/null +++ b/docs/doxygen/html/struct_load_electrical_data-members.html @@ -0,0 +1,85 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
LoadElectricalData Member List
+
+
+ +

This is the complete list of members for LoadElectricalData, including all inherited members.

+ + + + + + + +
activePower (defined in LoadElectricalData)LoadElectricalData
activePowerUnit (defined in LoadElectricalData)LoadElectricalData
loadType (defined in LoadElectricalData)LoadElectricalData
name (defined in LoadElectricalData)LoadElectricalData
reactivePower (defined in LoadElectricalData)LoadElectricalData
reactivePowerUnit (defined in LoadElectricalData)LoadElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_load_electrical_data.html b/docs/doxygen/html/struct_load_electrical_data.html new file mode 100644 index 0000000..3d47543 --- /dev/null +++ b/docs/doxygen/html/struct_load_electrical_data.html @@ -0,0 +1,104 @@ + + + + + + + +PSP-UFU: LoadElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
LoadElectricalData Struct Reference
+
+
+ + + + + + + + + + + + + + +

+Public Attributes

+wxString name
 
+double activePower = 100.0
 
+ElectricalUnit activePowerUnit = UNIT_MW
 
+double reactivePower = 0.0
 
+ElectricalUnit reactivePowerUnit = UNIT_MVAr
 
+LoadType loadType = CONST_POWER
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_reactive_limits-members.html b/docs/doxygen/html/struct_reactive_limits-members.html new file mode 100644 index 0000000..1605c34 --- /dev/null +++ b/docs/doxygen/html/struct_reactive_limits-members.html @@ -0,0 +1,84 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
ReactiveLimits Member List
+
+
+ +

This is the complete list of members for ReactiveLimits, including all inherited members.

+ + + + + + +
limitReached (defined in ReactiveLimits)ReactiveLimits
maxLimit (defined in ReactiveLimits)ReactiveLimits
maxLimitType (defined in ReactiveLimits)ReactiveLimits
minLimit (defined in ReactiveLimits)ReactiveLimits
minLimitType (defined in ReactiveLimits)ReactiveLimits
+ + + + diff --git a/docs/doxygen/html/struct_reactive_limits.html b/docs/doxygen/html/struct_reactive_limits.html new file mode 100644 index 0000000..63dd055 --- /dev/null +++ b/docs/doxygen/html/struct_reactive_limits.html @@ -0,0 +1,101 @@ + + + + + + + +PSP-UFU: ReactiveLimits Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
ReactiveLimits Struct Reference
+
+
+ + + + + + + + + + + + +

+Public Attributes

+double maxLimit = 0.0
 
+double minLimit = 0.0
 
+ReactiveLimitsType maxLimitType = RL_UNLIMITED
 
+ReactiveLimitsType minLimitType = RL_UNLIMITED
 
+ReactiveLimitsType limitReached = RL_NONE_REACHED
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_simulation_data-members.html b/docs/doxygen/html/struct_simulation_data-members.html new file mode 100644 index 0000000..df3122f --- /dev/null +++ b/docs/doxygen/html/struct_simulation_data-members.html @@ -0,0 +1,95 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SimulationData Member List
+
+
+ +

This is the complete list of members for SimulationData, including all inherited members.

+ + + + + + + + + + + + + + + + + +
accFator (defined in SimulationData)SimulationData
basePower (defined in SimulationData)SimulationData
basePowerUnit (defined in SimulationData)SimulationData
controlTimeStepRatio (defined in SimulationData)SimulationData
faultAfterPowerFlow (defined in SimulationData)SimulationData
plotTime (defined in SimulationData)SimulationData
powerFlowMaxIterations (defined in SimulationData)SimulationData
powerFlowMethod (defined in SimulationData)SimulationData
powerFlowTolerance (defined in SimulationData)SimulationData
scPowerAfterPowerFlow (defined in SimulationData)SimulationData
stabilityFrequency (defined in SimulationData)SimulationData
stabilityMaxIterations (defined in SimulationData)SimulationData
stabilitySimulationTime (defined in SimulationData)SimulationData
stabilityTolerance (defined in SimulationData)SimulationData
timeStep (defined in SimulationData)SimulationData
useCOI (defined in SimulationData)SimulationData
+ + + + diff --git a/docs/doxygen/html/struct_simulation_data.html b/docs/doxygen/html/struct_simulation_data.html new file mode 100644 index 0000000..43cdd0e --- /dev/null +++ b/docs/doxygen/html/struct_simulation_data.html @@ -0,0 +1,134 @@ + + + + + + + +PSP-UFU: SimulationData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SimulationData Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+double basePower = 100.0
 
+ElectricalUnit basePowerUnit = UNIT_MVA
 
+bool faultAfterPowerFlow = true
 
+bool scPowerAfterPowerFlow = true
 
+PowerFlowMethod powerFlowMethod = GAUSS_SEIDEL
 
+double accFator = 1.0
 
+double powerFlowTolerance = 1e-7
 
+int powerFlowMaxIterations = 5000
 
+double stabilityFrequency = 60.0
 
+double timeStep = 1e-2
 
+double stabilitySimulationTime = 10.0
 
+double stabilityTolerance = 1e-8
 
+int stabilityMaxIterations = 100
 
+int controlTimeStepRatio = 10
 
+double plotTime = 1e-2
 
+bool useCOI = true
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_switching_data-members.html b/docs/doxygen/html/struct_switching_data-members.html new file mode 100644 index 0000000..afeeb64 --- /dev/null +++ b/docs/doxygen/html/struct_switching_data-members.html @@ -0,0 +1,81 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SwitchingData Member List
+
+
+ +

This is the complete list of members for SwitchingData, including all inherited members.

+ + + +
swTimeSwitchingData
swTypeSwitchingData
+ + + + diff --git a/docs/doxygen/html/struct_switching_data.html b/docs/doxygen/html/struct_switching_data.html new file mode 100644 index 0000000..b8bd908 --- /dev/null +++ b/docs/doxygen/html/struct_switching_data.html @@ -0,0 +1,126 @@ + + + + + + + +PSP-UFU: SwitchingData Class Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SwitchingData Class Reference
+
+
+ +

#include <PowerElement.h>

+ + + + + + +

+Public Attributes

std::vector< SwitchingTypeswType
 
std::vector< double > swTime
 
+

Detailed Description

+
Author
Thales Lima Oliveira
+
Date
18/01/2017
+

Member Data Documentation

+ +

◆ swTime

+ +
+
+ + + + +
std::vector<double> SwitchingData::swTime
+
+

Time of switching

+ +
+
+ +

◆ swType

+ +
+
+ + + + +
std::vector<SwitchingType> SwitchingData::swType
+
+

Type of switching

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_sync_generator_electrical_data-members.html b/docs/doxygen/html/struct_sync_generator_electrical_data-members.html new file mode 100644 index 0000000..49088f0 --- /dev/null +++ b/docs/doxygen/html/struct_sync_generator_electrical_data-members.html @@ -0,0 +1,155 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SyncGeneratorElectricalData Member List
+
+
+ +

This is the complete list of members for SyncGeneratorElectricalData, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
activePower (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
activePowerUnit (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
armResistance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
avr (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
avrSolver (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
damping (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
delta (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
deltaVector (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
electricalPower (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
electricalPowerVector (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
faultCurrent (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
fieldVoltage (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
fieldVoltageVector (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
freqVector (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
groundNeutral (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
groundReactance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
groundResistance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
haveMaxReactive (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
haveMinReactive (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
icDelta (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
icSpeed (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
icSubEd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
icSubEq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
icTranEd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
icTranEq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
inertia (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
initialFieldVoltage (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
maxReactive (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
maxReactiveUnit (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
mechanicalPowerVector (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
minReactive (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
minReactiveUnit (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
model (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
name (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
negativeReactance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
negativeResistance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
nominalPower (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
nominalPowerUnit (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
nominalVoltage (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
nominalVoltageUnit (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
oldId (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
oldIq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
oldPe (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
pe (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
plotSyncMachine (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
pm (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
positiveReactance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
positiveResistance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
potierReactance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
reactivePower (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
reactivePowerUnit (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
satFactor (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
speed (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
speedGov (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
speedGovSolver (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
subEd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
subEq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
subTd0 (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
subTq0 (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
subXd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
subXq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
syncXd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
syncXq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
terminalVoltage (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
terminalVoltageVector (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
tranEd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
tranEq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
transTd0 (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
transTq0 (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
transXd (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
transXq (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
useAVR (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
useMachineBase (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
useSpeedGovernor (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
zeroReactance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
zeroResistance (defined in SyncGeneratorElectricalData)SyncGeneratorElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_sync_generator_electrical_data.html b/docs/doxygen/html/struct_sync_generator_electrical_data.html new file mode 100644 index 0000000..4daf6cd --- /dev/null +++ b/docs/doxygen/html/struct_sync_generator_electrical_data.html @@ -0,0 +1,328 @@ + + + + + + + +PSP-UFU: SyncGeneratorElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SyncGeneratorElectricalData Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+wxString name = ""
 
+double nominalPower = 100.0
 
+ElectricalUnit nominalPowerUnit = UNIT_MVA
 
+double nominalVoltage = 13.8
 
+ElectricalUnit nominalVoltageUnit = UNIT_kV
 
+double activePower = 100.0
 
+ElectricalUnit activePowerUnit = UNIT_MW
 
+double reactivePower = 0.0
 
+ElectricalUnit reactivePowerUnit = UNIT_MVAr
 
+bool haveMaxReactive = false
 
+double maxReactive = 9999.0
 
+ElectricalUnit maxReactiveUnit = UNIT_MVAr
 
+bool haveMinReactive = false
 
+double minReactive = -9999.0
 
+ElectricalUnit minReactiveUnit = UNIT_MVAr
 
+bool useMachineBase = true
 
+double positiveResistance = 0.0
 
+double positiveReactance = 1.0
 
+double negativeResistance = 0.0
 
+double negativeReactance = 1.0
 
+double zeroResistance = 0.0
 
+double zeroReactance = 1.0
 
+double groundResistance = 0.0
 
+double groundReactance = 0.0
 
+bool groundNeutral = true
 
std::complex< double > faultCurrent [3]
 
+bool plotSyncMachine = false
 
+double inertia = 1.0
 
+double damping = 0.0
 
+bool useAVR = false
 
+bool useSpeedGovernor = false
 
+double armResistance = 0.0
 
+double potierReactance = 0.0
 
+double satFactor = 0.0
 
+double syncXd = 0.0
 
+double syncXq = 0.0
 
+double transXd = 1.0
 
+double transXq = 0.0
 
+double transTd0 = 0.0
 
+double transTq0 = 0.0
 
+double subXd = 0.0
 
+double subXq = 0.0
 
+double subTd0 = 0.0
 
+double subTq0 = 0.0
 
+std::complex< double > terminalVoltage
 
+std::vector< std::complex< double > > terminalVoltageVector
 
+std::complex< double > electricalPower
 
+std::vector< std::complex< double > > electricalPowerVector
 
+double pm
 
+std::vector< double > mechanicalPowerVector
 
+double speed
 
+std::vector< double > freqVector
 
+double fieldVoltage
 
+std::vector< double > fieldVoltageVector
 
+double delta
 
+std::vector< double > deltaVector
 
+double initialFieldVoltage
 
+double tranEq
 
+double tranEd
 
+double subEq
 
+double subEd
 
+double pe
 
+double oldId
 
+double oldIq
 
+double oldPe
 
+IntegrationConstant icSpeed
 
+IntegrationConstant icDelta
 
+IntegrationConstant icTranEq
 
+IntegrationConstant icTranEd
 
+IntegrationConstant icSubEq
 
+IntegrationConstant icSubEd
 
+ControlElementContaineravr = NULL
 
+ControlElementContainerspeedGov = NULL
 
+ControlElementSolveravrSolver = NULL
 
+ControlElementSolverspeedGovSolver = NULL
 
+Machines::SyncMachineModel model = Machines::SM_MODEL_1
 
+

Member Data Documentation

+ +

◆ faultCurrent

+ +
+
+ + + + +
std::complex<double> SyncGeneratorElectricalData::faultCurrent[3]
+
+Initial value:
= {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
std::complex<double>(0.0, 0.0)}
+
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_sync_motor_electrical_data-members.html b/docs/doxygen/html/struct_sync_motor_electrical_data-members.html new file mode 100644 index 0000000..f9216f0 --- /dev/null +++ b/docs/doxygen/html/struct_sync_motor_electrical_data-members.html @@ -0,0 +1,155 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
SyncMotorElectricalData Member List
+
+
+ +

This is the complete list of members for SyncMotorElectricalData, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
activePower (defined in SyncMotorElectricalData)SyncMotorElectricalData
activePowerUnit (defined in SyncMotorElectricalData)SyncMotorElectricalData
armResistance (defined in SyncMotorElectricalData)SyncMotorElectricalData
avr (defined in SyncMotorElectricalData)SyncMotorElectricalData
avrSolver (defined in SyncMotorElectricalData)SyncMotorElectricalData
damping (defined in SyncMotorElectricalData)SyncMotorElectricalData
delta (defined in SyncMotorElectricalData)SyncMotorElectricalData
deltaVector (defined in SyncMotorElectricalData)SyncMotorElectricalData
electricalPower (defined in SyncMotorElectricalData)SyncMotorElectricalData
electricalPowerVector (defined in SyncMotorElectricalData)SyncMotorElectricalData
faultCurrent (defined in SyncMotorElectricalData)SyncMotorElectricalData
fieldVoltage (defined in SyncMotorElectricalData)SyncMotorElectricalData
fieldVoltageVector (defined in SyncMotorElectricalData)SyncMotorElectricalData
freqVector (defined in SyncMotorElectricalData)SyncMotorElectricalData
groundNeutral (defined in SyncMotorElectricalData)SyncMotorElectricalData
groundReactance (defined in SyncMotorElectricalData)SyncMotorElectricalData
groundResistance (defined in SyncMotorElectricalData)SyncMotorElectricalData
haveMaxReactive (defined in SyncMotorElectricalData)SyncMotorElectricalData
haveMinReactive (defined in SyncMotorElectricalData)SyncMotorElectricalData
icDelta (defined in SyncMotorElectricalData)SyncMotorElectricalData
icSpeed (defined in SyncMotorElectricalData)SyncMotorElectricalData
icSubEd (defined in SyncMotorElectricalData)SyncMotorElectricalData
icSubEq (defined in SyncMotorElectricalData)SyncMotorElectricalData
icTranEd (defined in SyncMotorElectricalData)SyncMotorElectricalData
icTranEq (defined in SyncMotorElectricalData)SyncMotorElectricalData
inertia (defined in SyncMotorElectricalData)SyncMotorElectricalData
initialFieldVoltage (defined in SyncMotorElectricalData)SyncMotorElectricalData
maxReactive (defined in SyncMotorElectricalData)SyncMotorElectricalData
maxReactiveUnit (defined in SyncMotorElectricalData)SyncMotorElectricalData
mechanicalPowerVector (defined in SyncMotorElectricalData)SyncMotorElectricalData
minReactive (defined in SyncMotorElectricalData)SyncMotorElectricalData
minReactiveUnit (defined in SyncMotorElectricalData)SyncMotorElectricalData
model (defined in SyncMotorElectricalData)SyncMotorElectricalData
name (defined in SyncMotorElectricalData)SyncMotorElectricalData
negativeReactance (defined in SyncMotorElectricalData)SyncMotorElectricalData
negativeResistance (defined in SyncMotorElectricalData)SyncMotorElectricalData
nominalPower (defined in SyncMotorElectricalData)SyncMotorElectricalData
nominalPowerUnit (defined in SyncMotorElectricalData)SyncMotorElectricalData
nominalVoltage (defined in SyncMotorElectricalData)SyncMotorElectricalData
nominalVoltageUnit (defined in SyncMotorElectricalData)SyncMotorElectricalData
oldId (defined in SyncMotorElectricalData)SyncMotorElectricalData
oldIq (defined in SyncMotorElectricalData)SyncMotorElectricalData
oldPe (defined in SyncMotorElectricalData)SyncMotorElectricalData
pe (defined in SyncMotorElectricalData)SyncMotorElectricalData
plotSyncMachine (defined in SyncMotorElectricalData)SyncMotorElectricalData
pm (defined in SyncMotorElectricalData)SyncMotorElectricalData
positiveReactance (defined in SyncMotorElectricalData)SyncMotorElectricalData
positiveResistance (defined in SyncMotorElectricalData)SyncMotorElectricalData
potierReactance (defined in SyncMotorElectricalData)SyncMotorElectricalData
reactivePower (defined in SyncMotorElectricalData)SyncMotorElectricalData
reactivePowerUnit (defined in SyncMotorElectricalData)SyncMotorElectricalData
satFactor (defined in SyncMotorElectricalData)SyncMotorElectricalData
speed (defined in SyncMotorElectricalData)SyncMotorElectricalData
speedGov (defined in SyncMotorElectricalData)SyncMotorElectricalData
speedGovSolver (defined in SyncMotorElectricalData)SyncMotorElectricalData
subEd (defined in SyncMotorElectricalData)SyncMotorElectricalData
subEq (defined in SyncMotorElectricalData)SyncMotorElectricalData
subTd0 (defined in SyncMotorElectricalData)SyncMotorElectricalData
subTq0 (defined in SyncMotorElectricalData)SyncMotorElectricalData
subXd (defined in SyncMotorElectricalData)SyncMotorElectricalData
subXq (defined in SyncMotorElectricalData)SyncMotorElectricalData
syncXd (defined in SyncMotorElectricalData)SyncMotorElectricalData
syncXq (defined in SyncMotorElectricalData)SyncMotorElectricalData
terminalVoltage (defined in SyncMotorElectricalData)SyncMotorElectricalData
terminalVoltageVector (defined in SyncMotorElectricalData)SyncMotorElectricalData
tranEd (defined in SyncMotorElectricalData)SyncMotorElectricalData
tranEq (defined in SyncMotorElectricalData)SyncMotorElectricalData
transTd0 (defined in SyncMotorElectricalData)SyncMotorElectricalData
transTq0 (defined in SyncMotorElectricalData)SyncMotorElectricalData
transXd (defined in SyncMotorElectricalData)SyncMotorElectricalData
transXq (defined in SyncMotorElectricalData)SyncMotorElectricalData
useAVR (defined in SyncMotorElectricalData)SyncMotorElectricalData
useMachineBase (defined in SyncMotorElectricalData)SyncMotorElectricalData
useSpeedGovernor (defined in SyncMotorElectricalData)SyncMotorElectricalData
zeroReactance (defined in SyncMotorElectricalData)SyncMotorElectricalData
zeroResistance (defined in SyncMotorElectricalData)SyncMotorElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_sync_motor_electrical_data.html b/docs/doxygen/html/struct_sync_motor_electrical_data.html new file mode 100644 index 0000000..db64b8d --- /dev/null +++ b/docs/doxygen/html/struct_sync_motor_electrical_data.html @@ -0,0 +1,328 @@ + + + + + + + +PSP-UFU: SyncMotorElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
SyncMotorElectricalData Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+wxString name = ""
 
+double nominalPower = 100.0
 
+ElectricalUnit nominalPowerUnit = UNIT_MVA
 
+double nominalVoltage = 13.8
 
+ElectricalUnit nominalVoltageUnit = UNIT_kV
 
+double activePower = 100.0
 
+ElectricalUnit activePowerUnit = UNIT_MW
 
+double reactivePower = 0.0
 
+ElectricalUnit reactivePowerUnit = UNIT_MVAr
 
+bool haveMaxReactive = false
 
+double maxReactive = 9999.0
 
+ElectricalUnit maxReactiveUnit = UNIT_MVAr
 
+bool haveMinReactive = false
 
+double minReactive = -9999.0
 
+ElectricalUnit minReactiveUnit = UNIT_MVAr
 
+bool useMachineBase = true
 
+double positiveResistance = 0.0
 
+double positiveReactance = 1.0
 
+double negativeResistance = 0.0
 
+double negativeReactance = 1.0
 
+double zeroResistance = 0.0
 
+double zeroReactance = 1.0
 
+double groundResistance = 0.0
 
+double groundReactance = 0.0
 
+bool groundNeutral = true
 
std::complex< double > faultCurrent [3]
 
+bool plotSyncMachine = false
 
+double inertia = 1.0
 
+double damping = 0.0
 
+bool useAVR = false
 
+bool useSpeedGovernor = false
 
+double armResistance = 0.0
 
+double potierReactance = 0.0
 
+double satFactor = 0.0
 
+double syncXd = 0.0
 
+double syncXq = 0.0
 
+double transXd = 1.0
 
+double transXq = 0.0
 
+double transTd0 = 0.0
 
+double transTq0 = 0.0
 
+double subXd = 0.0
 
+double subXq = 0.0
 
+double subTd0 = 0.0
 
+double subTq0 = 0.0
 
+std::complex< double > terminalVoltage
 
+std::vector< std::complex< double > > terminalVoltageVector
 
+std::complex< double > electricalPower
 
+std::vector< std::complex< double > > electricalPowerVector
 
+double pm
 
+std::vector< double > mechanicalPowerVector
 
+double speed
 
+std::vector< double > freqVector
 
+double fieldVoltage
 
+std::vector< double > fieldVoltageVector
 
+double delta
 
+std::vector< double > deltaVector
 
+double initialFieldVoltage
 
+double tranEq
 
+double tranEd
 
+double subEq
 
+double subEd
 
+double pe
 
+double oldId
 
+double oldIq
 
+double oldPe
 
+IntegrationConstant icSpeed
 
+IntegrationConstant icDelta
 
+IntegrationConstant icTranEq
 
+IntegrationConstant icTranEd
 
+IntegrationConstant icSubEq
 
+IntegrationConstant icSubEd
 
+ControlElementContaineravr = NULL
 
+ControlElementContainerspeedGov = NULL
 
+ControlElementSolveravrSolver = NULL
 
+ControlElementSolverspeedGovSolver = NULL
 
+Machines::SyncMachineModel model = Machines::SM_MODEL_1
 
+

Member Data Documentation

+ +

◆ faultCurrent

+ +
+
+ + + + +
std::complex<double> SyncMotorElectricalData::faultCurrent[3]
+
+Initial value:
= {std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0),
std::complex<double>(0.0, 0.0)}
+
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_transfer_function_1_1_space_state-members.html b/docs/doxygen/html/struct_transfer_function_1_1_space_state-members.html new file mode 100644 index 0000000..7aaa6b6 --- /dev/null +++ b/docs/doxygen/html/struct_transfer_function_1_1_space_state-members.html @@ -0,0 +1,87 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
TransferFunction::SpaceState Member List
+
+ + + + + diff --git a/docs/doxygen/html/struct_transfer_function_1_1_space_state.html b/docs/doxygen/html/struct_transfer_function_1_1_space_state.html new file mode 100644 index 0000000..138035c --- /dev/null +++ b/docs/doxygen/html/struct_transfer_function_1_1_space_state.html @@ -0,0 +1,102 @@ + + + + + + + +PSP-UFU: TransferFunction::SpaceState Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
TransferFunction::SpaceState Struct Reference
+
+
+ + + + + + + + + + +

+Public Attributes

+std::vector< std::vector< double > > A
 
+std::vector< double > B
 
+std::vector< double > C
 
+double D
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/struct_transformer_electrical_data-members.html b/docs/doxygen/html/struct_transformer_electrical_data-members.html new file mode 100644 index 0000000..842bb64 --- /dev/null +++ b/docs/doxygen/html/struct_transformer_electrical_data-members.html @@ -0,0 +1,104 @@ + + + + + + + +PSP-UFU: Member List + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+
+
TransformerElectricalData Member List
+
+
+ +

This is the complete list of members for TransformerElectricalData, including all inherited members.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
baseVoltage (defined in TransformerElectricalData)TransformerElectricalData
connection (defined in TransformerElectricalData)TransformerElectricalData
current (defined in TransformerElectricalData)TransformerElectricalData
faultCurrent (defined in TransformerElectricalData)TransformerElectricalData
indReactance (defined in TransformerElectricalData)TransformerElectricalData
indReactanceUnit (defined in TransformerElectricalData)TransformerElectricalData
name (defined in TransformerElectricalData)TransformerElectricalData
nominalPower (defined in TransformerElectricalData)TransformerElectricalData
nominalPowerUnit (defined in TransformerElectricalData)TransformerElectricalData
phaseShift (defined in TransformerElectricalData)TransformerElectricalData
powerFlow (defined in TransformerElectricalData)TransformerElectricalData
primaryGrndReactance (defined in TransformerElectricalData)TransformerElectricalData
primaryGrndResistance (defined in TransformerElectricalData)TransformerElectricalData
primaryNominalVoltage (defined in TransformerElectricalData)TransformerElectricalData
primaryNominalVoltageUnit (defined in TransformerElectricalData)TransformerElectricalData
resistance (defined in TransformerElectricalData)TransformerElectricalData
resistanceUnit (defined in TransformerElectricalData)TransformerElectricalData
secondaryGrndReactance (defined in TransformerElectricalData)TransformerElectricalData
secondaryGrndResistance (defined in TransformerElectricalData)TransformerElectricalData
secondaryNominalVoltage (defined in TransformerElectricalData)TransformerElectricalData
secondaryNominalVoltageUnit (defined in TransformerElectricalData)TransformerElectricalData
turnsRatio (defined in TransformerElectricalData)TransformerElectricalData
useTransformerPower (defined in TransformerElectricalData)TransformerElectricalData
zeroIndReactance (defined in TransformerElectricalData)TransformerElectricalData
zeroResistance (defined in TransformerElectricalData)TransformerElectricalData
+ + + + diff --git a/docs/doxygen/html/struct_transformer_electrical_data.html b/docs/doxygen/html/struct_transformer_electrical_data.html new file mode 100644 index 0000000..666c33d --- /dev/null +++ b/docs/doxygen/html/struct_transformer_electrical_data.html @@ -0,0 +1,161 @@ + + + + + + + +PSP-UFU: TransformerElectricalData Struct Reference + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ +
+
+ +
+
TransformerElectricalData Struct Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Public Attributes

+wxString name = ""
 
+double primaryNominalVoltage = 138.0
 
+ElectricalUnit primaryNominalVoltageUnit = UNIT_kV
 
+double secondaryNominalVoltage = 138.0
 
+ElectricalUnit secondaryNominalVoltageUnit = UNIT_kV
 
+int baseVoltage = 0
 
+double nominalPower = 100.0
 
+ElectricalUnit nominalPowerUnit = UNIT_MVA
 
+double resistance = 0.0
 
+ElectricalUnit resistanceUnit = UNIT_PU
 
+double indReactance = 1.0
 
+ElectricalUnit indReactanceUnit = UNIT_PU
 
+TransformerConnection connection = GWYE_GWYE
 
+double turnsRatio = 1.0
 
+double phaseShift = 0.0
 
+bool useTransformerPower = false
 
+std::complex< double > current [2] = { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0) }
 
+std::complex< double > powerFlow [2] = { std::complex<double>(0.0, 0.0), std::complex<double>(0.0, 0.0) }
 
+double zeroResistance = 0.0
 
+double zeroIndReactance = 1.0
 
+double primaryGrndResistance = 0.0
 
+double primaryGrndReactance = 0.0
 
+double secondaryGrndResistance = 0.0
 
+double secondaryGrndReactance = 0.0
 
+std::complex< double > faultCurrent [2][3]
 
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/docs/doxygen/html/sync_off.png b/docs/doxygen/html/sync_off.png new file mode 100644 index 0000000..3b443fc Binary files /dev/null and b/docs/doxygen/html/sync_off.png differ diff --git a/docs/doxygen/html/sync_on.png b/docs/doxygen/html/sync_on.png new file mode 100644 index 0000000..e08320f Binary files /dev/null and b/docs/doxygen/html/sync_on.png differ diff --git a/docs/doxygen/html/tab_a.png b/docs/doxygen/html/tab_a.png new file mode 100644 index 0000000..3b725c4 Binary files /dev/null and b/docs/doxygen/html/tab_a.png differ diff --git a/docs/doxygen/html/tab_b.png b/docs/doxygen/html/tab_b.png new file mode 100644 index 0000000..e2b4a86 Binary files /dev/null and b/docs/doxygen/html/tab_b.png differ diff --git a/docs/doxygen/html/tab_h.png b/docs/doxygen/html/tab_h.png new file mode 100644 index 0000000..fd5cb70 Binary files /dev/null and b/docs/doxygen/html/tab_h.png differ diff --git a/docs/doxygen/html/tab_s.png b/docs/doxygen/html/tab_s.png new file mode 100644 index 0000000..ab478c9 Binary files /dev/null and b/docs/doxygen/html/tab_s.png differ diff --git a/docs/doxygen/html/tabs.css b/docs/doxygen/html/tabs.css new file mode 100644 index 0000000..a28614b --- /dev/null +++ b/docs/doxygen/html/tabs.css @@ -0,0 +1 @@ +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#doc-content{overflow:auto;display:block;padding:0;margin:0;-webkit-overflow-scrolling:touch}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file diff --git a/docs/doxygen/html/wx_g_l_string_8h_source.html b/docs/doxygen/html/wx_g_l_string_8h_source.html new file mode 100644 index 0000000..af98f3b --- /dev/null +++ b/docs/doxygen/html/wx_g_l_string_8h_source.html @@ -0,0 +1,93 @@ + + + + + + + +PSP-UFU: Project/wxGLString.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
PSP-UFU +  2017w37a +
+
Power System Platform (UFU)
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
wxGLString.h
+
+
+
1 #ifndef _glstring_
2 #define _glstring_
3 
4 #ifdef __WXMAC__
5 #include "OpenGL/gl.h"
6 #else
7 #include <GL/gl.h>
8 #endif
9 
10 #include "wx/wx.h"
11 #include <vector>
12 
13 class TextTexture;
14 
20 {
21  friend class wxGLString;
22  friend class wxGLStringArray;
23  friend class wxGLStringNumber;
24 protected:
25 
26  double x,y, angle;
27  float xscale, yscale;
28  TextTexture* image = NULL;
29  bool xflip, yflip;
30 
31  float tex_coord_x1, tex_coord_y1;
32  float tex_coord_x2, tex_coord_y2;
33  int w, h, texw, texh;
34 
36  void setImage(TextTexture* image);
37  void move(double x, double y);
38 public:
39 
40  void render() const;
41 
43  void setFlip(bool x, bool y);
44 
46  void scale(float x, float y);
47 
49  void scale(float k);
50 
52  void rotate(int angle);
53 
55  int getWidth() const { return w; }
57  int getheight() const { return h; }
58 
59 };
60 
61 class wxGLStringArray;
62 
77 class wxGLString : public wxString, public TextGLDrawable
78 {
79 protected:
80  TextTexture* img = NULL;
81  wxFont font;
82 
83  friend class wxGLStringArray;
84 
85  void calculateSize(wxDC* dc, const bool ignore_font=false /* when from array */);
86  void consolidateFromArray(wxDC* dc, double x, double y);
87 public:
89  wxGLString();
91  wxGLString(wxString message);
92  virtual ~wxGLString();
93 
96  void bind() const;
97 
100  void setFont(wxFont font);
101 
105  virtual void consolidate(wxDC* dc);
106 
108  void render(const double x, const double y);
109 
111  void operator=(wxString& string);
112 };
113 
114 
129 {
130  int* number_location;
131  int space_w;
132 public:
134  virtual ~wxGLNumberRenderer();
135 
138  void consolidate(wxDC* dc);
139 
142  void renderNumber(wxString s, double x, double y);
144  void renderNumber(int i, double x, double y);
146  void renderNumber(float f, double x, double y);
147 };
148 
149 
169 {
170  std::vector<wxGLString> strings;
171  TextTexture* img = NULL;
172  wxFont font;
173 public:
175  wxGLStringArray();
177  wxGLStringArray(const wxString strings_arg[], int amount);
178  ~wxGLStringArray();
179 
181  wxGLString& get(const int id);
182 
185  void bind();
186 
189  void addString(wxString string);
190 
193  void setFont(wxFont font);
194 
198  void consolidate(wxDC* dc);
199 };
200 
201 
202 #endif
int getheight() const
Definition: wxGLString.h:57
+
void bind()
Definition: wxGLString.cpp:389
+
void rotate(int angle)
Definition: wxGLString.cpp:135
+
Definition: wxGLString.h:19
+
Definition: wxGLString.h:128
+
int getWidth() const
Definition: wxGLString.h:55
+
Definition: wxGLString.cpp:62
+
void setFont(wxFont font)
Definition: wxGLString.cpp:396
+
void scale(float x, float y)
Definition: wxGLString.cpp:122
+
void setFlip(bool x, bool y)
Definition: wxGLString.cpp:110
+
void consolidate(wxDC *dc)
Definition: wxGLString.cpp:397
+
Definition: wxGLString.h:168
+
Definition: wxGLString.h:77
+
+ + + + -- cgit