- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
c语言牛拉法潮流(C language cow rafa tide)
c语言牛拉法潮流(C language cow rafa tide)
I would like to recommend to you a BBS, electric power research network. I am sure that you will be familiar with it. Please click on it. Thank you
/? From user = jcxx01, there is no other purpose, because its hard to earn points in the research network, I just want to earn points
# include stdio, h
# include stdlib. H
H # include math.h
# define PI (3.14159)
/ / node parameter structure
Struct NodeType
{
Int N; / / node number
The int Type. / / node type
Double e; / / voltage amplitude
Double f; / / voltage phase Angle
Double Pd; / / load work
Double Qd. / / load no work
Double Ps; / / work is done
Double Qs. / / there is no work
Double Bc; / / the reactance value of the shunt capacitance
};
/ / branch parameter structure
Struct BranchType
{
Int Nbr; / / branch no.
Int Nl. / / the first node
Int Nr. / / small points
Double R; / / branch resistance
Double X; / / branch electric reactance
Double Bn; / / to the earth reactance
Double Kt. / / the branching ratio
};
/ / * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * global variable declaration * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Int n; / / the number of nodes
Int nPQ; / / PQ node number
Int nPV; / / number of PV nodes
Int NBR; / / the way
Int ng. / / generator table
Int Mark = 0; Whether the / / flag branch parameter has been converted
Double * * G; / / the G part of the admittance matrix
Double * * B; / / the admittance matrix B
Double * dS; / / power balance
Mid1, double * * mid2; / / an intermediate variable in the measurement of power inequality
Double * Us; / / voltage initial value
Double error = 1; / / error values
Double iteration = 0.000001; / / error accuracy
Double * * Jacob; / / the jacobian
Double * * invJac; The inverse of the jacobian matrix
Double * dfe; / / node voltage correction value
Struct NodeType * Node; / / the node parameter structure of the input time
Struct BranchType * Branc
您可能关注的文档
- 陈省身)(Chern)).doc
- 除衣服上的黑点(Except for the black spots on the clothes).doc
- 除斥期间(In addition to the period).doc
- 雾霾天气的危害与间质性肺炎的治疗方法有什么(What is the harm of haze weather and the treatment method of interstitial pneumonia).doc
- 餐饮职业经理人考试复习资料(Review materials for the catering professional managers).doc
- 餐饮业规划(Catering planning).doc
- 高一化学 简单分类法及其应用(High chemical simple classification and its application).doc
- 高一下学期化学练习一【永久免费】(Chemistry exercise 1 (permanent free)).doc
- 高一化学2(必修)第1章(原子结构与元素周期律)(Chemistry 2 (compulsory) chapter 1 (atomic structure and periodic law)).doc
- 高一化学离子方程式1(High chemical ion equation 1).doc
- C语言考题(C language examination questions).doc
- C语言试验题(C language test questions).doc
- dddlll(dddlll).doc
- DefaultFormatterFactory(DefaultFormatterFactory).doc
- dagang(大港).doc
- dfgh(dfgh).doc
- dfgdfgd(dfgdfgd).doc
- diskpart语法(Diskpart grammar).doc
- Disabled与Readonly区别(Disabled is different from Readonly).doc
- Delphi 三层架构开发基本概念介绍(Introduction to the basic concept of Delphi three-tier architecture).doc
文档评论(0)