OpenModelica/C3/Component-oriented-modeling/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Ngi pdiang sngewbha sha ka spoken tutorial ha Component oriented modeling.
00:06 Ha kane ka jinghikai, ngin ia leit ban pule: kumno ban instantiate ka model.
00:12 Kumno ban define connector class bad kumno ban shna ka model jong ka simple electric circuit da kaba pyndonkam component models.
00:21 Ban record kane ka jinghikai, nga pyndonkam: openModelica 1.9.2. Ubuntu Operating System version 14.04.
00:31 Tangba kane ka rukom ka ia syriem bad kano kano na kine ki operating system harum.
00:39 Ban sngewthuh bad practice kane ka jinghikai, phi donkam ban tip kumno ban batai ia ka class ha Modelica.
00:45 Phi donkam ban tip kumno ban define ka package bad Icon and Diagram Views.
00:51 Ka jinghikai Prerequisite la kdew ha ka website ka jong ngi. Sngewbha pule ia ki.
00:57 Mynta to ngin ia pule shaphang ka Class Instantiation.
01:02 Modelica classes lah ban instantiated.
01:06 Kum ka nuksa, la ka jong lah ban khein kum ka instance jong u briew class. Instance jong ka class ka don ki juh ki variables bad equations kum ka class lajong.
01:20 Ka syntax n aka bynta ka Class Instantiation ka dei kumba lah pyni.
01:25 Mynta, to ngin ia sngewthuh kane lyngba ki nuksa. Sngewbha download bad save baroh ki files ba lah ban ioh na ka website ka jong ngi.
01:34 To ngan phai sha ka OMEdit. Ki files harum lah dep plie lypa ha ka OMEdit: classInstantiatiomExample bad simpleCircuit.
01:48 Klik-arsien ha classInstantiationExample. To ngin ia kren kham bun shaphang kane ka class mynta.
01:56 To ngan phai sha OMEdit window sha ka kadiang na ka bynta ka jingiohi ba kham shai.
02:02 Hangne, nga lah instantiated ka bouncingBall class ban shna artylli ki objects ba kyrteng object1 bad object2.
02:12 Kynmaw ba man la ki instance ki don kiba pher ki star values na ka jing jrong jong ki variable h.
02:20 Sngewbha refer ia jinghikai prerequisite na ka bynta ka jingtip ba kham bun ha ka bouncingBall model.
02:27 To ngin ia simulate kane ka class.
02:30 Klik ha Simulate button ha ka toolbar.
02:34 Ka class ka khlem simulate bad ai ia ka jing bakla.
02:39 Kane ka dei namar ba ka bouncingBall class ka khlem plie ha ka OMEdit.
02:45 Plie ia ka bouncingBall class kaba phi lah dep download na ka website.
02:50 Mynta, simulate kane ka class sa shisien. Khang ka window kaba mih.
02:56 Kynmaw b aka class simulates ka long kaba jop ha kane ka por.
03:01 Kane ka exercise ka pyni ba ka class ka dei ban plie ha OMEdit ban sha instantiated.
03:09 Pynheh ia ka object1 variables ha ka variables browser.
03:14 Kynmaw ba ka variables la pyni hangne la declare ha bouncingBall class.
03:20 Kine ki variables ki dei ki shibynta jong ka object1bad object2 namar ka pynbeit ia ka instances jong ka bouncingBall class
03:30 Mynta delete ka result bad phai biang sha ka slides.
03:37 Component orientation ka set ia ka Modelicalait noh na kiwei ki modelling bad simulation softwares.
03:43 Ka dei kawei kaba donkam bha ki feature jong Modelica.
03:48 componentmodels ka ieng ia kawei ka physical phenomenon.
03:53 Ki lah ban instantiated bad connect ban pynmih ki jingmih ba ngi kwah.
03:59 Kum ka nuksa, ka RLC circuit lah ban pyni na ka resistor, inductor bad capacitor models.
04:08 Acausal connectors ka dei kum ka interface hapdeng ka component instances.
04:15 Ki lah batai da kaba pyndonkam connector class. Kum ka nuksa, pinslah ban pyndonkam kum connectors naka bynta ka electrical components.
04:24 Ngin ia pule kham bun shaphang kane lada ngi pyrshang ban simulate ka nuksa na ak bynta ka electric circuit.
04:30 Connectorscontent ha baroh kawei ka flow variables bad kim lah ban don ka equations.
04:38 Mynta, to ngin ia simulate kane ka Electric Circuit kaba lah pyni ha kane ka slide.
04:43 Ka voltage jong u battery la ai da {VoSin(2pift)}, ha kaba Vo ka dei 10 Volts, f ka dei 1 Hz bad ka resistance ka dei 5ohm.
04:59 To ngin ia peit haka Solution Methodology ban model ia ka electric circuit kaba lah pyni ha ka slide kaba lah dep: kynmaw ba kano kano ka Resistor bad Voltage Source ka don artylli ki pins: Positivebad Negative.
05:14 Te nangta, batai ia u connector ba kyrteng pin
05:18 Define ia ka classba kyrteng Ground bad kawei ka instance jong u pin connector.
05:24 Define ia ka classba kyrteng Resistor.
05:28 Ka Resistor class ka dei ban don artylli ki instance jong u pin connector: Positive pin bad u Negative pin.
05:36 Define ia ka class ba kyrteng VoltageSource ryngkat bad artylli ki instances jong pin connector kumba ngi lah iohi ha ka case jong resistor class.
05:46 Define ia ka class ba kyrteng simpleCircuit. simpleCircuit ka dei ban don ka instances jong Resistor bad VoltageSource.
05:56 Connect ia ki pins kiba dei jong u Resistor, ground bad ka VoltageSource.
06:02 Ka component models kaba donkam lah dep programmed lypa.
06:07 Te, ngan pyni tang artylli ki steps kiba khatduh jong ka Solution Methodology.
06:13 To ngan phai sha ka “OMEdit”. Leit phai sha ka Modeling prespective.
06:19 To ngan phai sha ka OMEdit window sha ka liang kamon.
06:23 Pynheh simpleElectricCircuit package ha ka Libraries Browser.
06:29 Kynmaw ba kane ka package ka don san tylli ki classes ba kyrteng: pin, Ground, Resistor, Voltage Source bad circuit.
06:40 Klik-arsien ha simpleElectricCircuit. Khang ia ka ClassinstantiationExample.
06:48 To ngan phai sha ka OMEdit window sha ka kadiang sa shisien na ka bynta ka jing iohi ba kham shai.
06:54 Modelica.SIunits package ka la sha imported ha ka package simpleElectricCircuit.
07:02 Te, type definations ha kata ka package, lah ban pyndonkam khlem ka jing reference sha ka kyrteng kaba pura.
07:10 To ngin ia pyrshang ban sngewthuh pin connector. Scroll shapoh khyndiat.
07:17 Pin ka batai da kaba pyndonkam connector class.
07:21 Voltage bad current ki dei ki variables kiba u pin u ia bujli bad ka surroundings.
07:27 Potential ha u pin la batai da u v. Voltage bad Current ki dei types ba lah batai ha SIunits package jong ka Modelica library.
07:40 Voltage ha baroh kawei ka component ka pynlong ia ka current ban tuid lyngba jong ka.
07:44 Te, current ka dei ka flow variable bad la define da kaba pyndonkam flow keyword.
07:50 pin connector ruh ka don u Icon view ba la kdew da ka annotations kumba la pyni.
07:57 Mynta to ngin ia kren khyndiat shaphang Resistor class. Scroll shapoh kham khyndiat.
08:04 Kumba lah iakren ha ka Solution Methodology, Resistor class ka don artylli ki instances jong pin connector.
08:12 p u ieng na ka bynta u positive pin bad n u ieng na ka bynta negative pin.
08:18 Mynta, to ngan pyni ia phi kumno ban instantiate ka class da kaba pyndonkam ka drag and drop functionality jong OMEdit.
08:26 Ban pyni ia katei, to ngan plie ka class kaba thymmai da kaba pyndonkam Ctrl + N.
08:32 Pynkyrteng ia kane class example1 bad press OK. Shift OMEdit window sha ka kamon.
08:41 Leit sha Diagram View lada ka class ka plie ha ka Text View.
08:46 Mynta to ngan instantiate pin class.
08:51 Left-klik ha pin icon ha Libraries Browser.
08:55 Bat bad tan ia u icon ha ka diagram layer. Pynhap ia ka ha knao kano ka jaka jong ka canvas.
09:04 Ngi hap ban shna mynta ka instance jong pin class.
09:09 Phi lah ruh ban pynkylla ka dimension bad ka jaka hadien ba lah pynhap ia ka, kumba lah pyni.
09:16 Mynta to ngin ia peit kumno kane ka “class” la instantiated ha Text View. Leit sha Text View.
09:22 Kynmaw ba ka command na ka bynta ka instantiation jong ka class pin bad ka anootation ka shong ha ka placement ha ka Diagram View.
09:33 Te, ban shna ka instance jong ka class ha Diagram View automatically ka bynshat ha ka Text View. Mynta to ngan khang example1 tab.
09:45 To ngin ia pule kumno ka model electric circuit kaba ngi iohi ha ka slides.
09:51 Klik-arsien ha Circuit icon kaba dei ruh ka bynta jong ka simpleElectricCircuit package.
09:58 Kane ka class ka don lypa ha ka circuit ka jong ngi jong ka interest assembled, kumba ngi lah ban iohi ia ka ha Diagram View. Ka lah long kaba khreh ban simulate.
10:09 Tangba to ngin ia shna kajuh ka circuit ha ka file ba thymmai.
10:14 Ngi ia pyndonkam drag and drop functionality kaba ngi dang shu ia pule shaphang jong ka.
10:19 Press Ctrl + N. pynkyrteng ia kane ka file circuit(underscore)construction. Press OK.
10:28 Phai sha ka Diagram View, lada ka plie ha Text View.
10:32 Jied, tan bad pynhap ka VoltageSource icon na ka Libraries Browser. Phi lah ban pynkylla ka dimension kumba phi kwah.
10:43 Kumjuh ruh, jied, tan bad pynhap u Resistor icon na ka Libraries Browser.
10:50 Leh ia kajuh bad ka Ground class.
10:54 Mynta, ngi donkam ban connect kiba dei ki pins jong man la ki component.
11:00 To ngin ia connect nyngkong ia u positive pin jong Voltage Source sha u positive pin jong u Resistor.
11:07 Buh ia u mouse sha ka liang kadiang jong u pin jong ka Voltage Source.
11:11 Ka text kaba paw ka pyni ba, kane ka dei ka positive pin p.
11:17 Left klik ha une u pin bad tan ia u cursor kham shajan sha kadiang u pin jong Resistor.
11:24 Ieh ia u mouse haba ka jing paw jong cursor ka kylla sha u cross na u khnam.
11:30 Kumjuh ruh, connect ia ka negative pin jong resistor sha negative pin jong voltage source.
11:38 Ngi khlem pat kdew ia ka connections bad ka Ground ha ka circuit diagram.
11:44 Tangba, ngi donkam ban connect ka negative pins jong Resisitor bad Voltage Source sha Ground la ka jong.
11:51 Kane ka pyn tikna ia ka reference point na ka bynta ka potential ha circuit.
11:57 Mynta, kane ka class lah dep. Save ia ka class da kaba press Ctrl + S.
12:04 Klik ha Simulate button. Khang ia ka window kaba mih.
12:10 Ka class la dep simulate da kaba jop.
12:14 To ngan phai sha ka OMEdit window sha ka liang kadiang na ka bynta ka jing iohi bha jong ka Variables browser.
12:20 Pynheh ka Resistor column ha ka Variables Browser bad jied lr.
12:28 Kynmaw ba ka profile ka dei sinusoidal kum ba khmih lynti.
12:33 Namar ka Voltage Source ka dei ka AC source ha ka jaka jong DC.
12:38 Te, ngi lah dep shna ka model na component parts bad simulate ia ka
12:44 Ngin ia pule kham bun shaphang ka Resistor bad Voltage Source classes kaba ngi pyndonkam hangne ha kawei ka jinghikai.
12:52 To ngan phai sha ki slides.
12:55 Kane ka wanrah ia ngi sha kaba kut jong kane ka jinghikai.
12:59 Kum ka assignment, shna ka electric circuit ryngkat bad artylli ki resistors ha series, bad uwei u Voltage Source.
13:07 Pyndonkam ka component models na ka bynta ka Voltage Source bad Resistor ba lah pynbiang ha simple electric circuit package.
13:15 Peit ia ka video ba lah ban ioh na ka link harum: org /What\_is\_a\_Spoken\_Tutorial ka batai kyllum ia ka Spoken Tutorial project.
13:21 Ngi pynlong workshop da kaba pyndonkam ia ka spoken tutorials. Sngewbha phone sha ngi.
13:26 Lada phi don kano kano ka jingkylli na kane ka jinghikai, sngewbha wan jngoh ia ka website ba lah kdew harum.
13:32 Ngi coordinate coding jong ki nuksa ba lah dep khein lypa jong ki kot kiba paw. Sngewbha wan jngoh ia ka website ka jong ngi.
13:38 Ngi iarap ban migrate commercial simulator labs sha OpenModelica. Sngewbha wan jngoh i aka website harum na ka bynta ka jing tip ba kham bun.
13:47 Spoken Tutorial Project la noh synniang da ka NMEICT, MHRD jong ka Sorkar India.
13:54 Ngi ai khublei ia ka kynhun ba shna ia ka OpenModelica na ka bynta ka jing kyrshan ka jong ki. Ma nga I John Nongkynrih khublei shibun.

Contributors and Content Editors

John123, Mousumi