DeviationSquared

Model ElementDeviationSquared

クラス名

DeviationSquared

説明

DeviationSquaredは、次の値を計算します:(1)

ここで:

は、ValueAtTime応答の値です。

は、目標値です。

は、関数での誤差です。

関数は、他の応答によって計算されます。

属性の概要

名前 プロパティ コマンドで変更可能か 設計可能か
label Str ()    
measuredValue Response ()  
targetValue Double ()    
scale Double (1)    

使用法

DeviationSquared of a particular response from a target value
DeviationSquared (measuredValue=expressionString, targetValue= double, optional_attributes)

属性

measuredValue
タイプValueAtTimeの応答。
偏差を測定するValueAtTime応答。
measuredValueは必須です。
targetValue
Double ()
応答のターゲット値。
targetValueは必須です。
オプション属性
label
文字列
DeviationSquaredオブジェクトの名前を指定します。
この属性は省略可能です。指定しない場合は、MotionSolveが代わりにラベルを作成します。
scale
倍精度
DeviationSquared値をスケーリングするためのスケールファクターを指定します。指定しない場合は、デフォルトで1.0になります。
この属性は省略可能です。

例:

# Deviation of the signal DX(22,11,33) at time=2 seconds from a desired value of 4.0

# Compute the ValuaAtTime response
f = ValueAtTime (label="DX@2", atTime=2, delta=0.1)

# Normalized deviation of the signal from 4
s = DeviationSquared (label="Error_in_DX@2", measuredValue=f, targetValue=4)

コメント

  1. プロパティの概要、使用理由、および拡張方法については、プロパティをご参照ください。