Unformatted text preview:

COMP155/EMGT155 Exercises Nov 10, 2008 EXERCISE 1 System diagram: Initial bond graph: Simplified bond graph: Simulation output:COMP155/EMGT155 Exercises Nov 10, 2008 Equations for simplified bond graph: Questions: 1) What is represented by the state (if any) of each of the six components? 2) Define flow and effort equations for each of the three junctions in the simplified bond graph. What do these equations mean? 3) Determine the physical meaning of each of the dynamic and system equations given above. gravity1: parameters real effort = -9.8; variables real flow; equations p.e = effort; flow = p.f; mass1: parameters real i = 20.0; equations state = int(p.e); p.f = state / i; mass2: parameters real i = 30.0; equations state = int(p.e); p.f = state / i; static equations: gravity1\p.e = gravity1\effort; gravity2\p.e = gravity2\effort; dynamic equations: spring1\p.e = spring1\state / spring1\c; spring2\p.e = spring2\state / spring2\c; spring1\p.f = mass1\state / mass1\i; mass2\p.f = mass2\state / mass2\i; mass2\p.e = gravity2\p.e - spring2\p.e; mass1\p.e = (gravity1\p.e + spring2\p.e) - spring1\p.e; spring2\p.f = mass2\p.f - spring1\p.f; system equations: spring1\state = int (spring1\p.f, spring1\state_initial); spring2\state = int (spring2\p.f, spring2\state_initial); mass1\state = int (mass1\p.e, mass1\state_initial); mass2\state = int (mass2\p.e, mass2\state_initial); gravity2: parameters real effort = -9.8; variables real flow; equations p.e = effort; flow = p.f; spring1: parameters real c = 10.0; equations state = int(p.f); p.e = state / c; spring2: parameters real c = 20.0; equations state = int(p.f); p.e = state / c;COMP155/EMGT155 Exercise2: Circuit diagram: Initial bond graph: Simplified bond graph: Exercises Nov 10, 2008COMP155/EMGT155 Exercises Nov 10, 2008 Equations for simplified bond graph: Questions: 1) What is represented by the state (if any) of each of the three components? 2) Define flow and effort equations for the junction in the simplified bond graph. What do these equations mean? 3) Determine the physical meaning of each of the dynamic and system equations given above. voltage_source: parameters real effort = 1; variables real flow; equations p.e = effort; flow = p.f; capacitor: parameters real c = 1; equations state = int(p.f); p.e = state / c; resistor: parameters real r = 1.0; equations p.e = r * p.f; static equations: voltage_source\p.e = voltage_source\effort; dynamic equations: capacitor\p.e = capacitor\state / capacitor\c; OneJunction1\p2.e = voltage_source\p.e - capacitor\p.e; capacitor\p.f = OneJunction1\p2.e / resistor\r; system equations: capacitor\state = int (capacitor\p.f, capacitor\state_initial); removed equations: OneJunction1\p1.e = voltage_source\p.e; OneJunction1\p3.e = capacitor\p.e; resistor\p.e = OneJunction1\p2.e; OneJunction1\p2.f = capacitor\p.f; OneJunction1\p1.f = capacitor\p.f; OneJunction1\p3.f = capacitor\p.f; OneJunction1\flow = capacitor\p.f; voltage_source\p.f = capacitor\p.f; resistor\p.f = capacitor\p.f; voltage_source\flow =


View Full Document

PACIFIC COMP 155 - Study Notes

Download Study Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Study Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Study Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?