当前位置: 首页> 汽车> 报价 > Amesim-帮助文件翻译与总结-重要元件之fofx(函数)

Amesim-帮助文件翻译与总结-重要元件之fofx(函数)

时间:2025/7/11 15:15:33来源:https://blog.csdn.net/2201_75375391/article/details/141276297 浏览次数: 0次

01 fofx介绍

The fstr parameter can contain an expression referring to x or to global parameters.

fstr 参数可以包含引用 x 或全局参数的表达式。

The list of operators and basic functions that can be used in the expression is available in the documentation of the utility function CheckExpression. At the start of the simulation run the prescribed function is checked. If errors are detected, the simulation run is stopped.

可以在表达式中使用的运算符和基本函数列表可在实用进程函数 CheckExpression 的文档中找到。在模拟运行开始时,将检查规定的功能。如果检测到错误,则停止模拟运行。

The outputtype parameter offers the choice to evaluate either the value of the function f(x), or its derivative df/dx. The derivative is obtained by symbolic differentiation of the expression, processed at the beginning of the simulation.

outputtype 参数提供了计算函数 f(x) 或其导数 df/dx 的值的选项。导数是通过表达式的符号微分获得的,在模拟开始时进行处理。

The discontinuity handling mechanism applied during the evaluation of the expression can be disabled with the disc parameter. This can sometimes be helpful in case of oscillations of the input signal around a value triggering the way the expression is handled (e.g.min(x, 0) with x around 0).

在计算表达式期间应用的不连续性处理机制可以使用 disc 参数禁用。如果输入信号围绕触发表达式处理方式的值振荡,这有时很有帮助(例如,min(x, 0),x 在 0 附近)。

02 操作步骤

To enter a mathematical function in the input box, select a function in the Mathematical functions list on the Functions and operators tab.

要在输入框中输入数学函数,请在函数和运算符选项卡的数学函数列表中选择一个函数。

Double-click on the mathematical function:

双击数学函数:

The mathematical function is placed in the input box.

数学函数放在输入框中。

Note:

注意:

You can also use the auto-completion facility to help you enter functions in the input box, as described below.

您还可以使用自动完成功能来帮助您在输入框中输入函数,如下所述。

Enter one or several values in the brackets.

在括号中输入一个或多个值。

You can select values in the Fundamental constants and Declared operands and constants tab lists by double-clicking on the values.

您可以通过双击值在“基本常量”和“声明的操作数和常量”选项卡列表中选择值。

If necessary complete the expression by selecting operators and functions in the two lists.

如有必要,通过在两个列表中选择运算符和函数来完成表达式。

When your expression is complete, click on the = button.

表达式完成后,单击 = 按钮。

The result is displayed in the grey box next to the = button.

结果显示在 = 按钮旁边的灰色框中。

Global parameters

全局参数

Simcenter Amesim will first check your expression. If it finds it is acceptable, it will enter the expression as a value of a parameter if you started the Expression editor from a Change Parameters dialog box.

Simcenter Amesim 将首先检查您的表达式。如果它发现它是可接受的,并且从“更改参数”对话框启动表达式编辑器,它将输入表达式作为参数的值。

03 小结

如上所述,Function的简介与应用。该元件在实际应用中是不可缺少的元件,非常重要。掌握该元件的使用方法后,其fofxy与foxyz的使用方法一致。

该文基于Amesim2304编制

关键字:Amesim-帮助文件翻译与总结-重要元件之fofx(函数)

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: