en
Feedback
DPL

DPL

Open in Telegram

Let's learn DPL DIgSILENT Programming Language

Show more
1 187
Subscribers
No data24 hours
No data7 days
+130 days
Posts Archive
DPL
1 187
photo content

DPL
1 187
#سوال 8: چگونه از طریق DPL شبیه سازی RMS/EMT را اجرا کنیم؟ (برنامه ای که فرکانس را پایش می کند و با افت فرکانس کلید یکی از بارها را باز می کند): 👇 Question 8 : How to run RMS / EMT simulation via DPL? (An script that monitors the frequency then opens a load switch by decreasing the network frequency):

DPL
1 187
dplx.mp43.48 MB

DPL
1 187
روش دیگر استفاده از متغیرهای آزاد dpl1 تا dpl5 برای ذخیره سازی نتایج عددی برای المانها است. در مثال زیر تعداد خطوط متصل به باسبار و جریان اتصال کوتاه برای هر باسبار ذخیره شده است👇 Another way is to use free variables (dpl1 to dpl5) to store numerical results for objects. In the following video , there is an example where the number of connected lines and the short-circuit current of each busbar is stored in indpl1 and dpl2, respectively.

DPL
1 187
photo content

DPL
1 187
روش دوم: استفاده از المان IntDplmap در زیر مجموعه DPL👇 Method 2: Create the IntDplmap object in the DPL contents👇

DPL
1 187
photo content

DPL
1 187
Method 1: Save in the Description variable of an element (for example, the variable xDesc of the current script): 👇

DPL
1 187
#سوال 7: چگونه لیستی از متغیرهای از نوع رشته را ذخیره و بازیابی کنیم؟ Question 7: How to save and restore a list of string variables?

DPL
1 187
photo content

DPL
1 187
#سوال 6: کدی بنویسید که المان های موجود در مجموعه s2 را از مجموعه s1 حذف کند و دست آخر محتویات مجموعه s1 را نمایش دهد. Question 6: Write an script that removes the s2 set objects from the s1 set and finally displays the contents of the s1.

DPL
1 187
روش دوم: با استفاده از متد AllRelevant و حلقه while Method 2: Using "AllRelevand" method and "while" loop.
روش دوم: با استفاده از متد AllRelevant و حلقه while Method 2: Using "AllRelevand" method and "while" loop.

DPL
1 187
روش اول: با استفاده از متغیر داخلی SEL و حلقه for Method 1: Using "SEL" and "for" loop
روش اول: با استفاده از متغیر داخلی SEL و حلقه for Method 1: Using "SEL" and "for" loop

DPL
1 187
پاسخ تمرین 2:👇

DPL
1 187
photo content

DPL
1 187
# Question 4: How to create a new project in a new folder using DPL: 👇 (in two different methods)

DPL
1 187
برای اجرای این کد یک فولدر با نام New Folder در درایو C ایجاد کنید یا داخل کد، مسیر دلخواه را وارد کنید. To run this code, create a folder nemed "New Folder" on drive C or enter the desired path inside the code.

DPL
1 187
Main - With DG.pfd1.52 KB

DPL
1 187
#کد_شماره_2: ذخیره مقادیر RMS از شبیه سازی EMT به کمک DPL و DSL:👇 Code_Number_2: Save RMS results from EMT simulation using DPL and DSL: 👇

DPL
1 187
برای اجرای کد بالا، نیاز به تغییر آدرس محل ذخیره فایلهای واسطه در داخل برنامه است. To execute the above code, you need to change the address of the intermediate files in the script.