1.把负荷文件路径加入CIMParser中。
2.把变压器也处理成双端支路。 Signed-off-by: dmy@lab <dmy@lab.lab>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user