# Modeling and simulation with omedit

Part A – Modelica Basics

1. Create a function Average4, that returns the average of four Real values.

2. Create a record RecordArrays containing several vectors and matrices:

α vector containing the two Boolean values true and false,

a vector with five Integer values of your choice,

a matrix of three rows and four columns containing Strings of your choice,

a matrix of one row and five columns containing different Real values, also these of your choice

3. Create a model BouncingBall(use the example from the presentation), simulate it and plot the height of the bouncing ball.

4. Make a model SquareSignal with a period of 1s that starts at t = 2.5s. Note that it is possible to use either an equation or an algorithm solution. Hint: an easy way is to use sample(...) to generate events, and define a variable that switches sign at each event.

Part B – RLC Circuits

Design an RLC Ciruit with a DC Power Source using OMEdit and the Modelica analog library. Run the simulation and plot the inductor current and voltage.

Design an RLC Ciruit with an AC Power Source using OMEdit and the modelica analog library. Plot the inductor current for frequencies 10Hz, 100Hz, and 1000Hz.

Part C – PV Array

Design a verification model for a PV Array using the library PVSytems Use the same models and parameter settings with the verification model [login to view URL] of the PVSystems library. Modify the values for the irradiance and temperature blocks and see how these changes are reflected in a change in the PV curve. Use G=600 .... 1400 W/m2 (with step 100W/m2) και Τ= 0 ... 50 οC (with step 10οC). Convert Celsius temperature to match the temperature unit used by the model.

Instructions for submissions

Submit the modelica files used. Submit also a word document:

Describing the models / designs used

The simulation results

İşveren Hakkında:
( 4 değerlendirme ) Lamia, Greece

Proje NO: #18821097

## Bu iş için 2 freelancer ortalamada €125 teklif veriyor

goitomy12

Dear Employer, I'm interested in your modeling and simulation using Omedit task. I have 7+years of experience in Electrical Engineering. I have already done projects related pv systems in Matlab, PSCAD and Digsilent so Daha Fazla

€200 EUR in 7 gün içinde
(8 Değerlendirme)
3.6
anasshoaib

I can do this task as I have experience in modelling the system in electrical power. Will do it in specified time.

€50 EUR in 2 gün içinde
(3 Değerlendirme)
2.8