@@ -286,7 +286,7 @@ void CIMExporter::exportTo(const QString& path,const QString &rootID)
|
||||
ite++)
|
||||
{
|
||||
//保存到节点注入功率中
|
||||
nodePQ.push_back(CIMExporter::NodePQ(ite->toNum,-ite->dg->capacity,-ite->dg->capacity) );
|
||||
nodePQ.push_back(CIMExporter::NodePQ(ite->toNum,-ite->dg->capacity/100000,-ite->dg->capacity/100000) );
|
||||
// writer<<ite->fromNum<<"\t";
|
||||
// writer<<ite->toNum<<"\t";
|
||||
// writer<<ite->dg->capacity<<"\r\n";
|
||||
|
||||
@@ -15,7 +15,7 @@ void DG::extract()
|
||||
{
|
||||
//单位阻抗
|
||||
double r0=0;
|
||||
double x0=0.001;
|
||||
double x0=0.0001;
|
||||
double g0=0;
|
||||
double b0=0;
|
||||
this->r=r0;
|
||||
|
||||
@@ -24,10 +24,10 @@ void Line::extract()
|
||||
// std::cout<<"line length zeros "<<ac->getID().toStdString()<<std::endl;
|
||||
// }
|
||||
//单位阻抗
|
||||
double rn0=0.0958;//单位电阻有名值
|
||||
double rn0=0.0958;//单位电阻有名值 欧姆/千米
|
||||
double xn0=0.0881;//单位电抗有名值
|
||||
double r0=rn0/(10.5*10.5/1000);//电压10.5kV,基准容量1MVA
|
||||
double x0=xn0/(10.5*10.5/1000);
|
||||
double r0=rn0/(10.5*10.5/1);//电压10.5kV,基准容量1MVA
|
||||
double x0=xn0/(10.5*10.5/1);
|
||||
double g0=0;
|
||||
double b0=0;
|
||||
this->r=r0*length/1000;//length的单位是米
|
||||
|
||||
Reference in New Issue
Block a user