首页
网站开发
桌面应用
管理软件
微信开发
App开发
嵌入式软件
工具软件
数据采集与分析
其他
首页
>
> 详细
代写program、代做Java/Python程序设计
项目预算:
开发周期:
发布时间:
要求地区:
Fachgebiet Regelungssysteme
Fakultat IV Elektrotechnik und Informatik ¨
Technische Universitat Berlin ¨
Course “Discrete Event Systems”
CSG Fachgebiet
Regelungssysteme
Control
Systems
Graded homework in course “Discrete Event Systems”
Hand-out date: 19.01.2024
Hand-in deadline: 01.03.2024
Instructions
• The students can choose to perform the solution of this homework either individually or in groups of 2 or 3.
Groups consisting of more than 3 students will not be accepted.
• The solution of the homework must be submitted through the indicated assignment on the course’s ISISwebpage, as a single PDF file, before the end of the deadline date (01.03.2024). For those who choose to
complete the homework in groups, only one member of the group needs to submit the solution. The PDF file
must contain the name and Matrikelnummer of (all) the respective student(s). It must be clearly indicated
which part of the document corresponds to the answer to each task.
• The solutions must be presented in English.
• Maximum score: 20 points
• Correction criteria: The completeness and correctness of the solution corresponds to 15 points. The remaining 5 points concern the presentation of the solution, based on criteria such as clarity of exposition,
succinctness, and organization.
• The use of Python, together with the PetriTUB toolbox, is suggested in order to perform the necessary computations. Any other computational tool of choice can also be utilized. All capabilities of the chosen tool can be
freely employed to solve the homework; it should then be indicated in the solution which macros/procedures
from the tool are utilized at each step.
• The PetriTUB toolbox can be used, with no installations required, from the following link: https://
morbo.control.tu-berlin.de/hub/user-redirect/git-pull?repo=https%3A%2F%
2Fgit.tu-berlin.de%2Fcontrol%2Fteaching%2Fdes%2Fdes-notebooks&urlpath=
tree%2Fdes-notebooks%2FScript+for+graded+homework.ipynb&branch=main.
• Alternatively, it can be downloaded for free from the following link: https://git.tu-berlin.de/
control/discrete-event-systems/petritub. To install the toolbox, follow Section Getting
started → Installing the toolbox of the documentation.
• The documentation of the toolbox can be found here: https://control.gitlab-pages.
tu-berlin.de/discrete-event-systems/petritub/
1
System Description1
A manufacturing system consists of six devices: two mills (M1 and M2), a lathe (L), a robot (R), a buffer, and an
assembly machine (AM). It produces two types of products from raw blocks and pegs: blocks with a conical pin on
top (product of type A) and blocks with a cylindrical pin on top (product of type B). In the following, raw blocks
and pegs designated to become products of type A and B will be simply called blocks and pegs of type A and B,
respectively. Each block is first processed in one of the two mills; after milling, the robot puts the completed block
into the buffer waiting for assembly. Pegs are initially delivered to the lathe, which cuts them to become either
a conical or a cylindrical pin (depending on the peg type), and are then placed into the buffer by the robot. The
assembly machine takes from the buffer a block (of type A) and a conical pin to manufacture a product of type A,
and it takes a block (of type B) and a cylindrical pin to manufacture a product of type B. Each machine in the plant
can perform one operation at a time, and no buffer is present between the mills and the robot and between the lathe
and the robot. This means that, before a mill/lathe can start working on a new raw part, it must wait for the robot to
pick up the last processed part. The buffer between the robot and the assembly machine is assumed to have capacity
for infinitely many blocks and pins. Figure 1 schematically represents the manufacturing system.
Block A
Block B
Peg A
Peg B
Mill 1
Mill 2
Lathe
Robot
Buffer Assembly
machine
Product A
Product B
Figure 1: Production sequence for products of type A (in blue, continuous arcs) and B (in red, dashed arcs).
mX lX r
b
X
r
p
X
aX
A 10 5 4 3 6
B 10 3 4 3 11
Table 1: Time (in seconds) to execute tasks mX, lX, r
b
X
, r
p
X
, and aX for all X ∈ {A,B}.
We use the following notation: for all X ∈ {A,B}, task mX indicates the milling of a block of type X, task lX
denotes the processing of a peg of type X in the lathe, task r
b
X
indicates the transportation of a block of type X from
one of the mills into the buffer, task r
p
X
denotes the transportation of a pin of type X from the lathe into the buffer,
and task aX refers to the assembly of a block with a pin of type X. Table 1 reports the time to execute each one of
these tasks.
Initially (i.e., at time 0 s), the mill M1 has been processing a block of type B for 5 s. Therefore, according to Table 1,
the block is going to be completed at time 5 s. All the other machines as well as the buffer are empty at time 0 s.
1This example was inspired from the flexible manufacturing system described by de Queiroz, Cury, and Wonham in ”Multitasking supervisory control of discrete-event systems” (2005), published in Discrete Event Dynamic Systems.
2
Tasks
Task 1 (6 points)
a) (4 points) Draw a timed Petri net with holding times representing the manufacturing system. Indicate the
time tags of all initial tokens, and briefly describe the meaning of the firing of each transition in the Petri net.
Hint: it is possible to represent the beginning of the milling process (in any of the two mills) for a block of
type X ∈ {A,B} using only one transition. Similar reasoning applies to the end of the milling process.
b) (2 points) The robot is programmed to work at the maximum speed; therefore, a controller cannot prevent it
from picking up a processed block/pin from a mill/lathe and depositing it into the buffer. On the other hand,
all the other events in the system are controllable and observable.
Suppose that, at any time, at most one block of type B should be in the buffer. Find an implementable and
minimally restrictive controller that enforces this specification.
Task 2 (9 points)
In the remainder of the homework, assume (if you solved Task 1 b)) that the controller from Task 1 is active. A
schedule for a certain machine Y ∈ {M1, M2, L, R, AM} of the manufacturing system is an infinite sequence wY
of tasks that are executed consecutively by the machine Y. For instance, a possible schedule for the mill M1 is
wM1 = (mBmA)
ω = mBmAmBmAmBmA . . . , where v
ω
indicates the schedule obtained by concatenating string
v with itself an infinite number of times, and a string is a finite sequence of tasks; the meaning is that machine M1
is forced to first process a block of type B (starting from the one that is already being processed at time 0 s), then
one of type A, then again one of type B, and so on. In other words, after processing a block of type B, another
block of type B can be processed in M1 only after one of type A.
Observe that, once we fix a schedule wY for each machine Y ∈ {M1, M2, L, R, AM} (i.e., a 5-tuple of schedules
of the form (wM1,wM2,wL,wR,wAM)), the system can be conveniently modeled by a timed event graph whose
transitions’ earliest firing times are determined by equations of the following form:
for all k ≥ 1, x(k + 1) = A0x(k + 1) ⊕ A1x(k) ⊕ B0u(k + 1)
for all k ≥ 1, y(k) = C0x(k)
x(1) = A0x(1) ⊕ ∆(e . . . e)
represents the times at which the k-th blocks and pegs of each type
enter a mill/lathe, and y(k) = (yA(k) yB(k))′
represents the times at which the k-th finished products of each type
exit the assembly machine.
For a system evolving according to (1), the maximum throughput (i.e., the maximum processing rate) θ, corresponding to the highest firing rate (number of firings per time unit) that can be achieved by the “slowest” transition
in the timed event graph, can be computed by
where λ is the maximal mean weight of all circuits in the precedence graph G(A∗
0A1).
Suppose that you are required to analyze the following three 5-tuples of schedules:
a) (3 points) Draw the timed event graphs corresponding to 5-tuples Ψ1
, Ψ2
, Ψ3
.
b) (1 points) Analyze the liveness of each transition of the timed event graph corresponding to Ψ1
. On the
basis of this analysis, what is the maximum throughput θ1 of the manufacturing system when following the
schedules specified by Ψ1
?
3
c) (2 points) Using (2), compute the maximum throughputs θ2 and θ3 in the case the machines follow schedules
specified by Ψ2
and Ψ3
.
d) (3 points) Consider the triplet of schedules among Ψ1
, Ψ2
, Ψ3
that corresponds to the largest maximum
throughput θ. Determine the largest (i.e., latest) possible times for the entrance of the first raw blocks and pegs
of each type in the mills/lathe, such that the second finished product of type B exits the assembly machine
at time 60 s, and supposing that the second, third, . . . raw blocks/pegs of each type enter periodically the
mills/lathe with period λ =
1
θ
.
4
软件开发、广告设计客服
QQ:99515681
邮箱:99515681@qq.com
工作时间:8:00-23:00
微信:codinghelp
热点项目
更多
代做 program、代写 c++设计程...
2024-12-23
comp2012j 代写、代做 java 设...
2024-12-23
代做 data 编程、代写 python/...
2024-12-23
代做en.553.413-613 applied s...
2024-12-23
代做steady-state analvsis代做...
2024-12-23
代写photo essay of a deciduo...
2024-12-23
代写gpa analyzer调试c/c++语言
2024-12-23
代做comp 330 (fall 2024): as...
2024-12-23
代写pstat 160a fall 2024 - a...
2024-12-23
代做pstat 160a: stochastic p...
2024-12-23
代做7ssgn110 environmental d...
2024-12-23
代做compsci 4039 programming...
2024-12-23
代做lab exercise 8: dictiona...
2024-12-23
热点标签
mktg2509
csci 2600
38170
lng302
csse3010
phas3226
77938
arch1162
engn4536/engn6536
acx5903
comp151101
phl245
cse12
comp9312
stat3016/6016
phas0038
comp2140
6qqmb312
xjco3011
rest0005
ematm0051
5qqmn219
lubs5062m
eee8155
cege0100
eap033
artd1109
mat246
etc3430
ecmm462
mis102
inft6800
ddes9903
comp6521
comp9517
comp3331/9331
comp4337
comp6008
comp9414
bu.231.790.81
man00150m
csb352h
math1041
eengm4100
isys1002
08
6057cem
mktg3504
mthm036
mtrx1701
mth3241
eeee3086
cmp-7038b
cmp-7000a
ints4010
econ2151
infs5710
fins5516
fin3309
fins5510
gsoe9340
math2007
math2036
soee5010
mark3088
infs3605
elec9714
comp2271
ma214
comp2211
infs3604
600426
sit254
acct3091
bbt405
msin0116
com107/com113
mark5826
sit120
comp9021
eco2101
eeen40700
cs253
ece3114
ecmm447
chns3000
math377
itd102
comp9444
comp(2041|9044)
econ0060
econ7230
mgt001371
ecs-323
cs6250
mgdi60012
mdia2012
comm221001
comm5000
ma1008
engl642
econ241
com333
math367
mis201
nbs-7041x
meek16104
econ2003
comm1190
mbas902
comp-1027
dpst1091
comp7315
eppd1033
m06
ee3025
msci231
bb113/bbs1063
fc709
comp3425
comp9417
econ42915
cb9101
math1102e
chme0017
fc307
mkt60104
5522usst
litr1-uc6201.200
ee1102
cosc2803
math39512
omp9727
int2067/int5051
bsb151
mgt253
fc021
babs2202
mis2002s
phya21
18-213
cege0012
mdia1002
math38032
mech5125
07
cisc102
mgx3110
cs240
11175
fin3020s
eco3420
ictten622
comp9727
cpt111
de114102d
mgm320h5s
bafi1019
math21112
efim20036
mn-3503
fins5568
110.807
bcpm000028
info6030
bma0092
bcpm0054
math20212
ce335
cs365
cenv6141
ftec5580
math2010
ec3450
comm1170
ecmt1010
csci-ua.0480-003
econ12-200
ib3960
ectb60h3f
cs247—assignment
tk3163
ics3u
ib3j80
comp20008
comp9334
eppd1063
acct2343
cct109
isys1055/3412
math350-real
math2014
eec180
stat141b
econ2101
msinm014/msing014/msing014b
fit2004
comp643
bu1002
cm2030
联系我们
- QQ: 9951568
© 2021
www.rj363.com
软件定制开发网!