SimTalk Tutorial (English) - 3. Variables

  Рет қаралды 819

Adrián García Moreno

Adrián García Moreno

Күн бұрын

Third video in the series of tutorials where we will learn to program from scratch in SimTalk, the Plant Simulation programming language, without the need for prior experience. In this chapter we will talk about Variables, one of the cornerstones of any programming language.

Пікірлер: 4
@Carlos_C11
@Carlos_C11 7 ай бұрын
Nice
@planetgamer5247
@planetgamer5247 7 ай бұрын
hello, can please help me with my problem- i have 3 different parts and they all have one operation in common but have different processing time and after completion of the opeartion on that station, the parts has to go to there respective different station. can you give the syntax to my problem. it would be very helpfull
@AdrianGarciaMoreno-Tutoriales
@AdrianGarciaMoreno-Tutoriales 6 ай бұрын
Hello @planetgamer5247, thank you for your comment. You could easily solve this problem setting the process time of the shared operation as a list, and assigning different processing times to each part in a data table. You can find an example of this in this video: kzbin.info/www/bejne/h4LSdqVph9aVf5Ysi=90Yw_hxCRxZ2pyGi After that, using the exit strategy of the station each part can be sent to their corresponding operations. However, if you'd like to solve this using SimTalk, I would place an Entrance Control in the Station and simulate the processing time with the function "wait". After that, you could simply move the part to the next station. If the process time and destinations for each part were saved in a DataTable, the code would be something like this: wait DataTable["ProcessTime",@.Name] @.move(DataTable["Destination",@.Name]) I hope this solves your problem.
@planetgamer5247
@planetgamer5247 6 ай бұрын
@@AdrianGarciaMoreno-Tutoriales thank you so much
SimTalk Tutorial (English) - 4. Basic functions
18:51
Adrián García Moreno
Рет қаралды 794
SimTalk Tutorial (English) - 5. Conditional control structures
7:16
Adrián García Moreno
Рет қаралды 430
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 76 МЛН
Will A Guitar Boat Hold My Weight?
00:20
MrBeast
Рет қаралды 206 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 1,8 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 60 МЛН
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 65 М.
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 303 М.
SimTalk Tutorial (English) - 6. Iterative control structures
9:11
Adrián García Moreno
Рет қаралды 364
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 158 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 40 МЛН
Plant Simulation Tutorial (English) - 3. Source, Station, Drain
10:19
Adrián García Moreno
Рет қаралды 1,2 М.
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 76 МЛН