jrive

210 Reputation

6 Badges

4 years, 268 days

MaplePrimes Activity


These are replies submitted by jrive

@tomleslie I appreciate the example you provided above.  I like the ladder syntax  for simple circuits because it makes it easy to find any mistakes.  But, I agree, for more complex circuits, I would probably use the Spice netlist format.

The example you provided covers a lot of the most common things that I typically use Maple for (filter design, frequency response, etc -- obtaining transfer functions and plotting frequency responses out.  Thank you  --it is a nice referene for me to  refer to going forward.

 

Thanks.

@tomleslie 

thank you for your help.  

What I was trying to do was pretty basic --solve the ladder network for the node voltages and then plot each node voltage as a function of the input.  I was having difficulties using or operating on the individual  results of solve (all the node votlages in the variable sol) --basically what you are doing in the eval statements --I eventually figured it out.
 

Download pi_network_anal.mw

In your solution example, where/how do you substitute j*w for s and solve for the magnitude and or phase?  I don't understand what you're plotting.

Thanks again - your example helps me familiarize myself more with Syrup and how to do things in different ways 

@Joe Riel 

Thank you...got it working.

 

@Joe Riel Hello,

I'm trying to use Syrup and I'm having trouble figuring out how to use the results from Solve.  i was able to do it once, but I deleted it ,and cna't figure it out again! ugh!


 

after I solve the ckt using (sol,rest):=Solve(Ckt,'returnall'), I get all the node voltages on variable sol.

Download pi_filter_syrup_anal.mw

I then want to extract each node voltage, evaluate it substituting  s=j*2*pi*f, f=13.56e6, and plot a few of these on the same plot.  I can't figure out how to grab v2, for example, and evaluate it.  I've tried :

 

eval(subs(s=j*2*pi*f,sol[v2]), eval(subs(s=j*2*pi*f*v(v2))), etc...but can't get any of them to work.

BTW, I can't seem to import links to the code on here.   I used to be able, but now I can't ; I don't know what has changed...I get this error :

Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/pi_filter_syrup_anal.mw .

 

Thank you in advance for any help.

Jorge

 

 

 

 

 

 

 

 

@Joe Riel How do I install the package? from the Intro.mw, it says, "

Installation
Execute the following command to install Syrup.
PackageTools:-Install("this://",'overwrite')
:

 

but I get an error "Error,  (in PackageTools:-Install) cannot find package file," 

I suspect "this" should be something else - I tried Syrup, but it didn't work.  

I apologize if these are stupid questions --I'm pretty new to Maple...

 

Thank you  

@Joe Riel --I just downloaded it.  Very cool.  Thank you.

@tomleslie --yeah- I still struggle with the syntax.  Thank you.  I thought I had tried with and without, but anyway.  Thank you for your worksheet....

 

 

@Joe Riel , I am not familiar with it.  I will look into it --looks pretty intuitive.  Thank you!

 

@Carl Love  -- I appreciate the advice.  Can you give me an example of how you would have done it?

 

Thanks!

 

@acer  --I  was disliking the position dependency of indets.  I'll give what you suggest a shot.

Thank you.

@Carl Love  thanks for your help.  Not sure how it works, but "parametric" did the trick.

 

Thanks!

Jorge

 

@acer --this is exactly what I wanted to do.  Great.  - and thanks for raising my awareness about potential roundoff erros due to the combinations of large and small values.

Thank you.

@acer thank you again.!  Let me see if I cna follow what you did in the worksheet....

 

@acer did you mean to attach the  variants you mentioned?

@acer  -- I have a lot of learning to do!

 

Thank you!

Jorge

 

1 2 3 4 5 Page 4 of 5