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

0

00:00:00,670 --> 00:00:01,582

如果不加图

1

00:00:01,582 --> 00:00:02,130

怎么加

2

00:00:02,130 --> 00:00:03,225

我们来看一下

3

00:00:03,225 --> 00:00:03,590

你看

4

00:00:03,980 --> 00:00:06,720

右键点这个,添加元素

5

00:00:07,380 --> 00:00:07,960

6

00:00:08,500 --> 00:00:09,800

这里选

7

00:00:10,400 --> 00:00:13,100

系统工程,SysML

8

00:00:13,480 --> 00:00:13,781

9

00:00:13,781 --> 00:00:17,700

然后SysML 1.5,块定义

10

00:00:18,000 --> 00:00:18,167

11

00:00:18,167 --> 00:00:20,005

这里默认就已经是block了

12

00:00:20,005 --> 00:00:22,010

那我们首先加第一个是什么

13

00:00:22,860 --> 00:00:23,620

这个

14

00:00:27,300 --> 00:00:29,150

蒸馏器系统上下文

15

00:00:30,570 --> 00:00:33,820

直接敲蒸馏器系统

16

00:00:34,540 --> 00:00:35,920

上下文

17

00:00:39,420 --> 00:00:41,080

你看,这就多了一个

18

00:00:41,080 --> 00:00:41,495

对吧

19

00:00:41,495 --> 00:00:42,948

然后可以继续加

20

00:00:42,948 --> 00:00:44,608

你看那个界面还在

21

00:00:44,608 --> 00:00:45,231

对不对

22

00:00:45,231 --> 00:00:47,722

我们一个一个加,水源,蒸馏器

23

00:00:47,722 --> 00:00:49,174

水分配系统,热源

24

00:00:49,174 --> 00:00:49,590

对吧

25

00:00:50,270 --> 00:00:52,420

水源

26

00:00:56,010 --> 00:00:57,390

蒸馏器

27

00:00:59,320 --> 00:01:02,160

水分配系统

28

00:01:08,830 --> 00:01:10,130

热源

29

00:01:12,970 --> 00:01:13,220

30

00:01:13,220 --> 00:01:13,970

还有吗

31

00:01:13,970 --> 00:01:14,720

我看看

32

00:01:15,520 --> 00:01:17,100

33

00:01:17,730 --> 00:01:18,078

34

00:01:18,078 --> 00:01:19,470

就这几个

35

00:01:20,060 --> 00:01:20,392

36

00:01:20,392 --> 00:01:23,720

这是这几个结点上那个block了

37

00:01:24,020 --> 00:01:28,291

也就是说,结点上这个block每个代表一个什么

38

00:01:28,291 --> 00:01:29,640

代表一个系统

39

00:01:29,640 --> 00:01:30,090

对吧

40

00:01:30,370 --> 00:01:31,470

所以这个

41

00:01:32,140 --> 00:01:36,136

块内部图的抽象级别是在什么级别

42

00:01:36,136 --> 00:01:39,910

它是系统之间的交互

43

00:01:44,340 --> 00:01:44,654

44

00:01:44,654 --> 00:01:45,910

这里没了

45

00:01:47,070 --> 00:01:50,190

那接下来,就来加这个了

46

00:01:50,650 --> 00:01:52,630

中间这个流动

47

00:01:52,630 --> 00:01:53,950

这个热、水

48

00:01:53,950 --> 00:01:54,610

这个

49

00:01:56,280 --> 00:01:58,772

你看,这后面是类

50

00:01:58,772 --> 00:02:01,014

这后面是那个类

51

00:02:01,014 --> 00:02:02,510

或者类元,这是那个

52

00:02:03,060 --> 00:02:05,028

实例的名字,对吧

53

00:02:05,028 --> 00:02:05,310

54

00:02:05,310 --> 00:02:07,278

冒号右边是类型

55

00:02:07,278 --> 00:02:08,403

左边实例

56

00:02:08,403 --> 00:02:09,810

所以我们是

57

00:02:10,130 --> 00:02:10,990

58

00:02:11,490 --> 00:02:12,595

加这个类型

59

00:02:12,595 --> 00:02:13,921

一个水,一个热

60

00:02:13,921 --> 00:02:15,911

后面什么污水净水呀

61

00:02:15,911 --> 00:02:17,680

这个是它的那个

62

00:02:18,190 --> 00:02:19,670

实例的名字

63

00:02:19,950 --> 00:02:22,250

或者说,角色的名字

64

00:02:24,050 --> 00:02:24,997

加在哪里

65

00:02:24,997 --> 00:02:27,130

那这个是放在值类型

66

00:02:28,670 --> 00:02:30,390

这个包这里

67

00:02:32,440 --> 00:02:33,890

这里我们可以

68

00:02:35,000 --> 00:02:37,153

添加两个block,一样的

69

00:02:37,153 --> 00:02:38,349

跟刚才一样

70

00:02:38,349 --> 00:02:40,742

你可以不用画图都可以

71

00:02:40,742 --> 00:02:40,981

72

00:02:40,981 --> 00:02:41,460

添加

73

00:02:41,740 --> 00:02:42,790

一个是

74

00:02:43,070 --> 00:02:44,020

75

00:02:49,420 --> 00:02:50,620

一个是热

76

00:02:54,770 --> 00:02:55,570

77

00:02:56,470 --> 00:02:57,790

这两个有了

78

00:03:01,690 --> 00:03:03,190

那接下来

79

00:03:03,900 --> 00:03:05,793

就是要画这个图了

80

00:03:05,793 --> 00:03:07,450

你看,这个图是什么

81

00:03:08,420 --> 00:03:13,470

这个蒸馏器系统上下文这个block的什么

82

00:03:13,750 --> 00:03:16,570

IBD,就是内部块图

83

00:03:17,790 --> 00:03:19,050

它名字叫

84

00:03:19,630 --> 00:03:21,650

context,上下文

85

00:03:22,400 --> 00:03:23,240

这是它的名字

86

00:03:23,240 --> 00:03:24,753

那我们就来画一下

87

00:03:24,753 --> 00:03:25,090

你看

88

00:03:26,110 --> 00:03:28,570

针对这个上下文

89

00:03:29,220 --> 00:03:30,048

画图嘛

90

00:03:30,048 --> 00:03:31,430

右键点它

91

00:03:31,970 --> 00:03:34,040

添加一个这个

92

00:03:35,180 --> 00:03:35,860

对吧

93

00:03:36,140 --> 00:03:37,270

添加这个

94

00:03:38,460 --> 00:03:38,756

95

00:03:38,756 --> 00:03:40,830

图的名字,上下文

96

00:03:44,360 --> 00:03:45,812

怎么1.4

97

00:03:45,812 --> 00:03:47,103

我们不要1.4

98

00:03:47,103 --> 00:03:47,910

我们1.5

99

00:03:48,230 --> 00:03:49,310

添加

100

00:03:49,880 --> 00:03:51,530

添加图

101

00:03:51,870 --> 00:03:53,070

然后呢

102

00:03:53,070 --> 00:03:53,870

这个

103

00:03:56,060 --> 00:03:57,320

SysML

104

00:03:57,910 --> 00:03:58,900

1.5

105

00:03:59,560 --> 00:04:00,180

106

00:04:01,230 --> 00:04:02,030

这个

107

00:04:02,470 --> 00:04:04,370

然后改名叫上下文

108

00:04:07,890 --> 00:04:08,157

109

00:04:08,157 --> 00:04:10,560

你看,对应一下这个

110

00:04:11,570 --> 00:04:13,410

IBD block

111

00:04:13,850 --> 00:04:15,930

蒸馏器系统上下文,上下文

112

00:04:16,760 --> 00:04:20,113

IBD block,蒸馏器系统上下文

113

00:04:20,113 --> 00:04:20,831

对吧

114

00:04:20,831 --> 00:04:21,310

115

00:04:21,310 --> 00:04:21,790

接下来,我们就要来

116

00:04:23,830 --> 00:04:25,020

把这些

117

00:04:25,790 --> 00:04:27,210

放上去了

118

00:04:27,720 --> 00:04:29,740

那这些浏览器里都有了嘛

119

00:04:29,740 --> 00:04:30,144

对吧

120

00:04:30,144 --> 00:04:31,760

我们就把它拖上来

121

00:04:35,010 --> 00:04:36,270

第一个要拖的

122

00:04:36,270 --> 00:04:37,110

就是那个

123

00:04:38,140 --> 00:04:39,170

水源

124

00:04:39,530 --> 00:04:41,340

这里,拖上来

125

00:04:42,990 --> 00:04:47,269

然后这里选property,表示这是它的一个属性

126

00:04:47,269 --> 00:04:49,623

它默认就property,属性

127

00:04:49,623 --> 00:04:51,120

还有其他选项

128

00:04:51,120 --> 00:04:52,618

先不用管它

129

00:04:52,618 --> 00:04:54,116

就这个,属性

130

00:04:54,116 --> 00:04:55,186

实际上这一步

131

00:04:55,186 --> 00:04:56,470

跟我们在那个

132

00:04:57,750 --> 00:05:00,454

块定义图里面画那个组合关系

133

00:05:00,454 --> 00:05:01,910

是一样的

134

00:05:02,190 --> 00:05:04,836

只不过我们这里没有画那个块定义图组合关系

135

00:05:04,836 --> 00:05:06,160

如果你画了组合关系

136

00:05:07,020 --> 00:05:10,240

说我这个上下文组合了一个水源

137

00:05:10,900 --> 00:05:12,100

那么这个

138

00:05:12,510 --> 00:05:15,995

上下文这里,你看,这里就出现一个属性嘛

139

00:05:15,995 --> 00:05:16,815

你看

140

00:05:16,815 --> 00:05:17,020

141

00:05:17,020 --> 00:05:20,095

你在块定义图里面画一个组合关系

142

00:05:20,095 --> 00:05:22,145

它也可以起到这个效果

143

00:05:22,145 --> 00:05:23,990

它也是一个属性

144

00:05:24,560 --> 00:05:26,786

因为我没有画块定义图嘛

145

00:05:26,786 --> 00:05:28,608

我们直接在块内部图

146

00:05:28,608 --> 00:05:31,240

内部块图这里操作了

147

00:05:32,270 --> 00:05:35,299

所以这里,那这个名字就不要了

148

00:05:35,299 --> 00:05:36,380

这名字不要

149

00:05:36,380 --> 00:05:37,030

因为它

150

00:05:39,350 --> 00:05:41,937

那个图上这里就没有名字嘛

151

00:05:41,937 --> 00:05:42,335

对吧

152

00:05:42,335 --> 00:05:43,530

这里没有名字

153

00:05:43,990 --> 00:05:47,040

左边这个实例名没有

154

00:05:47,440 --> 00:05:50,820

还有,接下来,下一个就是那个蒸馏器

155

00:05:55,620 --> 00:05:57,300

也同样不要名字

156

00:05:59,620 --> 00:06:00,630

还有什么

157

00:06:01,350 --> 00:06:02,670

水分配系统

158

00:06:12,110 --> 00:06:13,865

还有操作人员

159

00:06:13,865 --> 00:06:16,280

那从用例那里拖过来了

160

00:06:16,600 --> 00:06:17,420

放这里

161

00:06:26,380 --> 00:06:28,670

还有什么,热源

162

00:06:39,530 --> 00:06:43,100

还有一个小人是用水人员

163

00:06:50,970 --> 00:06:52,070

这样

164

00:06:52,350 --> 00:06:54,150

我们对齐一下

165

00:07:09,700 --> 00:07:10,730

小一点

166

00:07:11,530 --> 00:07:11,822

167

00:07:11,822 --> 00:07:12,990

往下一点

168

00:07:48,280 --> 00:07:49,220

169

00:07:50,080 --> 00:07:51,130

这样来

170

00:07:52,000 --> 00:07:55,290

那接下来,你看,这里有一个

171

00:07:55,850 --> 00:07:56,793

多重性

172

00:07:56,793 --> 00:07:59,386

表示这个属性的多重性

173

00:07:59,386 --> 00:08:00,330

这个得先

174

00:08:00,820 --> 00:08:02,100

设置了

175

00:08:04,390 --> 00:08:05,201

那多重性在哪里设置

176

00:08:05,201 --> 00:08:07,230

就选中这个

177

00:08:09,170 --> 00:08:12,010

然后在property这里

178

00:08:12,410 --> 00:08:13,090

179

00:08:13,630 --> 00:08:14,945

然后往下走

180

00:08:14,945 --> 00:08:16,260

你看有多重性

181

00:08:17,930 --> 00:08:20,094

然后这个是多少来着

182

00:08:20,094 --> 00:08:21,297

一到多,对吧

183

00:08:21,297 --> 00:08:22,740

所以下限是1

184

00:08:23,190 --> 00:08:24,820

上限是多

185

00:08:27,650 --> 00:08:28,270

186

00:08:29,340 --> 00:08:29,583

187

00:08:29,583 --> 00:08:31,528

你看,这就出来了

188

00:08:31,528 --> 00:08:33,230

这个呢,是多少

189

00:08:33,510 --> 00:08:36,750

这是0到多

190

00:08:37,740 --> 00:08:39,195

下限是0

191

00:08:39,195 --> 00:08:40,650

上限是多

192

00:08:42,880 --> 00:08:43,154

193

00:08:43,154 --> 00:08:44,250

这样来

194

00:08:44,880 --> 00:08:46,005

搞小一点

195

00:08:46,005 --> 00:08:47,580

这个太大了

196

00:08:57,930 --> 00:08:59,150

下面也是一样

197

00:08:59,860 --> 00:09:00,061

198

00:09:00,061 --> 00:09:01,070

都搞小一点

199

00:09:12,430 --> 00:09:12,846

200

00:09:12,846 --> 00:09:14,510

这搞定了

201

00:09:15,310 --> 00:09:17,355

但是这里有个小人

202

00:09:17,355 --> 00:09:19,401

这个就搞不定了

203

00:09:19,401 --> 00:09:20,310

这搞不定

204

00:09:20,310 --> 00:09:21,220

因为那个

205

00:09:21,710 --> 00:09:22,801

这里没有小人

206

00:09:22,801 --> 00:09:24,257

你要小人可以

207

00:09:24,257 --> 00:09:25,531

你把小人拖上来

208

00:09:25,531 --> 00:09:26,440

你看怎么做

209

00:09:26,440 --> 00:09:28,260

如果你不想要这个

210

00:09:28,260 --> 00:09:29,534

你想要小人呢

211

00:09:29,534 --> 00:09:30,080

拖上来

212

00:09:30,520 --> 00:09:30,723

213

00:09:30,723 --> 00:09:33,159

但这里就不要Property了

214

00:09:33,159 --> 00:09:34,580

这里选实例

215

00:09:34,940 --> 00:09:35,670

这里

216

00:09:36,740 --> 00:09:37,836

这样可以

217

00:09:37,836 --> 00:09:39,590

但是这样可以的话

218

00:09:39,590 --> 00:09:42,880

这边就没有这个方框了

219

00:09:44,260 --> 00:09:47,460

所以我们这里,这小人就不管它了

220

00:09:51,410 --> 00:09:51,686

221

00:09:51,686 --> 00:09:53,900

接下来呢,就是轮到

222

00:09:54,630 --> 00:09:57,750

各个block之间的那个

223

00:09:58,590 --> 00:10:01,140

应该说各个属性之间的那个

224

00:10:01,750 --> 00:10:02,630

关系了

225

00:10:02,630 --> 00:10:03,510

那个连接

226

00:10:03,510 --> 00:10:06,810

那这里面的连接,实际上就一个,就是那个

227

00:10:08,750 --> 00:10:14,981

项,item的这个流,item这个流的关系

228

00:10:14,981 --> 00:10:17,813

实际上是一种动态的关系

229

00:10:17,813 --> 00:10:18,380

我有

230

00:10:19,140 --> 00:10:20,910

水流到你那里

231

00:10:22,700 --> 00:10:24,130

那这个怎么画

232

00:10:25,310 --> 00:10:28,047

我们的那个水、热是在哪里

233

00:10:28,047 --> 00:10:29,415

水、热在这里嘛

234

00:10:29,415 --> 00:10:29,871

对吧

235

00:10:29,871 --> 00:10:30,100

236

00:10:32,430 --> 00:10:33,673

然后画过来

237

00:10:33,673 --> 00:10:37,653

显然这个三角这个,就是哪一个

238

00:10:37,653 --> 00:10:38,400

就这个

239

00:10:39,390 --> 00:10:43,010

项流这个,你看怎么画

240

00:10:43,010 --> 00:10:44,820

选中这个,画过来

241

00:10:46,150 --> 00:10:46,800

242

00:10:47,080 --> 00:10:48,520

然后添加

243

00:10:48,960 --> 00:10:50,588

我们是水嘛

244

00:10:50,588 --> 00:10:51,240

对吧

245

00:10:51,950 --> 00:10:52,770

确定

246

00:10:53,170 --> 00:10:54,920

然后这里添加上这个

247

00:10:58,370 --> 00:10:58,598

248

00:10:58,598 --> 00:10:59,738

这样过来

249

00:10:59,738 --> 00:11:01,334

我把它过来一点

250

00:11:01,334 --> 00:11:01,562

251

00:11:01,562 --> 00:11:02,930

有点窄了

252

00:11:06,850 --> 00:11:07,152

253

00:11:07,152 --> 00:11:08,060

接下来

254

00:11:09,900 --> 00:11:14,340

但是这个跟我们这个图上不是一致的哦

255

00:11:15,660 --> 00:11:17,809

图上是说,你看,水是水

256

00:11:17,809 --> 00:11:19,720

它前面有个说脏水

257

00:11:20,290 --> 00:11:20,658

258

00:11:20,658 --> 00:11:22,500

也就是说,水

259

00:11:24,610 --> 00:11:25,640

是一个

260

00:11:26,000 --> 00:11:27,020

大的类型

261

00:11:27,020 --> 00:11:29,060

下面又分脏水

262

00:11:29,530 --> 00:11:30,550

净水

263

00:11:31,710 --> 00:11:33,780

那这个脏水怎么表达

264

00:11:34,570 --> 00:11:34,751

265

00:11:34,751 --> 00:11:36,925

不可能说我把水改成冒号

266

00:11:36,925 --> 00:11:37,830

这不行

267

00:11:37,830 --> 00:11:39,280

另外一种就是什么

268

00:11:39,890 --> 00:11:44,330

一种做法是在这上面添加一个污水的

269

00:11:45,690 --> 00:11:46,530

Block

270

00:11:46,890 --> 00:11:49,950

它是这个水的一个

271

00:11:50,780 --> 00:11:52,470

子类

272

00:11:52,750 --> 00:11:55,420

或者子block,一个泛化关系

273

00:11:56,720 --> 00:11:56,888

274

00:11:56,888 --> 00:11:58,574

污水去继承这个水

275

00:11:58,574 --> 00:12:00,260

但这里说的不是继承

276

00:12:00,260 --> 00:12:02,790

而是说什么,冒号说的是一个实例

相关推荐
杭州华望MBSE17 天前
数字赋能 自主创新 | 华望系统科技在2024年度“直通乌镇”全球互联网大赛上斩获大奖!
经验分享·学习·mbse·国产工业软件·互联网大会
rolt2 个月前
UML/SysML建模工具更新情况(2024年7-10月)共11款
uml·sysml
rolt3 个月前
SysML案例-风力发电
mbse·sysml·系统工程
rolt3 个月前
SysML案例-清朝、火星人入侵地球
mbse·sysml·系统工程
rolt3 个月前
SysML图例-智能家居
mbse·sysml·系统工程
BGK1123583 个月前
系统工程建模MBSE
mbse
rolt4 个月前
[图解]片段16 ESS状态机图-SysMLEA建模住宅安全系统
mbse·系统工程
rolt5 个月前
[图解]SysML建模电磁轨道炮-01块定义图
mbse·系统工程
rolt5 个月前
[图解]SysML和EA建模住宅安全系统-14-黑盒系统规约
架构师·mbse·系统工程
rolt5 个月前
[图解]SysML和EA建模住宅安全系统-11-接口块
架构·架构师·mbse·系统工程