Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support `CONTINUE` option in `Modflow6Simulation`

Đang mở Phù hợp với người mới
#1,843 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
74/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Bắt đầu từ điểm vào Modflow6Simulation và lần theo writer tạo ra mfsim.nam, tập trung vào cách các OPTIONS ở cấp simulation được biểu diễn. Thêm hỗ trợ để thiết lập CONTINUE thông qua tùy chọn constructor được yêu cầu, sau đó xác minh rằng simulation.write(...) ghi nó vào name file và tùy chọn này vẫn không xuất hiện khi không được bật.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement good first issue
Description

The MODFLOW 6 simulation name file (mfsim.nam) supports a CONTINUE option in its OPTIONS block. When set, MODFLOW 6 will continue the simulation even if the solver does not converge, instead of stopping with an error.

Currently, imod-python does not expose this option when writing mfsim.nam via Modflow6Simulation. As a workaround, users have to manually patch the written mfsim.nam file after calling simulation.write(...).

Requested behaviour

Allow setting CONTINUE on the simulation level, for example:

simulation = imod.mf6.Modflow6Simulation("example", continue_on_nonconvergence=True)

Additional context
Continue will be supported in iMOD-coupler via https://github.com/Deltares/imod_coupler/pull/479, currently the testmodel need to be updated manually.

Ngôn ngữ chính
Python
Star
41
Fork
11
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
5

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Deltares/imod-python

Tất cả issue của Deltares/imod-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.