什么是系统工程(字幕)19

0
00:00:00,600 --> 00:00:01,770
接下来呢

1
00:00:02,260 --> 00:00:04,808
就轮到图16.10

2
00:00:04,808 --> 00:00:07,640
蒸馏器功能的初始分解

3
00:00:08,210 --> 00:00:10,460
那么这里它是用了一个block

4
00:00:11,010 --> 00:00:11,266


5
00:00:11,266 --> 00:00:11,523

6
00:00:11,523 --> 00:00:14,090
那个BDD,块定义图

7
00:00:15,080 --> 00:00:15,847
来描述

8
00:00:15,847 --> 00:00:18,340
实际上就相当于,你看,上面的块

9
00:00:19,250 --> 00:00:20,480
是一个活动

10
00:00:21,060 --> 00:00:22,430
或者是功能

11
00:00:25,150 --> 00:00:28,040
实际上就是,把块定义图的那个

12
00:00:29,140 --> 00:00:32,028
组合关系当成功能分解来用了

13
00:00:32,028 --> 00:00:33,266
当然这个来说

14
00:00:33,266 --> 00:00:36,155
如果从面向对象的角度来看的话

15
00:00:36,155 --> 00:00:38,012
这个是比较怪的

16
00:00:38,012 --> 00:00:39,870
但这我们不管了

17
00:00:40,900 --> 00:00:46,840
那么SysML里面从1.5开始也有了这个,就是说

18
00:00:47,120 --> 00:00:49,390
activities as blocks 就是

19
00:00:49,870 --> 00:00:52,790
把活动当成block来使用

20
00:00:53,570 --> 00:00:55,960
那么它标准里是有这个的

21
00:00:57,390 --> 00:00:59,782
那这是包的名字

22
00:00:59,782 --> 00:01:03,670
然后,图的名字,功能分解,这样

23
00:01:04,360 --> 00:01:06,230
那下面我们来画一下

24
00:01:09,230 --> 00:01:11,827
把这个变回来

25
00:01:11,827 --> 00:01:12,570
变成

26
00:01:13,130 --> 00:01:14,440
图的,好

27
00:01:15,200 --> 00:01:16,500
然后呢

28
00:01:16,780 --> 00:01:19,005
首先我们有一个要调整

29
00:01:19,005 --> 00:01:19,410
就是

30
00:01:21,040 --> 00:01:22,180
之前

31
00:01:22,780 --> 00:01:24,430
我们

32
00:01:24,970 --> 00:01:27,860
说那个H2O,水,热

33
00:01:27,860 --> 00:01:31,640
这个的话,我们说是在项类型里面的

34
00:01:31,640 --> 00:01:32,530
我们

35
00:01:32,840 --> 00:01:33,389
失误了

36
00:01:33,389 --> 00:01:34,305
放在这里了

37
00:01:34,305 --> 00:01:35,405
在这里面建的

38
00:01:35,405 --> 00:01:36,871
我们把它拖回去

39
00:01:36,871 --> 00:01:39,070
这应该是项类型

40
00:01:40,000 --> 00:01:41,500
这个才对

41
00:01:42,830 --> 00:01:43,061

42
00:01:43,061 --> 00:01:45,835
那我们来画一下,画在哪里

43
00:01:45,835 --> 00:01:48,610
蒸馏器需求,蒸馏器规约这里

44
00:01:49,320 --> 00:01:50,675
这下面,对吧

45
00:01:50,675 --> 00:01:51,760


46
00:01:52,160 --> 00:01:54,648
然后有一个初始行为这样一个包

47
00:01:54,648 --> 00:01:55,988
你看,这个包对吧

48
00:01:55,988 --> 00:01:57,520
那我们建立一个包

49
00:02:00,450 --> 00:02:02,470

50
00:02:02,990 --> 00:02:05,050
1. 初始行为

51
00:02:07,730 --> 00:02:07,990

52
00:02:07,990 --> 00:02:08,772
然后呢

53
00:02:08,772 --> 00:02:11,641
在这个包下面建一个图

54
00:02:11,641 --> 00:02:14,248
建一个BDD

55
00:02:14,248 --> 00:02:14,770
叫功能分解

56
00:02:19,460 --> 00:02:21,310
叫BDD

57
00:02:22,360 --> 00:02:24,730
功能分解

58
00:02:27,290 --> 00:02:27,546

59
00:02:27,546 --> 00:02:29,600
我们来看,对照一下

60
00:02:29,880 --> 00:02:34,030
bdd,package 1.初始行为,功能分解

61
00:02:34,030 --> 00:02:34,290
有了,对吧

62
00:02:34,640 --> 00:02:36,822
那接下来就是这个问题了

63
00:02:36,822 --> 00:02:37,550
这个activity

64
00:02:39,450 --> 00:02:40,660
这个怎么弄

65
00:02:41,560 --> 00:02:45,030
那你在这里放上去一个block

66
00:02:46,030 --> 00:02:46,708
然后呢

67
00:02:46,708 --> 00:02:49,875
这里面选activity是没有的

68
00:02:49,875 --> 00:02:51,458
你加上去有没有

69
00:02:51,458 --> 00:02:53,720
你加上去可能,你看,activity

70
00:02:56,280 --> 00:02:59,429
得到的是BPMN什么的

71
00:02:59,429 --> 00:03:01,838
这个EA里面它支持好多种

72
00:03:01,838 --> 00:03:02,950
所以呢,这肯定不行的

73
00:03:04,830 --> 00:03:05,924
那怎么做

74
00:03:05,924 --> 00:03:09,480
就是说,activity as block,就是说

75
00:03:09,760 --> 00:03:11,380
把活动当成block 

76
00:03:11,380 --> 00:03:12,820
就是把活动拖到上面来

77
00:03:12,820 --> 00:03:14,440
所以我们应该在哪里

78
00:03:14,440 --> 00:03:16,420
应该在这里建一个activity

79
00:03:17,330 --> 00:03:20,783
就直接加一个activity,加一个活动

80
00:03:20,783 --> 00:03:21,030


81
00:03:21,030 --> 00:03:22,510
活动叫什么呀

82
00:03:24,700 --> 00:03:26,293
蒸馏水嘛,对吧

83
00:03:26,293 --> 00:03:27,090
蒸馏水

84
00:03:32,280 --> 00:03:32,491

85
00:03:32,491 --> 00:03:33,548
再来一个

86
00:03:33,548 --> 00:03:35,662
加热水,煮沸水

87
00:03:35,662 --> 00:03:36,720
冷凝蒸汽

88
00:03:37,240 --> 00:03:38,670
加热水

89
00:03:42,020 --> 00:03:43,390
煮沸水

90
00:03:46,850 --> 00:03:48,680
冷凝蒸汽

91
00:03:51,810 --> 00:03:52,202

92
00:03:52,202 --> 00:03:53,380
这4个

93
00:03:53,850 --> 00:03:54,660
对吧

94
00:03:55,210 --> 00:03:57,218
这里有4个活动了

95
00:03:57,218 --> 00:03:57,971
然后呢

96
00:03:57,971 --> 00:04:00,230
首先这个了,把那个

97
00:04:00,770 --> 00:04:02,420
蒸馏水拖上来

98
00:04:02,420 --> 00:04:03,520
放在上面

99
00:04:08,310 --> 00:04:08,513
,

100
00:04:08,513 --> 00:04:09,733
你看,就出来了

101
00:04:09,733 --> 00:04:10,140
对吧

102
00:04:10,420 --> 00:04:11,157
然后呢

103
00:04:11,157 --> 00:04:12,877
这几个依次排列

104
00:04:12,877 --> 00:04:15,090
加热、煮沸等等

105
00:04:15,870 --> 00:04:17,460
加热

106
00:04:19,550 --> 00:04:20,860
煮沸

107
00:04:22,430 --> 00:04:22,711


108
00:04:22,711 --> 00:04:23,555
错了

109
00:04:23,555 --> 00:04:24,680
煮沸

110
00:04:26,620 --> 00:04:28,150
冷凝

111
00:04:30,330 --> 00:04:31,190

112
00:04:31,470 --> 00:04:32,670
这个有了

113
00:04:33,230 --> 00:04:34,110
我们看看

114
00:04:35,660 --> 00:04:36,900

115
00:04:40,180 --> 00:04:41,010

116
00:04:41,480 --> 00:04:44,665
接下来,我们来建立它们的关联关系了

117
00:04:44,665 --> 00:04:46,257
你看这个组合关联

118
00:04:46,257 --> 00:04:47,452
这样关联下来

119
00:04:47,452 --> 00:04:47,850
对吧

120
00:04:47,850 --> 00:04:49,442
上面组合关联3个

121
00:04:49,442 --> 00:04:50,040
那我们

122
00:04:50,540 --> 00:04:52,660
把它摆平一点

123
00:04:56,160 --> 00:04:57,660
对齐

124
00:04:59,700 --> 00:05:00,690

125
00:05:00,980 --> 00:05:02,160
对齐

126
00:05:04,880 --> 00:05:05,710

127
00:05:05,990 --> 00:05:07,620
这样画下来

128
00:05:07,620 --> 00:05:10,230
然后呢,组合到部件

129
00:05:10,510 --> 00:05:11,710
对吧,这样

130
00:05:12,550 --> 00:05:13,231
然后呢

131
00:05:13,231 --> 00:05:14,140
我们来看

132
00:05:15,020 --> 00:05:16,583
它这个有方向的

133
00:05:16,583 --> 00:05:17,755
这个有方向的

134
00:05:17,755 --> 00:05:19,710
然后这个给它起了一个

135
00:05:21,940 --> 00:05:23,571
角色名叫a1

136
00:05:23,571 --> 00:05:25,203
这个activity叫a1

137
00:05:25,203 --> 00:05:31,322
相当于在这里面怎么称呼这个,这叫a1

138
00:05:31,322 --> 00:05:32,138
这叫a2

139
00:05:32,138 --> 00:05:32,954
这叫a3

140
00:05:32,954 --> 00:05:33,974
那怎么画

141
00:05:33,974 --> 00:05:36,830
就在关联这个里面画了

142
00:05:40,130 --> 00:05:40,766
加热水

143
00:05:40,766 --> 00:05:42,888
这个叫a1,角色名

144
00:05:42,888 --> 00:05:43,525
对吧

145
00:05:43,525 --> 00:05:45,860
然后呢,方向这是可导航的

146
00:05:45,860 --> 00:05:47,133
这个是单向

147
00:05:47,133 --> 00:05:47,770
不可导航的

148
00:05:48,530 --> 00:05:49,580
这样

149
00:05:50,500 --> 00:05:50,696


150
00:05:50,696 --> 00:05:52,460
我们可以把这个变成

151
00:05:53,380 --> 00:05:54,550
私有

152
00:05:57,290 --> 00:05:58,250
这样来

153
00:05:58,830 --> 00:06:00,454
你看a1出来

154
00:06:00,454 --> 00:06:00,860
对吧

155
00:06:01,140 --> 00:06:03,370
单向的,我们可以把这个

156
00:06:03,650 --> 00:06:06,160
改成横竖横竖的

157
00:06:06,700 --> 00:06:08,200
按住Ctrl

158
00:06:08,530 --> 00:06:08,866


159
00:06:08,866 --> 00:06:09,540
这样

160
00:06:11,050 --> 00:06:11,860

161
00:06:14,530 --> 00:06:15,540
还差什么

162
00:06:15,970 --> 00:06:16,380


163
00:06:16,380 --> 00:06:18,430
还差这个

164
00:06:20,460 --> 00:06:23,920
这个adjunct这个,这个是辅助的意思

165
00:06:23,920 --> 00:06:28,398
它就对应活动图上面那个调用

166
00:06:28,398 --> 00:06:31,044
大活动调用小活动那个关系

167
00:06:31,044 --> 00:06:34,301
相当于把活动图上面对的活动搬到这里来

168
00:06:34,301 --> 00:06:35,930
然后在这里就

169
00:06:36,460 --> 00:06:36,990
 

你可能感兴趣的:(系统工程,SysML,MBSE)