09.02.2013 Views

3+4+Supplementum/2012 - Společnost pro pojivové tkáně

3+4+Supplementum/2012 - Společnost pro pojivové tkáně

3+4+Supplementum/2012 - Společnost pro pojivové tkáně

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

change their states and structure in the<br />

finite time points, for example the software<br />

GPSS which is used for economic<br />

and administrative tasks.<br />

3. Combined discrete continuous simulation<br />

makes possible to compare model<br />

witch change their states continuous in<br />

time and its structure in the finite time<br />

points, for example software CDCSIS,<br />

which will be used in this article.<br />

Combined simulation makes possible<br />

to compare continuous and discrete<br />

models too. The combined simulation<br />

is used for solving of differential equations<br />

witch change their structure in<br />

time.<br />

The software CDCSIS is assembled as<br />

library of <strong>pro</strong>cedures at language C++.<br />

A simulation model in language C++ is<br />

compiled as set of discrete, continuous and<br />

check blocks:<br />

z discrete block makes disposable calculations<br />

at specific situations,<br />

z continuous block makes particular calculation<br />

under certain situation, for<br />

example calculation of right side of<br />

differential equation,<br />

z check block watches ever the model<br />

structure could have be changed.<br />

A calling of the library <strong>pro</strong>cedures<br />

schedules calculation according to the<br />

block and/or finishing of the calculation<br />

according to the block, starting and/or<br />

finishing of integration, graph output and<br />

animation.<br />

The top of article is not to learn any<br />

software and/or get to know a simulation<br />

using at some branch but to show a simulation<br />

advantage and simplicity on 3 examples<br />

and makes a <strong>pro</strong>pagation of this scientific<br />

method. The continuous simulation<br />

will be performed on the model of grippe<br />

infection (eventually the other infect<br />

illness). The discrete simulation will be<br />

shown on hospital beds exploitation. The<br />

combined simulation will be performed on<br />

the model of spine bending under orthesis<br />

loading. The algorithms will be described<br />

by calculation diagrams. The scheduling of<br />

calculation according to block is <strong>pro</strong>vided<br />

by the <strong>pro</strong>cedure “schedule(starting time,<br />

calling block, continuous or discrete block,<br />

parameters)”. The <strong>pro</strong>cedure „cancelblock(canceled<br />

block)“ finishes calculation<br />

according to continuous block and the <strong>pro</strong>cedure<br />

„integr(vector length, integrated<br />

vector, output vector, integration name)“<br />

starts integration and the <strong>pro</strong>cedure „cancelint(integration<br />

name)“ the integration<br />

finishes.<br />

Grippe infection model<br />

The first example is continuous simulation,<br />

it means the structure model is fixed<br />

and the signals are changed continuous<br />

in time. The infection is simulated at closed<br />

community with n persons. The time<br />

unit is coincident with illness time include<br />

incubation period. Each person after grippe<br />

illness is resistant.<br />

Let’s designate:<br />

n number of persons at community<br />

State number of persons endangered by<br />

grippe<br />

Infect number of infected persons<br />

The velocity change of number of persons<br />

endangered by grippe (derivation) is<br />

<strong>pro</strong>portional to their number and number<br />

of infected persons, in mathematic formulation:<br />

State´ = -r.State.Infect, (1)<br />

POHYBOVÉ ÚSTROJÍ, ročník 19, <strong>2012</strong>, č. 3+4 225

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!