1.把负荷文件路径加入CIMParser中。

2.把变压器也处理成双端支路。

Signed-off-by: dmy@lab <dmy@lab.lab>
This commit is contained in:
dmy@lab
2015-01-20 13:19:28 +08:00
parent 07cfaef632
commit 8d5fcf9c95
12 changed files with 154 additions and 36 deletions

View File

@@ -24,4 +24,12 @@ void Transformer::extract()
this->g2=g0*length;
this->b1=b0*length;
this->b2=b0*length;
//解析负荷
}
PowerTransformer *Transformer::getTF()
{
return this->tf;
}

View File

@@ -4,10 +4,12 @@
#include <QPair>
#include "branch.h"
#include "./../powertransformer.h"
#include "./../loadmapping.h"
class Transformer:public Branch
{
public:
Transformer(const QPair<QString, QString> &fromTo, PowerTransformer *tf,QObject *parent=0);
PowerTransformer *getTF();
protected:
virtual void extract();
private: