> For the complete documentation index, see [llms.txt](https://water-strategy.gitbook.io/waterstrategy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://water-strategy.gitbook.io/waterstrategy/ardw/sbq/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules.md).

# بیرونی ڈیٹا فریم کو پڑھنے اور اپنی مرضی کے قواعد شامل کرنے کے PYWR منظرنامے

اس ٹیوٹوریل میں، ہم اس کے ساتھ کام کریں گے **تھیمز نیٹ ورک**، جس کی ایک کاپی آپ کو خود بخود موصول ہوتی ہے جب آپ WaterStrategy اکاؤنٹ بناتے ہیں۔

احاطہ کردہ اقدامات میں شامل ہیں:

1. **لی ویلی ڈیمانڈ کو اپ ڈیٹ کرنا**: ہم ٹائم سیریز پر مشتمل بیرونی CSV فائل سے لی ویلی ڈیمانڈ ڈیٹا کو پڑھیں گے اور اپ ڈیٹ کریں گے۔
2. **موسمیاتی تبدیلی کی غیر یقینی**: موسمیاتی تبدیلی کے غیر یقینی صورتحال کو فعال کرکے متعارف **پیور منظرنامے**. ان غیر یقینی صورتوں کا اطلاق دو کیچمنٹ نوڈس (انفلو) پر کیا جائے گا، جو مخصوص منظرناموں کی بنیاد پر انفلو کے حالات کو ایڈجسٹ کیا جائے گا۔
3. **ایک کسٹم رول شامل کرنا**: آپ کسٹم رول بنانے کا طریقہ سیکھیں گے، ایک طاقتور ٹول جو WaterStrategy فعالیت کی توسیع اور انضمام کی اجازت دیتا ہے۔ اس مثال میں، ایک مخصوص تاریخ پر ذخائر کے زیادہ سے زیادہ حجم کو متحرک طور پر بڑھانے کے لئے ایک نیا پیرامیٹر بنایا جائے گا، جیسا کہ صارف کی تعریف کی گئی ہے۔

اس ٹیوٹوریل کے اختتام تک، آپ ٹائم سیریز کے ڈیٹا، غیر یقینی صورتحال، اور اپنی مرضی کے قواعد کا استعمال کرتے ہوئے، WaterStrategy کے اندر تھیمز نیٹ ورک کے مختلف پہلوؤں کا انتظام اور اپنی مرضی کے مطابق بنانے کے لیے لیس ہوں گے۔

آپ دستی طور پر مطلوبہ فائلوں کو اپ لوڈ کریں گے، لہذا ٹیوٹوریل کے دوران آسان رسائی کے ل them انہیں اپنے کمپیوٹر پر محفوظ کرنا

* [ٹیمز\ \_لی\ \_ویلی\ \_ڈیمانڈ](https://nexsysanalytics-my.sharepoint.com/:x:/g/personal/jgonzalez_nexsys-analytics_com/ERY5QXJtGQtFpo7PKUUykJEBI9g6adLvCwxG90xhZqgySQ?e=b4brjW)
* [تھیمز\ \_انفلوز\ \_پیور اسکرینیوس. ایچ 5](https://nexsysanalytics-my.sharepoint.com/:u:/g/personal/jgonzalez_nexsys-analytics_com/EV7TBf9J_WZDpF3Oy6HyNmoBj3F4Ew216OE9ltOCC1P8pw?e=YV1A3q)

شروع کرنے کے لئے، میں **پروجیکٹ ٹریننگ مواد**، کھلا **تھیمز** نیٹ ورک

<figure><img src="/files/CSQCTIOYSuXtE51LXTyB" alt=""><figcaption></figcaption></figure>

کلون **منظر نامہ 1**

<figure><img src="/files/3sN1ADIgBKmtUrTkSM47" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/ikuRYNmJpErEGB5ttgJ4" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://water-strategy.gitbook.io/waterstrategy/ardw/sbq/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
