分析功率和能量
为了评估动力总成效率,您可以评估和报告组件级块和系统级参考应用程序的动力和能源。
这sereference applications include live scripts that analyze the energy consumption. After you open the reference applications, double-click分析功率和能量打开实时脚本。要生成能量报告,请选择跑。
植物模型块计算传输、存储的ed, and not transferred power. The blocks use the<一种href="//www.tatmou.com/help/autoblks/ref/poweraccountingbuscreator.html">电力会计巴士创建者记录实时脚本使用的电源信号。如果您在参考应用程序中使用自己的块,请添加
这live script provides:
An overall energy summary that the script exports to an Excel
®电子表格。Engine plant, electric plant, and drivetrain efficiencies, including an engine plant histogram of time spent at different efficiencies.
数据记录,以便您可以使用仿真数据检查器分析动力总成效率,功率和能量信号。
实时脚本
这live script uses the<一种href="//www.tatmou.com/help/autoblks/ref/autoblks.pwr.plantinfo.html">一种你toblks.pwr.PlantInfo
班级tot你rnondata logging, run the simulation, and report power and energy results. Before running the simulation, the script finds all of the
跑Simulation
运行模拟时,脚本会创建一种你toblks.pwr.PlantInfo
目的是分析模型能源和功耗。使用这些属性设置单位:
pwrUnits
EnrgyUnits
When the script creates the一种你toblks.pwr.PlantInfo
object, the constructor searches the model for
为了跟踪组件之间传输的功率,构造函数使用了定义的传输功率端口
为了计算效率,一种你toblks.pwr.PlantInfo
班级Eff
property implements this equation.
为了确定系统是否保守能量,iSenrgyanced
method checks the energy conservation at each time step. If the energy conservation error is within an error tolerance, the method returns true.
总结
总结提供了在组件和系统级别上存储的效率,能量损失,能源输入,能量输出和能量。摘要包括可以用来调查模型块和子系统的超链接。
脚本使用一种你toblks.pwr.PlantInfo
班级XLSSYSSUMMARY
method to export the analysis to an Excel spreadsheet.
plant Summary
该脚本提供发动机厂,电厂和动力传动系统的效率。具体而言,脚本包括信号能量和发动机效率直方图。
仿真数据检查器摘要
脚本包括一种你toblks.pwr.PlantInfo
班级sdiSummary
创建模拟数据检查器功率,能量和效率信号图的方法。
电源信号
这system-level power and energy accounting tests that the system satisfies the conservation of energy. If the component does not conserve energy, the live script issues warnings.
这
电源类型 | Description | Examples | |
---|---|---|---|
p |
转移 |
块之间传递的电源:
|
|
p |
未转移 |
越过块边界但不转移的动力:
|
|
p |
Stored |
存储的能源变化速率:
|
Energy rate of change:
|
电源信号满足该方程式。
为了节省能量,传输的功率信号总和必须接近零。
方程使用这些变量。
p |
转移的功率 |
p |
不转移电源 |
p |
Stored power |
p |
Input and output power logged by |
也可以看看
电力会计巴士创建者|一种你toblks.pwr.PlantInfo