Changeset 560 for branches/gui/sample/controllers
- Timestamp:
- Jul 23, 2008, 2:13:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/sample/controllers/Sample_flash_pid.mso
r537 r560 82 82 s1.Outlet to fl.Inlet; 83 83 Q.OutletQ to fl.InletQ; 84 85 SET 86 #Level controller configuration 87 pidL.bias=0.5; 88 pidL.gain=1.1776; 89 pidL.derivTime=19*'s'; 90 pidL.intTime=76*'s'; 91 pidL.tau=1*'s'; 92 pidL.tauSet=1*'s'; 93 pidL.alpha =1; 94 pidL.beta =1; 95 pidL.gamma =1; 96 pidL.Mode = "Automatic"; 97 pidL.Clip = "Clipped"; 98 pidL.Action = "Direct"; 84 99 100 #Pressure controller parameters 101 pidP.bias=0.5; 102 pidP.gain=0.9275; 103 pidP.derivTime=18*'s'; 104 pidP.intTime=72*'s'; 105 pidP.tau=1*'s'; 106 pidP.tauSet=1*'s'; 107 pidP.alpha =1; 108 pidP.beta =1; 109 pidP.gamma =1; 110 #Pressure controller configuration 111 pidP.Mode = "Automatic"; 112 pidP.Clip = "Clipped"; 113 pidP.Action = "Direct"; 114 85 115 SPECIFY 86 116 87 Q.OutletQ .Q= 1026.32 * 'kJ/s';117 Q.OutletQ = 1026.32 * 'kJ/s'; 88 118 89 119 #Level controller parameters 90 120 pidL.Ports.setPoint=0.5; 91 pidL.Parameters.bias=0.5; 92 pidL.Parameters.gain=1.1776; 93 pidL.Parameters.derivTime=19*'s'; 94 pidL.Parameters.intTime=76*'s'; 95 pidL.Parameters.tau=1*'s'; 96 pidL.Parameters.tauSet=1*'s'; 97 pidL.Parameters.alpha =1; 98 pidL.Parameters.beta =1; 99 pidL.Parameters.gamma =1; 100 #Level controller configuration 101 pidL.Options.autoMan=0; 102 pidL.Options.clip=1; 103 pidL.Options.action =-1; 104 105 #Pressure controller parameters 106 pidP.Parameters.bias=0.5; 107 pidP.Parameters.gain=0.9275; 108 pidP.Parameters.derivTime=18*'s'; 109 pidP.Parameters.intTime=72*'s'; 110 pidP.Parameters.tau=1*'s'; 111 pidP.Parameters.tauSet=1*'s'; 112 pidP.Parameters.alpha =1; 113 pidP.Parameters.beta =1; 114 pidP.Parameters.gamma =1; 115 #Pressure controller configuration 116 pidP.Options.autoMan=0; 117 pidP.Options.clip=1; 118 pidP.Options.action =-1; 121 119 122 120 123 EQUATIONS
Note: See TracChangeset
for help on using the changeset viewer.