Overview
Comment: | Removed debugging stuff |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8bffa25a4942073136e794bccc793707 |
User & Date: | gawthrop@users.sourceforge.net on 2003-11-05 00:58:56 |
Other Links: | branch diff | manifest | tags |
Context
2003-11-13
| ||
00:42:51 | Made Xfig bond graph library available alongside standard libraries (debian) check-in: aa637e07f1 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2003-11-05
| ||
00:58:56 | Removed debugging stuff check-in: 8bffa25a49 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2003-11-04
| ||
21:19:19 | Fixed simulation in remote observer mode check-in: b97106a191 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/control/PPP/ppp_lin_run.m from [3224c3dc4b] to [db1e37b858].
︙ | |||
40 41 42 43 44 45 46 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | - + | endif if !struct_contains(p_c,"I_1") # Indices for constarined outputs p_c.I_1 = 1:n_y endif C = C_0(p_c.I_0,:) C_c = C_0(p_c.I_1,:); |
︙ | |||
148 149 150 151 152 153 154 | 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | - - + - + - - + + - + | if !struct_contains(p_o,"method") ##p_o.method = "continuous"; ##p_o.method = "intermittent"; p_o.method = "remote"; endif |
︙ | |||
267 268 269 270 271 272 273 | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | - + | X = x; # Current state t_sim = [1:p_c.N]*dt; # Simulation time points [yi,ui,xsi] = ppp_ystar(A,B,C,D,x,p_c.A_u,U,t_sim); # Simulate x = xsi(:,p_c.N); # Current state (for next time) ti = [(i-1)*p_c.N:i*p_c.N-1]*dt; y_i = yi(1); # Current output t_i = ti(1); |
︙ |