> 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/arby/albramj-altalymyh/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-csv-dataframe.md).

# قراءة إطار بيانات CSV

انتقل إلى **إصدار خزان جديد** العقدة والتغيير **ماكس فلو** إلى **-400**، سيسمح هذا بتدفق المياه من خلال هذه العقدة

<figure><img src="https://3021411535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrf5uqVTUdMhNxpVrDQF%2Fuploads%2Fgit-blob-6420f89ca94eb65a3717127f5a057a71036890d3%2Fimage%20(2)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3021411535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrf5uqVTUdMhNxpVrDQF%2Fuploads%2Fgit-blob-d865c3314b236c878e80f37455d84879d7e5d3ec%2Fimage%20(5)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

الملف الذي تم تنزيله، **التايمز\_لي\_الوادي\_demand.csv**، يحتوي على مجموعة بيانات متسلسلة زمنية منظمة بعمودين رئيسيين:

**الخطوة الزمنية:** سيكون هذا العمود بمثابة فهرس للسلسلة الزمنية. إنه يمثل تطور الوقت في مجموعة البيانات، مما يسمح بالتنظيم الزمني.

**طلب لي فالي:** يحتوي هذا العمود على البيانات التي تمثل قيم الطلب في وادي لي.

<figure><img src="https://3021411535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrf5uqVTUdMhNxpVrDQF%2Fuploads%2Fgit-blob-6ff2c6c50da13881ba949629c3c9e866042620c5%2Fimage%20(3)%20(1)%20(1).png?alt=media" alt="" width="443"><figcaption><p><strong>التايمز_لي_الطلب على الوادي</strong></p></figcaption></figure>

<figure><img src="https://3021411535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrf5uqVTUdMhNxpVrDQF%2Fuploads%2Fgit-blob-b935e0b126a1fa027985428bcb768660f1e4f19d%2Fimage%20(4)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

حدد عقدة الإخراج **طلب لي فالي** وقم بتحرير **ماكس فلو**

<figure><img src="https://3021411535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrf5uqVTUdMhNxpVrDQF%2Fuploads%2Fgit-blob-6a33f97b4cd180208ec2bc2382b3af1084576456%2Fimage%20(5)%20(1)%20(1).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

في الخيارات، حدد **بيور\_المعلمة**

<figure><img src="https://3021411535-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrf5uqVTUdMhNxpVrDQF%2Fuploads%2Fgit-blob-6bcdcee83a916021c64825325e516b8652a1176b%2Fimage%20(6)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

قم بلصق التكوين التالي:

«جسون» { «النوع»: «معلمة إطار البيانات»، «عنوان URL»: «التايمز»\_لي\_Valley\_demand.csv «، «العمود»: «طلب لي فالي»، «index\_col»: «الخطوة الزمنية»، «تواريخ التحليل»: صحيح }

```

الآن يجب أن تبدو مثل الصورة التالية:

<figure><img src="../../.gitbook/assets/image (7) (1).png" alt=""><figcaption></figcaption></figure>

### النتائج

انقر فوق العقدة Lee Valley Demand > المخرجات> المحاكاة\ _flow لرؤية نتائج المحاكاة

<figure><img src="../../.gitbook/assets/image (38).png" alt="" width="475"><figcaption></figcaption></figure>



<figure><img src="../../.gitbook/assets/image (36).png" alt=""><figcaption><p>التدفق المحاكي (طلب لي فالي)</p></figcaption></figure>



تحقق الآن من **محاكاة\_الصوت** من أجل **خزان جديد**

<figure><img src="../../.gitbook/assets/image (37).png" alt=""><figcaption><p>حجم المحاكاة (خزان جديد)</p></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/arby/albramj-altalymyh/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-csv-dataframe.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.
