ValueAtG

Computes the value of a signal f (t) when second signal, g (t), achieves a certain value.

Example

Assume that you wish to compute the steer angle difference in a suspension when the steering wheel angle is 10°.

The Steer Angle Difference for a suspension is defined as:

Steer Angle Difference = Yaw(Left-wheel) - Yaw(right-wheel)

= Yaw(33,22) - Yaw(55,44)

The steering wheel angle is defined as:

Steering Wheel Angle = AZ(77,66)

Here is a code snippet that will compute the steer angle difference when the steering wheel angle is 10°.
>>> val = ValueAtG (label   = "Steer Angle Difference at Zero Steering Wheel Angle",
                    fsignal = "RTOD* (YAW(33,22) - YAW(55,44))",
                    gsignal = "RTOD * AZ(77,66)",
                    gvalue  = 10,
                    delta   = 1e-1,
                   )
The calculation in ValueAtG is implemented for this example as:(1)
f(t)  = fsignal δ (t)  = Step (gsignal, gvalue-delta, 0, gvalue, 1) +          Step (gsignal, gvalue, 1, gvalue+Delta, 0) - 1 response =  t o t f f(t)  δ (t) dt t o t f δ (t) dt MathType@MTEF@5@5@+= feaagKart1ev2aqatCvAUfeBSjuyZL2yd9gzLbvyNv2Caerbd9MBZ9 gBHnharuavP1wzZbItLDhis9wBH5garmqr1ngBPrgitLxBI9gBaerb d9wDYLwzYbItLDharqqr1ngBPrgifHhDYfgasaacH8qrps0lbbf9q8 WrFfeuY=Hhbbf9v8qqaqFr0xc9pk0xbba9q8WqFfea0=yr0RYxir=J bba9q8aq0=yq=He9q8qqQ8frFve9Fve9Ff0dmeaacaGacmWadaWaai GacaabbiqafiaakqaabeqaaabbaaaaaG+acXwDLbWdbiaabAgacaqG OaGaaeiDaiaabMcacaqGGaGaaeiiaiaab2dacaqGGaGaaeOzaiaabo hacaqGPbGaae4zaiaab6gacaqGHbGaaeiBaaqaaiabes7aKjaabIca caqG0bGaaeykaiaabccacaqGGaGaaeypaiaabccacaqGtbGaaeiDai aabwgacaqGWbGaaeiiaiaabIcacaqGNbGaae4CaiaabMgacaqGNbGa aeOBaiaabggacaqGSbGaaeilaiaabccacaqGNbGaaeODaiaabggaca qGSbGaaeyDaiaabwgacaqGTaGaaeizaiaabwgacaqGSbGaaeiDaiaa bggacaqGSaGaaeiiaiaabcdacaqGSaGaaeiiaiaabEgacaqG2bGaae yyaiaabYgacaqG1bGaaeyzaiaabYcacaqGGaGaaeymaiaabMcacaqG GaGaae4kaiaabccaaeaacaqGGaGaaeiiaiaabccacaqGGaGaaeiiai aabccacaqGGaGaaeiiaiaabofacaqG0bGaaeyzaiaabchacaqGGaGa aeikaiaabEgacaqGZbGaaeyAaiaabEgacaqGUbGaaeyyaiaabYgaca qGSaGaaeiiaiaabEgacaqG2bGaaeyyaiaabYgacaqG1bGaaeyzaiaa bYcacaqGGaGaaeymaiaabYcacaqGGaGaae4zaiaabAhacaqGHbGaae iBaiaabwhacaqGLbGaae4kaiaabseacaqGLbGaaeiBaiaabshacaqG HbGaaeilaiaabccacaqGWaGaaeykaiaabccacaqGTaGaaeiiaiaabg daa8aabaWdbiaabkhacaqGLbGaae4CaiaabchacaqGVbGaaeOBaiaa bohacaqGLbGaaeiiaiaab2dacaqGGaWaaSaaaeaadaWdXbqaaiaabA gacaqGOaGaaeiDaiaabMcacaqGGaGaeqiTdqMaaeikaiaabshacaqG PaGaaeiiaiaabsgacaqG0baaleaacaWG0bGaam4Baaqaaiaadshaca WGMbaaniabgUIiYdaakeaadaWdXbqaaiabes7aKjaabIcacaqG0bGa aeykaiaabccacaqGKbGaaeiDaaWcbaGaamiDaiaad+gaaeaacaWG0b GaamOzaaqdcqGHRiI8aaaaaaaa@CA0F@