Home
  • Products
  • Solutions
  • Support
  • Company
  • Products
  • Solutions
  • Support
  • Company
Community PCB Design & IC Packaging (Allegro X) PSpice equation in pspice

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 23
  • Views 697
  • Members are here 0
More Content

equation in pspice

STAVEX
STAVEX 2 months ago

Hello and sorry for my English

I try to make a simulation for the rompe and weizel law , who has this equation:

  

The d=0.000766 and the a=0.00015

I try to simulate that with a G source and write the equation like that 

{0.000766/(SQRT(2*0.00015*(STD(PWR(I(R3),2)))))}

(STD because i saw that the integral in pspice is STD in a manual that i found)

but its an error, specifically :

ERROR -- Expression - use previously defined parameters only

What is wrong with that;

The I(R3) in the current from the all ready existing resistance.

  • Reply
  • Cancel
  • Cancel
  • AyushD
    0 AyushD 2 months ago

    The integral function is SDT() not STD() and if you want to use integral function in probe window, it is S()

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • STAVEX
    0 STAVEX 2 months ago in reply to AyushD

    Thank you very much for the response, I hadn't seen that I had written it wrong but even though I made the change you said, an error continues to appear.

    ERROR -- Expression - use previously defined parameters only

    The problem is probably with I(R3). I am also sending you the entire error.

    **** INCLUDING rlc2-SCHEMATIC1.net ****
    * source RLC2
    L_L3 N125269 N125489 54.8nH
    R_R1 N124840 N124728 300
    L_L1 0 N125107 2uH
    L_L2 N124728 N125269 6nH
    V_V2 N124487 0
    +PULSE 0 1 0n 0.1n 0.1n 0.5u 20m
    R_R3 N159887 N219115 255
    C_C4 N125107 N125489 3.3p
    C_C3 N125107 N125269 2.24p
    C_C2 0 N125107 10p
    V_V3 N137237 0
    +PULSE 0 1 0n 0.1n 0.1n 0.5u 20m
    V_V1 N124616 0 2000Vdc
    C_C1 0 N124840 150p
    G_G1 N219115 N218614 N218614 N125107 1
    X_S2 N137237 0 N125489 N152667 SCHEMATIC1_S2
    V_V4 N159887 N152667
    +PULSE 2000 0 0n 0.1n 0.1n 5u 20m
    R_R2 N125107 N218614 2.13
    X_S1 N124487 0 N124616 N124728 SCHEMATIC1_S1
    .PARAM I_INT={PWR(I(R3),2)} R_ark={0.000766/(SQRT(2*0.00015*(SDT(I_INT))))}
    --------------$
    ERROR -- Expression - use previously defined parameters only

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
  • oldmouldy
    0 oldmouldy 2 months ago in reply to STAVEX

    "Parameters can be constants, or expressions involving constants, or a combination of these, and they can include other parameters." So, Parameters cannot contain variables, hence the error.

    • Cancel
    • Up 0 Down
    • Reply
    • Verify Answer
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2023 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information