data_str.h
来自「一种很好的潮流编程程序」· C头文件 代码 · 共 37 行
H
37 行
#include<string>
using namespace std;
struct Branch
{
int branch_number;
string start_node;
string end_node;
double branch_R;
double branch_X;
double branch_half_B;
double branch_trans;
};
struct Generator
{
int generator_number;
string belong_node;
double min_active;
double run_active;
double min_inactive;
double max_inactive;
};
struct Node
{
int node_number;
string node_name;
double voltage_class;
string node_type;
double active_load;
double inactive_load;
double initial_voltage;
double phase_angle;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?