Class solenoid
Class solenoid
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----solenoid
- class solenoid
- extends Panel
The solenoid regulates the pressure needed to open and close the 1-2 valve
-
beta1
-
-
c1
-
-
c2
-
-
c3
-
-
c4
-
-
c5
-
-
delta_feed
- solenoid delta feed pressure
-
dx
-
-
feed
- solenoid feed pressure
-
plot10
-
-
q_exh
- solenoid exhaust flow
-
q_feed
- solenoid feed flow
-
source
- source pressure
-
state
-
-
valve12
-
-
x
-
-
solenoid()
-
solenoid() When the solenoid is off(closed) there is no pressure feed.
-
deriv(int)
- Calculate changes in position and velocity in solenoid
-
init(boolean, s12_valve)
- Set initial velocity and position for the solenoid
-
intgrt(int)
- integrate the position and velocity increments for the solenoid
in order to apply pressure and flow to the system
-
paint(Graphics)
- Paint the window graphics.
dx
protected double dx[]
x
protected double x[]
plot10
public Plot_Object plot10
c1
protected double c1
c2
protected double c2
c3
protected double c3
c4
protected double c4
c5
protected double c5
beta1
protected double beta1
feed
public double feed
- solenoid feed pressure
source
public double source
- source pressure
q_feed
public double q_feed
- solenoid feed flow
q_exh
public double q_exh
- solenoid exhaust flow
delta_feed
public double delta_feed
- solenoid delta feed pressure
valve12
protected s12_valve valve12
state
public boolean state
solenoid
protected solenoid()
- solenoid() When the solenoid is off(closed) there is no pressure feed. The
degree that it is open affects the pressure feed to the system
init
public void init(boolean on_off,
s12_valve s12)
- Set initial velocity and position for the solenoid
deriv
public void deriv(int step)
- Calculate changes in position and velocity in solenoid
- Parameters:
- step - the derivative step
intgrt
public void intgrt(int step)
- integrate the position and velocity increments for the solenoid
in order to apply pressure and flow to the system
- Parameters:
- step - the integral step
paint
public void paint(Graphics g)
- Paint the window graphics. Display the pressure changes(red color gets
darker in areas of higher pressure) as the solenoid changes pressure
and flow in the main window.
- Overrides:
- paint in class Component