Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

A tree search in Mathcad

A tree search in Mathcad

A tree search in Mathcad

I'm looking for a method of examining the nodes in an electric circuit and modifying some parameters associated with nodes which meet certain criteria.  Can anyone help?  I will have to do it via a little program obviously.  (I use Mathcad 2000 Professional).

The specific problem I have is to modify the voltage vector on all nodes "downstream" of a delta-star transformer, but only as far as the next transformer.  Any nodes beyond the next transformer will need the same treatment, but with that transformer's phase shift added.


RE: A tree search in Mathcad

It seems to me that a look in any elementary texts on data structures would find your answer, e.g. linked lists, btree etcs.  but MathCad is not reaaly built to handle this sort of data analysis - but I may be wrong so try the MatchCad collaboratory

RE: A tree search in Mathcad

Hi Bung,

Please present a short sample to understand better your question and perhaps I could help.

RE: A tree search in Mathcad

cuky2000 - let's say I have a circuit in which the nodes are numbered uniquely.  Transformers connect two nodes, and separate the network into areas with at a common voltage level.  A transformer shifts the voltage phase by some multiple of 30deg (three phase system).  I need to be able to track which nodes are connected to each other and are not separated by a transformer, so that I can apply the correct phase shift.

Example: nodes 1&2 are connected by a transformer.  Node 2 and all other nodes connected to it by any circuit element except a transformer have their voltage phasor shifted by lets say 30 degrees.  Let's say nodes 3,5, 8 and 9, are all connected to node 2, but there is another transformer on  node 8 to node 10 with a phase shift of 30deg.  If nodes 2,4 and 6 are connected to node 10, then a further phase shift of -30deg is required.

I have three groups of nodes in this example:

group 1, consisting of node 1, phase shift 0deg.
group 2, nodes 2,3,5,8,9 phase shift 30deg
group 3, nodes 10, 2, 4, 6 phase shift =group 2 +30deg (or total relative to group 1 60deg)

I need some way of Mathcad tracking which node belongs in which group so that it can apply the phase shift properly.  (Beware - there is a bug in the Electrical Power Systems Engineering Handbook pack from Mathcad, in the Faults Applications section - it only gets the phase shift right on the node the transformer is connected to and downstream from there. I am basically modifying and extending this to assist in semi-automating protection relay settings).

Hope I've made myself clear!


Life is non-linear...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close