Incorrect Units for Corrected Flow and Speed in Turbine Element Compute

Aperta
#120 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start in turbine.py at the CorrectedInputsCalc class, then compare its corrected flow and speed calculations with the compressor’s correction logic. Confirm how dimensional temperature and pressure are converted to reference ratios. Done means the declared units for Wp and Np agree with their computed values and the relevant project checks pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Inside CorrectedInputsCalc within turbine.py, Wp (corrected flow) is declared with units lbm/s but is computed as W_in * Tt ** 0.5 / Pt which results in units of lbm * degR ** 0.5 / s / psi.

Likewise, the same class declares Np (corrected speed) with units rpm but computes it as Nmech * Tt ** 0.5 resulting in units of rmp / degR ** 0.5.

It seems that the dimensional temperatures and pressures were confused with non-dimensional temperature and pressure ratios vs reference values.

The compressor computes non-dimensional temperatures and pressures for flow and speed corrections so the declared and computed units agree. Should the turbine model be adjusted to do the same?

Lingua principale
Python
Stelle
212
Fork
101
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenMDAO/pyCycle

Tutte le issue di OpenMDAO/pyCycle

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.