,,,
. , , , , . , , .
, - . , , .
, , . :
;
;
;
.
, , . , , , , .
, .
, , , .. .
-, -. - ( -) - .
- ( ). , , .
, . , - , . , , .
, (). () , , (), , , () . () .
- . (). , .
:
1. -;
2. - .
- .
, .. , . , , . , .
, , . , .
. , , . , . - , . (). .., , .JOM. . .JOM .
. . , .
, , , , , .
, , . .
, . , , , .
, -. - , , , . , - , , . - -.
- . , , , , , . > <, . , . 2.1.2.
-, . :
E = <P1, P2, C, R1, R2, TAU, FI>,
P1, P2 ; C (, , ) ; R1, R2 , ; TAU ; FI .
C , B(X), X . B(X) = 1 ( TRUE), X ; B(X) = 0 ( FALSE), X .
, , C ( C = 1).
R1 , () .
R2 , .
TAU . , R1, , R2.
, FI , .
- () . , . 2.1. (T, Y, X, G, I) . , X Y . -.
, , , - . . ( , ) , . , .
, . 2.1. C, R1 R2, FI. () (), . () () , ().
, R1 R2. : , R1, , R2.
. 2.1
, , , . , C , , C.
, C, &,! ^ , .
R1 R2 . >. , , ( R1) ( R2) . T .
:
C(T)=(B(X1)&B(X2)&&B(Xm))&(^B(Y1)&^B(Y2)&&^B(Yn))
, . , Y -, ^B(Y) C(T).
, C(T) , .
.
T :
R1 (T) = [T>{X1, X2,, Xm}] = {X1, X2,, Xm},
R2 (T) = [T>{Y1, Y2,, Yn}] = {Y1, Y2,, Yn},
T .
FI(T) X1 .
, .
, .
:
C(Y)=(B(X1)! B(X2)!! B(Xm))&(^B(Y1)&^B(Y2)&&^B(Yn))
R1
R1 (Y) = [B(X1)>X1; B(X2)>X2;; B(Xm)>Xm],
.. ( X1, X2,, Xm), .
()
R1 (Y) = [B(X1)&P1>X1;; B(Xm)&Pm>Xm],
P1,, Pm .
:
R2 (Y)=[T><Y1, Y2,, Yn>] = {Y1, Y2,, Yn}.
X , R1 (Y). FI(Y) FI(T), X1 X.
Y T, .
:
C(X)=(B(X1)&B(X2)&&B(Xm))&(^B(Y1)!^B(Y2)!!^B(Yn))
:
R1 (X) = [T>{X1, X2,, Xm}] = {X1, X2,, Xm}.
:
R2 (X)=[^B(Y1)>Y1;^B(Y2)>Y2;;^B(Yn)>Yn],
() :
R2 (X) = [^B(Y1)&P1>Y1;;^B(Yn)&Pn>Yn],
P1,, Pn .
Y , R2 (Y). FI(Y) , X1, , Y.
, T .
Y X. :
C(G)=(B(X1)! B(X2)!! B(Xm))&(^B(Y1)!^B(Y2)!!^B(Yn)).
R1 (G) R2 (G) R1 (Y) R2 (X) Y X. , () R1 (G) R2 (G) R1 (Y) R2 (X) , :
R1 (G) = [B(X1)&P11>X1;; B(Xm)&P1m>Xm],
R2 (G) = [^B(Y1)&P21>Y1;;^B(Yn)&P2n>Yn].
X Y , R1 (G) R2 (G) . FI(G) , X, , Y.
( ) , G X ( Y) ( ) .
:
C(I)=(B(X1)&^B(Y1)&^B(X2))! (B(X2)&^B(X1)&^B(Y2)).
:
R1 (I)=(B(X1)&^B(Y1)&^B(X2))! (B(X1)&^B(Y1)&B(X2)&B(Y2))>X1;
(B(X2)&^B(X1)&^B(Y2))! (B(X1)&B(X2)&B(Y1)&^B(Y2))>X2;
(B(X1)&B(X2)&^B(Y1)&^B(Y2))>{X1, X2}],
R2 (I)=[(B(X1)&^B(Y1)&^B(X2))! (B(X1)&^B(Y1)&^B(X2)&^B(Y2))>Y1;
(B(X2)&^B(X1)&^B(Y2))! (B(X1)&B(X2)&B(Y1)&^B(Y2))>Y2;
(B(X1)&B(X2)&^B(Y1)&^B(Y2))>{Y1, Y2}].
, I -. :
B(X1)&B(X2)&^B(Y1)&^B(Y2),
R1 (I) R2 (I).
FI(I) X1 Y1, X2 Y2, , , X1 Y1 X2 Y2. R1 (I) R2 (I).
, () . .
2.2.
( . creatio , ) , . :
1. - , .JOM JOM.
2. , .JZP EXE.
3. , , , .
4. , .PAS .NET PAS.
5. - . ( ) - ( .HDR).
6. - .PAS‑ PAS ( .TPU‑ TPU) .TPU‑ .TPU‑ UNITS. -, ( ) . (.. - ) EXE.
7. , ( File, Edit, Search .).
, ( , COMMAIN.EXE BIN) ( , JOMCHECK.EXE BIN).
( MICROSIM.EXE BIN), . . 2.3. , . ( ), . , , ..
, ( MICROSIM.EXE BIN). ( , , , ) , . , .
- , . , (), . UNITS.
- , . -, , .
- , , , , -, , . (, , ..). .
, (, , ..).
, , .
, .
. . (): Assemble, Parameters, Modeling, Results, Quit, Inspect, Save, Load Shell.
.
UNITS:
CONNECT.TPU .
HELP.TPU .
INSTAL.TPU .
ISPCOMP.TPU .
ISPGLOB.TPU .
ISPINT.TPU (- ).
ISPPAUTO.TPU .
ISPSCAN.TPU .
ISPSEMA1.TPU .
ISPSEMA2.TPU .
ISPSEMA3.TPU .
ISPSERV1.TPU .
ISPSTAT.TPU .
ISPUPR.TPU .
LIBR_1.TPU .
LIBR_2.TPU .
NETLOAD.TPU .
SERVICE.TPU .
TEXTWIND.TPU .
TURBO3.TPU .
UPRGLOB.TPU .
, .. , . , . , .
, - ( ), , PAS‑ , PAS, , , .
Windows, . , , .
, , , , Delphi, .
, . , , , , , .
< >.log, , , -.
:
, ;
;
;
;
;
;
;
;
;
;
.
. , , , , , , .
, , . , , , , , . TRACE .
I00TRD ISPINT. , - . .
- , - . - , -, . - :
1. , - .
2. , .
3. , ( ).
4. , .
5. - ( ), .
6. -.
7. , - ( , , () -, STOP ..).
, , () (). - , .
- ( ) . , :
T : , . T , .. , LOWTIME . LOWTIME T FIFO; LOWTIME (.. , ) MAXREAL ( , ).
S : , . S . FINT . FINT S FIFO.
I : , I, .
R : , , () / () ( () ). R LIFO.
, , , , . ( I00GDS), .
, , ( , , , ..). , , ( ) , , . .
- ISPINT:
I000 .
I001 .
I002 .
I00MC .
I00MS .
I00PT , .
, . 2.4.
I00MS, , :
1. []
I.
2. [ ]
, ().
3. [ I]
I , 4; () I 8.
4. [ S]
S , ().
5. [ ]
S.
6. [ ]
FINT ( S) , LOWTIME<FINT ().
7. [ S]
I00DSL.
8. [ ]
, I00TRD ( ).
9. [ , ]
I00PT.
10.[ ]
, ().
11.[ ]
, , .
12.[ ]
, , .
13.[ ]
( , S, I, R).
14.[ R]
, R.
15.[ ]
.
16.[ ]
, , (). 2.
I00TRD I00MS, . . 2.5.
, , .
(58 )
INFMOD=RECORD
MODNAM: (* *)
KOLSEG: WORD; (* *)
TMT: REAL; (* *)
FT: PINFSEG; (* .1‑ . .*)
PFSEG: PINFSEG; (* *)
TIMFIN: REAL; (* *)
TUN: CHAR; (* *)
READY: CHAR; (* :
1‑, 0‑*)
CONDMD: ARRAY [1..9] OF CHAR; (* *)
(* *)
ECOUNT: LONGINT; (* *)
NKB: LONGINT; (* . *)
NB: LONGINT; (* . . *)
STEP: REAL; (* *)
STEPC: REAL; (* *)
NXTSTOP: REAL; (* ` *)
NXTCAT: REAL; (* ` . *)
INFMODSIZE: INTEGER; (* *)
STSTAT: REAL; (* *)
END;
(102 )
INFSEG=RECORD
SPS: WORD; (* . *)
SEGCNAME: ALFDIG; (* - *)
SEGONAME: ALFDIG; (* - *)
ADROD: PINFSEG; (* - *)
ADBRAT: PINFSEG; (* .- *)
ADSYN: PINFSEG; (* - *)
FTIME: PINFSEG; (*
(
-..)*)
LOWTIME: REAL; (* . *)
ADRTABNAME: PTABNAME; (*
(* *)
ADRTABLINKS: PTABLINKS; (*
(* *)
ADRTABLINK: PTABLINK; (* *)
ADRP: POINTER; (* , *)
(* *)
PFPLACE: PPLACE; (* *)
PFTRAN: PTRANSITION; (* . *)
PTA: PTDIST; (* . *)
PIL: PTRANSITION; (* . *)
PVAR: POINTER; (* .. *)
ADSEG: PINFSEG; (* *)
PLS: PTRANSITION; (* . S *)
PLR: PTRANSITION; (* . R *)
RESERV: INTEGER; (* . . *)
SEGX: INTEGER; (* X *)
SEGY: INTEGER; (* Y *)
TIMEUN: CHAR; (* *)
NSATR: CHAR; (* *)
PTATR: PTATRIB; (*. *)
INFSEGSIZE: INTEGER; (* *)
PSTOP: PTABSTOP; (* . *)
ND;
(66 )
TRANSITION=RECORD
NUMTRAN: WORD; (* *)
PRIZN: WORD;
(* :
: 2..0 :
1 T, 2 Y, 3 X, 4 G, 5 I
8..3
9
10
11
12
13 S
14 R
15 *)
PIPL: PPLACE; (* . *)
POPL: PPLACE; (* . *)
NIPT: CHAR; (* *)
NOPT: CHAR; (* *)
PNTRANL: PTRANSITION; (* ..` *)
PNSRT: PTRANSITION; (*... . S" R*)
TSTAT: PTDIST; (* . *)
ADRP: POINTER; (*. *)
ADRC: POINTER; (* . Ż *)
ADRT: POINTER; * . *)
TX: INTEGER; (* X *)
TY: INTEGER; (* Y *)
FINT: REAL; (* . *)
DELAY: REAL; (* *)
INSEL: CHAR; (* . . *)
OUTSEL: CHAR; (* . .*)
NENTR: LONGINT; (* *)
SUMTACT: REAL; (* *)
END;
(50 )
PLACE=RECORD
NUMPOS: WORD; (* *)
PRIZN: WORD;
(* :
: 0 : 0 , 1
3..1 : 0 FIFO 3 LOW(I)
1 LIFO 4 HIGH(I)
2 RAND
5..4
6 HIGH, LOW
7 , .. ,
8
9
14..10
15 *)
PBT: PTRANSITION; (* ..
(* *)
PET: PTRANSITION; (* ..
(* *)
NALOHI: INTEGER; (* *)
(* HIGH LOW *)
PNTP: PPLACE; (* . *)
PNIP: PPLACE; (*..... *)
PNOP: PPLACE; (*.....*)
PST: PTDIST; (* . *)
PX: INTEGER; (* X *)
PY: INTEGER; (* Y *)
PLREC: POINTER; (* . . *)
NOB: CHAR; (* *)
QMAX: CHAR; (* . *)
NENTR: LONGINT; (* ` *)
SUMTZ: REAL; (* *)
END;
I00TRD , . . GETNAME, I00TUN, ISPINT.
, . , , .
, , .
. SCH . ISPGLOB, :
FTRACE: TEXT;
SCH: INTEGER;
, : CLOSE (FTRACE);
Windows95. Delphi 2.0, . , , Delphi 2.0.
Delphi - . . , , . - , , . , - . , , , (). - , . . , Delphi‑.
Windows , .
:
, ;
, ;
, ;
;
.
2.4
, , . , . TGraphSegm. , . , 2.1
2.6
Name | String | |
TimeDelay | TtimeDelay | ('', '', '', '', '', '', '', '') |
ListNet | Tlist | . |
ListPos | Tlist | . |
ListLine | Tlist | . |
AttributeNames | TstringList | |
AttributeTypes | TstringList | |
NetVarNames | TstringList | |
NetVarVals | TstringList | |
NetVarTypes | TstringList |
ListPos ListNet.
- TNObject . , , .
TNetObj. , , , , , , TIME, CONTROL, TRANSFER ..
TposObj , : , , , , , ..
TlineObj , , : , , , , , ..
. .
TNetObj:
TNetObj = class (TNObject)
public
TypeNet:TAllTypeNet;
ResizeRgn:HRGN;
Width:integer;
Height:integer;
HeightVertLine:integer;
IsPassed:boolean; (* *)
IsPassed ( )
TPosObj:
TPosObj = class (TNObject)
public
TypePos:TAllTypePos;
Width:integer;
Height:integer;
Orientation: Boolean;
Length: Longint;
Pos1, Pos2:TPoint;
InOutPoint: array [1..2] of TPoint;
SatatusInOutPoint:array [1..2] of TWayLine;
OrientationRgn:HRGN;
NumPoints:integer; (* *)
NumPoints .
:
. . 2.3.3. < >.log, . . , - .
, , , . .
, :
OneLine= Record
Segment: string (* *);
Perehod: string (* *);
Ttime: real (* *);
Ddelay: real (**);
FromPos: String (* *);
FromCount: integer (*- *);
ToPos: string (* *);
ToCount:integer (*- *);
end;
, .
. ( ) , ( MARK). , . .
. . .
-, ., . . , , , , , , .
, Ddelay Ttime. ( FromPos) ( , ), , .
.
, , , . , , , . .
. . , Enter.
, . .. , , 0. , , . . , , . .
, , . , , . , , .
. , .
, . :
|
||||||
|
||||||
, . , . , .
, .
.
.
MS-DOS. , , . Microsoft Windows 3.x, , Windows95, Windows98 WindowsNT. , .
, . , . Borland Turbo Pascal, Turbo C, Turbo C++ . Windows , , Windows . Windows, DOS‑. (), . , . , .
Delphi , , . Delphi Turbo Pascal, , Windows.
, , , 7.0 DOS‑. , Windows. .
Windows Dos . Delphi *.EXE . Windows- Dos‑ . , , , , . , Dos , Pascal, Delphi.
, Delphi. Delphi Windows . [5] Delphi , . Delphi Object Pascal, Pascal. , Delphi .
, Delphi , , . , (), , .
, , - , , . , , .
Delphi :
.
.
.
. , , . , .
. , (, ). , , .
, . . .
, , Delphi , , , , , .
. , Delphi, (.PAS), (.DFM), (.DPR).
, , .
Delphi . , , . , Delphi . .
. . Delphi, Pascal, , , . .
, , , . .
, Pascal Delphi :
1. .
2. .
Delphi . ( TForm), , , . , , .
3.1 , .
3.1
, | |
TmainMenu | |
TpopupMenu | |
Tlabel | |
Tedit | |
Tmemo | |
Tbutton | |
TchekBox | |
TradioButton | |
TlistBox | |
TcomboBox |
, , , , .
Dos , Delphi, , .
, , . , (), , , . . .
, , TButton, Pascal‑:
procedure TForm1. Button1Click (Sender: TObject);
begin
Proc1 (i);
end;
, . . , , - . forward, . . , .
, Uses. .
, . .
. , , , . , . JOM. , SEG.JOM. , , , .
, : () . , , , .
3.2
( / Microsim, ( 3.2) , . . , .
, . .
. , .
, , ( Model / Parameters, . 3.3).
. 3.3
, :
( , NET, PAS);
p ( TPU, TPU).
() . . - , , .
, NET PAS. , SEG.JOM SEG.NET SEG.PAS.
p . , . TPU, TPU.
, NET TPU (, SEG.NET SEG.TPU). , .
, . , . , , , .
. . .
- . , , - .
TRACE ALL . - (). , , , , ( ). , - , , . , , , .JZP, .
, , , , .
, . , , . , , , 10, 20 30 , , 18‑ . 1000 , 17‑.
- , , -, , . (, , ..). .
, (, , ..).
, .
, , .
, .
, .
, . (. 3.4), , . , . , .
3.4
(. 3.5). MICROSIM / BIN, , MNEDITOR, , MICROSIM .
3.5
, . Enter .. . . , , .
(3.6). , . -. . , . , .
3.6
. . , , .
3.7
, , , , , *.dat. , . / ( 3.7). .
. 3.8
, , , (). . , .
(), , , , , , , , .
, , ( ) , , .
, , .
, , , .
MICROSIM, 1995 . .
MICROSIM , , .
() , , , , ..
.
, . , . , : , , , , .
. .
, .
, .
, .
, .
.
, .
. , , .
, .
, , P C (.. ) . ( ) :
, (1)
, , .
, , , :
- ;
;
.
. . , , , .
, ( ), (). , , .
, . , , , (, , ), , , , .. .
(, , ..).
. , , () .
( ) . , . , , . .
() , , , ().
1, 2, 3, 4, 5, 6, 7, 8, 9 .. , :
= 1 + 2 + 3 +4 + 5 + 6 + 7 + 8 + 9 + ¼ =
( ) , .
. , , , , .. , . , . . . , -, .
, . , . , , , . , 100%. , .
, :
, (2)
n ;
aj j‑ ;
J j‑ .
() Ji 0 1, , . .
(J), :
, (3)
m ;
bj j‑ ;
Jj j‑ .
(J, J, J) K . :
(4)
K > 1, , K < 1, , K = 1, . K ³ 1. , J J, .
1. .
, ,
2. .
3. .
4. .
.
.
,
.
.
, , - , .
, ().
. . , , .. , , , , , , , MICROSIM, .
, , ,
. -, , , , . -, , , MICROSIM .
( , ), , :
- .
.
.
.
.
.
.
.
- , ( ) , . , .
.
, .
. , , .
, , . , , , , .
, , , , . , .
.
, .
. , , , , , . . , .
, . , . GPSS Minuteman Software, .
, . .. .
:
- .
.
.
.
:
.
.
.
, , . . , 10‑ .
, , - , .
, , . .
GPSS | GPSS | ||||
. | 5 | 6 | 6 | 0,6 | 0,6 |
. | 6 | 7 | 4 | 0,7 | 0,4 |
4 | 6 | 3 | 0,6 | 0,3 | |
. (.) | 1 | 0,47 | 0,44 | 0,93 | 1 |
. | 2 | 1 | 0 | 0,1 | 0 |
. | 3 | 1 | 0 | 0,1 | 0 |
(2)
, , ( 100% ) , :
J = 6 + 5 + 4 + 3 + 2 + 1 = 21;
GPSS :
J = 6*0,7 + 5*0,6 + 4* 0,6 + 3*0,1 + 2*0,1 +1*0,93 =
= 4,2 + 3 + 2,4 + 0,3 + 0,2 + 0,93 = 11,03;
JGPSS = 6*0,4 + 5*0,6 + 4*0,3 + 3*0 + 2*0 + 1 = 2,4 + 3 + 1,2 + 1 = 7,2;
, 21 GPSS, :
: (11,03 * 100%) / 21 = 52%;
GPSS: (7,2 * 100%) / 21 = 34%;
, , GPSS. , , .
, . , .
, GPSS. .
:
: J = (34/52)*100 = 65;
:
:
DJ = (100 65) / 65*100 = 54;
:
:
= [ -]*(100 + 54) / 100 =
[ -] * 1,54;
, . 1,54 GPSS.
, . , 100%, , , 0,521 . .
, :
14%.
, , . . .
- () , -, , - .
. , . , , , ..
.
.
:
;
;
;
- ;
;
( );
.
. .
. .
, (, , , ).
, .
, , .
, , , .
- , . , .
. ‑3, ‑5, ‑10. , , . , - , .
. .
, , . , , . - , .
. . 1000 , . 1 . 1000 1 .
12.1.00383 , , ( ) 50 .
:
;
;
.
.
12.1.00588 :
2022 5560%.
, , . , , , , .
24571 . , 15 . , 4.5 . .
, , . , .
, , , , .
, , .
(, ) 479. , . ( , , ).
( ) . . , , .
( 0.5 1.0 , , ). 300 .
:
;
, ;
2/3 250 ;
. 60 ;
, .. , ;
;
, , ;
- ;
, .
. :
:
E ();
S ( );
Z , E/E ( 1.11.5);
K ;
N ;
n ;
F ().
n :
:
A, B ;
H .
, , :
A = 8 ,
B = 4 ,
H = 3 .
I :
K = 1.4
n = 0.36 (p(n) = 50%, p() = 30%).
:
H (H = 3 ).
40 F 3120 .
, :
.
, N = 6 . E = 300 S = A * B = 24 . , .
, . (L) : L = 4 .
, , F = 2750
1020%.
.
:
, . - . 20 1 ( 12.104584).
, , .
, . , . , 60 ( ) . ; .
, , .
, 1.2 . 70 . , , .
. . . 1 .
.
, . .
, . . , .
, , .
- . , , , . 1.52 , .
, - - . , . 3‑ . .
- .
, 50 , 15 . , 4.5 . , 300 .
- .
300 .
, .. .
1. , - . . : , 1994 .
2. , - . . : , 1995 .
3. , - . . : , 1994 .
4. , . , DELPHI. Binom, 1995 .
5. . , Windows Delphi. , , 1995 .
6. .., .. . . , 1996 .
7. . , , , , 1996 .
8 .. .., .., . : 1988 .
9. .. .., .., . : 1990 .
10. .., . 1984 .
. , , , ,
Copyright (c) 2024 Stud-Baza.ru , , , .