+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 2
    Points: 18, Level: 1

    Join Date
    Apr 2013
    Posts
    2
    Helped
    0 / 0
    Points
    18
    Level
    1

    Repeat a component in netlist and making an array-like component (H-SPICE)

    Dear all,
    I want to repeat a RC component and attach them together to make a larger component. As a matter of fact, I want to simulate a transmission line. I know that there is a tline component in hspice,but I want to build it myself with R and C components. How can I repeat RC component in large number?

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 50,045, Level: 54
    Achievements:
    7 years registered
    keith1200rs's Avatar
    Join Date
    Oct 2009
    Location
    Yorkshire, UK
    Posts
    10,877
    Helped
    2075 / 2075
    Points
    50,045
    Level
    54

    Re: Repeat a component in netlist and making an array-like component

    Use a subcircuit with your RLC in it. Then use maybe 10 of those to create another subcircuit. Using nested subcircuits in that way you will easily be able to use hundreds of the original RLC network with a few subcircuit statements.

    Keith
    I started life with nothing and I've still got most of it left. (Seasick Steve)


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Newbie level 2
    Points: 18, Level: 1

    Join Date
    Apr 2013
    Posts
    2
    Helped
    0 / 0
    Points
    18
    Level
    1

    Re: Repeat a component in netlist and making an array-like component

    Quote Originally Posted by keith1200rs View Post
    Use a subcircuit with your RLC in it. Then use maybe 10 of those to create another subcircuit. Using nested subcircuits in that way you will easily be able to use hundreds of the original RLC network with a few subcircuit statements.

    Keith
    Thanks Keith,
    I know that, but I want more easy way. An easy way to make an array with thousands of RC component.



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 50,045, Level: 54
    Achievements:
    7 years registered
    keith1200rs's Avatar
    Join Date
    Oct 2009
    Location
    Yorkshire, UK
    Posts
    10,877
    Helped
    2075 / 2075
    Points
    50,045
    Level
    54

    Re: Repeat a component in netlist and making an array-like component

    It is a pretty easy method - I have used it for sub-circuits with 10,000 or more devices.

    Keith
    I started life with nothing and I've still got most of it left. (Seasick Steve)



--[[ ]]--