Commit 1cb8d323 by dongshufeng

修改注释

parent 60e7c54b
......@@ -81,24 +81,27 @@
<th>ohm</th>
</table>
### 3.2 潮流已知量输入
#### 输入
- static_topo
### 3.2 潮流方程准备脚本
#### shunt_meas
需要输入以下两个表格
- terminal_cn_dev
- point_terminal_phase
- dev_topo
- shunt_meas: 如果想要输出tn_input,需要此项
#### 输出
- shunt_meas: 如果输入的边有static_topo,则输出下面几列
输出下面几列
<table>
<th>point</th>
<th>terminal</th>
<th>phase</th>
</table>
- tn_input: 如果输出的边是该名称,则输出下面几列
#### tn_input
需要输入以下两个表格
- dev_topo
- shunt_meas
输出下面几列
<table>
<th>tn</th>
<th>phase</th>
......
......@@ -92,6 +92,7 @@ pub unsafe fn run(ptr: i32, len: u32) -> u64 {
csv_bytes: vec![],
}
} else {
// 输出shunt_meas,需要的输入是terminal_cn_dev,point_terminal_phase
if with_static {
let mut csv_str = String::from("point,terminal,phase\n");
let type1 = PsRsrType::SyncGenerator as u16;
......@@ -146,6 +147,7 @@ pub unsafe fn run(ptr: i32, len: u32) -> u64 {
csv_bytes,
}
} else {
// 输出tn_input,需要的输入是:量测,dev_topo
let r1 = get_meas_from_plugin_input(&input);
if let Err(s) = &r1 {
error = Some(s.clone());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论