Repository navigation
Conversation
…ment - Add nonlinear_saturation kinematics mode (exponential-approach theta(RPM)) - Add advance-ratio aero closing moment in a single canonical module (pyfoldable/aero_closing.py), used by both moment_based kinematics and V2 compute_hinge_moments; defaults off -> backward compatible - Move tip CG / hinge radius geometry helpers to geometry_helpers.py to keep the closing-moment module free of a kinematics import cycle - Exhaustive kinematics_mode dispatch (raises on unknown mode) - New config AeroClosingConfig + KinematicsConfig.curve_sharpness; example config V03 and demo script Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…ch, V01/V02 regression Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…nt (TR) Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Poyqraz
commented
Aug 31, 2026
Poyqraz
left a comment
Owner
Author
There was a problem hiding this comment.
Manual engineering review: not merge-ready; keep draft.
Integration against current main is mechanically clean when isolated correctly: 839 passed, 9 skipped. The blockers are model-form and evidence boundaries:
- Reverse-flow contradiction (high): docs claim forward/reverse axial flow and use
V_axial², butclosing_moment_nm()silently returns zero forV_axial <= 0. Either model direction/sign explicitly or reject reverse flow with an explicit contract; do not silently classify it as no load. - Advance-ratio claim is not implemented (high): the returned moment is independent of RPM/J/D except for an
rpm > 0gate. Rename it to an axial dynamic-pressure proxy or implement and test a real declared J-dependent relation. - Two consumers do not solve the same equilibrium (high): quasi-static kinematics evaluates closing moment at
theta_max, while V2 dynamics uses theta-dependent projected extension. A fixed open-angle load subtraction is not equivalent to a theta-coupled equilibrium. This needs an iterative/root-solved relation or an explicitly separate screening model/classification. - Unqualified V03 parameters (high):
close_moment_gain=80andV_axial=12 m/shave no calibration/provenance, while the config again declares the known-unreachable 140 mm stowed envelope. Do not promote this as a versioned design config. Keep it as a clearly synthetic test fixture withphysical_qualification=false, or add reviewed evidence and geometry compatibility gates. - Fail-closed validation missing (medium): add red tests and validation for NaN/Inf, extreme exponential sharpness, density, velocity, gain, RPM and angle domains. Current exponential expression can overflow for unbounded negative/large sharpness.
- Moment accounting incomplete (medium): add a component-closure regression that includes
M_closing_nm, plus explicit zero-drift regressions for all existing V01/V02 reports.
Do not merge until these items are resolved without weakening the current physical-qualification boundaries.
This was referenced Sep 1, 2026
This was referenced Sep 9, 2026
This was referenced Sep 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Özet
Uç palin (tip segment) davranışına iki opt-in ve geriye dönük uyumlu fizik eklentisi eklenir. Varsayılanlar mevcut V1/V2 çıktılarını birebir korur (yeni katsayılar 0 / yeni mod kapalı).
kinematics_mode="nonlinear_saturation"): eşik civarı keskin/eksponansiyeltheta(RPM)(kapalı-form).curve_sharpness=0doğrusala iner.aero_closing): advance-ratio / eksenel akışa (V_axial) bağlı, açılmayı geri iten moment → kısmi açılma. Denge:M_open(omega^2) - M_close = M_resist(theta).Kaynak: US Patent 11667364 (kapanma momenti), UCF foldable propeller çalışması (hızlı/nonlineer açılma).
Tasarım / kod kalitesi
pyfoldable/aero_closing.py; hemkinematics.theta_deg_moment_basedhem V2dynamics.hinge_moments.compute_hinge_momentsaynı fonksiyonu çağırır (kod tekrarı/spagetti yok).effective_tip_cg_from_hinge_m/effective_hinge_radius_mkanonik geometri katmanına (geometry_helpers.py) taşındı; tüm çağıranlar güncellendi.theta_deg_from_rpmmod dağıtımı exhaustive (bilinmeyen mod →ValueError).AeroClosingConfig.Kabul (explicit assumption)
Kuazi-statik yolda kapalı-form dengeyi korumak için
A_reftheta'dan bağımsız tam-açık uzantı referansıyla alınır; theta-bağımlı geometri yalnızca V2 dinamik yolunda kullanılır. Ayrıntı:docs/foldable_nonlinear_closing_design.md.Test / doğrulama
tests/test_nonlinear_kinematics.py,tests/test_aero_closing.py.run_prescribed_rpm_physics,run_foldable_operating_point,run_moment_kinematics_validation) sorunsuz çalışır.Demo çıktısı (
examples/run_tip_nonlinear_closing_demo.py):Kapsam dışı (sonraki faz)
Zaman-domeni overshoot/oscillation, whirl flutter, Prandtl uç kaybı, negatif/ters uç itkisi.
Dosyalar
pyfoldable/aero_closing.py(yeni),models.py,kinematics.py,geometry_helpers.py,dynamics/hinge_moments.py,dynamics/hinge_moment_geometry.py,__init__exportlarıconfigs/foldable/TIP_HINGED_250_V03.json,examples/run_tip_nonlinear_closing_demo.pydocs/foldable_conventions.md,docs/foldable_nonlinear_closing_design.md,README.md