Variable 'DESIGN.burner.dPqP' not found

Đang mở
#105 3 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Start by running the simple_turbojet.py example with the print statements enabled, then inspect the print_burner and print_nozzle functions mentioned in the report. Trace why the burner output requests DESIGN.burner.dPqP when that variable is unavailable. Done means the example completes and both burner and nozzle output functions run without the reported lookup error.

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

Mô tả

When I try to run the simple_turbojet.py example, I get this error, and it says did you mean one of the following: ['DESIGN.burner.Fl_I:FAR', 'DESIGN.burner.Fl_I:tot:P', 'DESIGN.burner.Fl_O:tot:P', 'DESIGN.burner.MN', 'DESIGN.burner.Wfuel', 'DESIGN.burner.Wout', 'DESIGN.burner.out_stat.Ps', 'DESIGN.nozz.dPqP', 'burner.dPqP']." It seems like the calculations work because if I comment out the print statements for the burner and the nozzle, the code runs all the way through, but for some reason the print_burner and print_nozzle functions are causing trouble. I am using version 4.3.0 and I used pip3 install -e '.[all]' to install om-pycycle. Any help would be appreciated, thanks!

Ngôn ngữ chính
Python
Star
212
Fork
101
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 OpenMDAO/pyCycle

Tất cả issue của OpenMDAO/pyCycle

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.