OpenModelica/C3/Block-Component-Modeling/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search


Time Narration
00:01 Ngi pdiang sngewbha sha ka spoken tutorial ha Block component modeling.
00:06 Ha kane ka jinghikai, ngin ia pule: kumno ban define ia ka block.
00:12 Kumno ban connect blocks.
00:15 Kumno ban pyndonkam ki blocks na Modelica Library.
00:19 Ban record kane ka jing hikai, nga pyndonkam: OpenModelica version 1.9.2
00:26 Phi lah ban pyndonkam kano kano na kine ki operating system ha rum.
00:30 Ban sngewthuh bad practice kane ka jinghikai, phi donkam ka jing tip jong component oriented modelling ha Modelica.
00:38 Prerequisite jinghikai lah kdew ha ka website ka jong ngi. Sngewbha pule ia ki.
00:44 To ngin ia pule mynta kham bun shaphang ki blocks.
00:48 block ka dei ka specialized class ha Modelica.
00:52 Ki long kiba donkam ha ka control applications.
00:56 Kum ka nuksa, Modelica Library ka don ki blocks n aka bynta ka PI bad PID controllers kaba ngi lah ju iohi bha ha ka chemical engineering control applications.
01:08 Variables jong ki block class dei ban don ki fixed causality: lane input lane output.
01:15 blocks lah ban connect da kaba pyndonkam connect statements.
01:19 Ngi lah dep pule shaphang connect statements ha ka jinghikai kaba lah dep.
01:24 Connectors ka ieng kum ka interface hapdeng blocks.
01:28 Ki la pyndonkam ban model input bad output signals.
01:33 Kum ka nuksa, kane ka dei ka declaration n aka bynta ka block connector kaba shna ia ka real input signals.
01:41 To ngin ia pyrshang ban sngewthuh block component modeling lyngba ka nuksa.
01:47 To ngin ia thoh ka class kaba pyndonkam ki blocks ban leh ki operations harum: shim ar sien ki varying signals kum input bad output ia ka sum jong ki.
01:59 Shim ia ka por kaba pher ka signal kum ka input bad amplify ia ka da u constant.
02:05 To ngin ia defin ia kane ka problem statement kham bniah da kaba pyndonkam schematics.
02:11 Kane ka dur ka pyni ia ka schematic naka bynta ka block kaba shim ia artylli ki signals kum ka input bad ka pynphai ia ka sum ka jong ki.
02:19 Ban shna ia ka kham suk, to ngin ia jied signal 1 ban dei t kaba ieng ia ka por.
02:26 To ka signal 2 kan dei 2 (times) t (squared)
02:31 Kane ka dei ka schematic na ka bynta ka application jong ka signal.
02:35 Ka kham ia syriem bad ka case kaba lah dep bad artylli ki “inputs” bad kawei ka “output”.
02:41 To ngin ia jied kawei ka inputkaban dei ka signal ka jong ngi.
02:46 To sa kawei ka input i.e. signal 2 ban dei u constant K kaba dei ban amplify ia ka signal.
02:54 Ka prduct jong kine ki artylli ki inputs ka dei ka output ba dokam
02:59 Ngi lah dep jied ka signal 2 i.e. K kan dei 5 units.
03:06 Kynmaw ba baroh ar ki Sum jong ki signal bad amplification ki donkam ka block bad 2 inputs bad 1 output.
03:16 Modelica library ka lah dep don lypa ka block ba kyrteng MISO kaba ieng na ka bynta ka Multiple Input Single Output.
03:24 Ka lah ban ioh na Modelica.Interfaces.Block package.
03:30 Ka input jong kane ka block u ka dei ka vector namar ka lah ban pdiang bun tylli ki signal kum ka input.
03:38 y ka dei ka output kaba dei ka scalar
03:42 To mynta ngin ia kren kumno ban solve ka problem ka jong ngi da kaba pyndonkam OMEdit.
03:48 Extend MISO block ban shna ka block ba kyrteng Sum.
03:53 Ngi lah dep ia pule shaphang ka jing extend ia ka class ha ka tutorial ba lah dep.
03:59 Extend MISO ban shna ka block ba kyrteng Product.
04:04 Shna ka class ba kyrteng man.
04:08 Shna ka instances jong ka Sum bad Product blocks ha ka main class.
04:14 Khatduh eh, program i aka equation ba donkam ba iadei bad ki input bad output variables.
04:22 Kynmaw ba ka Sum ka ieng ia ka Sum jong ki signals kat ba Product ka ieng ia ka amplification of signal.
04:32 Nga lah dep shna lypa ki blocks kiba donkam bad packaged ia ki haka file ba kyrteng arithmeticOperationsUsingBlocks.
04:42 Phi lah ban lap ia kane ka file ha ka website bad download ia ka.
04:46 To ngan phai sha ka OMEdit.
04:49 Nyngkong eh ngan pyni ia ka package arithmeticOperationsUsingBlocks bad nangta pyni ia ka syntax jong MISO block.
04:59 Nga lah dep plie lypa ia ka package arithmeticOperationsUsingBlocks ha ka OMEdit.
05:06 To ngan pynheh ia ka ha ka Libraries Browser.
05:10 Kynmaw ba ka package ka don ki blocks ba kyrteng Sum, Product bad ka main class.
05:18 Klik-arsien ha baroh lai tylli.
05:24 To ngan plie ruh ia ka MISO block na ka Modelica Library
05:29 Pynheh ia ka ModelicaLibrary.
05:32 Leit sha Blocks → Interfaces. Scroll shapoh khyndiat.
05:39 Klik arsien ha MISO.
05:43 Interfaces package ruh ka don shibun kiwei ki blocks kiba ia syriem ha ka MISO ha ka functionality.
05:51 Mynta to ngan shift sha ka OMEdit window sha ka liang kadiang na ka bynta ka jing iohi kaba shai.
05:57 To ngin ia peit nyngkong hapoh ka Sum block.
06:01 Phai sha ka Text View lada ka plie ha ka Diagram View.
06:05 Kane ka dei ka syntax na ka bynta ban declare ia ka block.
06:10 Kane ka statement la pyndonkam ban inherit ia ka MISO block na ka location ha ka Modelica library.
06:16 Ngi lah dep pule shaphang Class inheritance lane Class extension ha ki tutorials ba lah dep.
06:23 To mynta ngan kynran dien khyndiat bad pyni ia ka MISO block.
06:29 Leit sha MISO tab. Phai sha Text View.
06:35 MISO ka dei ka block ba tang khyndiat kaba mut ba ka lah tang ban inherited tangba ym ban instantiated.
06:43 Ka inherits Block class.
06:46 Phi lah ban shem ia kane ha Modelica library da kaba pyndonkam ka path ba lah pyni.
06:51 Kane ka class la pyndonkam hangne tang na ka daw jong ka Diagram View bad kam da donkam ban iakren.
06:58 nin ka ieng ia ki number jong ki inputs.
07:02 Kine ki parameter lah ban pynkylla haba ka block la shah inherit.
07:08 RealInput u dei u connector uba juh ieng ia ka real input signal.
07:14 Ha kane ka case, ka input ka dei ka vector u kumba ngi lah dep iakren.
07:20 Kumjuh ruh, RealOutput udei u connector uba ieng ia ka real output signal.
07:27 Hangne, y u dei u real-valued output signal.
07:31 RealInput bad RealOutput ki don ha ka juh ka package jong Modelica Library kum MISO.
07:38 Sngewbha peit ia ki.
07:41 Mynta, to ngan pyni ia phi kumno ka Diagram View jong MISO block ka long.
07:46 To ngin ia phai biang sha ka Sum block bad btengn biang nangno na kaba phi lah ieh.
07:52 Variables y bad u ka dei ka bynta jong kane ka block namar ba ka inherits MISO.
07:59 Kumba ngi lah ia pule ha ka jinghikai kaba lah dep, Sum ka dei ka array function.
08:05 Ka shim ia ka array kum ka input bad ka pynphai ia ka sum jong ki elements.
08:11 To ngan phai sha ka Product block. Phai sha ka Text View.
08:17 Kane ka block ka inherits MISO kumjuh ruh.
08:21 Kumba ngi lah iohi ha ki jinghikai kiba lah dep, Product ka dei ka array function kaba shim ia ka arra kum ka input.
08:29 Ka pynphai ia ka product jong ki elements.
08:33 To ngan phai mynta sha ka main class.
08:37 Phai sha ka Text View.
08:39 Kine ki statements ki thew ia ka instantiation jong ka Sum bad Product blocks.
08:44 Kine ki instances ki lah ruh ban shna da kaba pyndonkam ka drag bad drop functionality jong OMEdit.
08:51 Ngi ia kren ia kine ki feature ha ki jing hikai kaba lah dep.
08:56 nin u dei u parameter n aka bynta ka dimension jong input vector u ha MISO.
09:03 Ngi ia assign ka value jong 2 ia kane ka parameter.
09:07 Kane ka equation ka thew ia ki values jong signal 1 bad signal 2 na ka bynta ka Sum jong signals kaba ngi lah iakren ha ki slides.
09:17 Kumjuh ruh, kane ka thew ba ki values jong Signal 1 bad Signal 2 na ka bynta ka amplification jong ka signal kumba ngi lah dep iakren.
09:29 To ngan simulate mynta ia kane ka class. Click ha Simulate button.
09:33 Khang ia ka pop up window.
09:36 Expand mySum ha Libraries Browser. Jied y.
09:43 Kynmaw ba kane ka pynmih ia ka plot kaba ia biang bad ki values jong ka signal ba lah dep ai.
09:51 Kane ka wanrah ia ngi sha kaba kut jong kane ka jing hikai.
09:54 Kum ka assignment, peit hapoh ki codes na ka bynta RealInput, RealOutput, SI, SO bad MO blocks.
10:04 Phi lah ban shem ia ki ha ka Modelica.Blocks.Interfaces package.
10:10 RealInput bad RealOutput ki dei ki connectors ki ba juh iai pyndonkam man ka por.
10:17 Te ka long kaba donkam ban sngewthuh ia ki.
10:21 Peit i aka video ba lah ban ioh na ka link harum: http://spoken-tutorial.org/What\_is\_a\_Spoken\_Tutorial . Ka batai kyllum ia ka Spoken Tutorial project.
10:27 Ngi pynlong ki workshop da kaba pyndonkam spoken tutorials. Ngi ai certificates. Sngewbha phone sha ngi.
10:33 Lada phi don ka jingkylli ha kane ka spoken tutorial, sngewbha wanjngoh i aka webpage ba lah kdew.
10:40 Ngi coordinate ki coding jong ki nuksa ba lah dep solve na ki kot kiba paw. Ngi ai honorariu, ia kiba noh synniang. Sngewbha wan jngoh ia ka website ka jong ngi.
10:50 Ngi iarap ban migrate labs na commercial simulators sha OpenModelica.
10:56 Spoken Tutorial Project la noh synniang da ka NMEICT, MHRD, jong ka sorkar India.
11:03 Ngi ai khuble ia ka kynhuhn ki nongshna jong ka OpenModelica na ka bynta ka jing kyrshan ka jong ki.
11:09 Nga kwah ban ai khublei ia phi ba phi lah don bad nga ha kane ka jing hikai. Ma nga I John Nongkynrih Leit suk.

Contributors and Content Editors

John123