Skip to content

Foldable propeller V2 (clean export, no grant branding) - #2

Open
Poyqraz wants to merge 48 commits into
mainfrom
cursor/foldable-propeller-v2-clean-2fe0
Open

Poyqraz wants to merge 48 commits into
mainfrom
cursor/foldable-propeller-v2-clean-2fe0

Conversation

@Poyqraz

@Poyqraz Poyqraz commented Jun 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

Foldable propeller V1–V2 stack on a clean export branch with no TÜBİTAK / grant references in tracked code, docs, or committed reports.

Standalone mirror: PyFoldable (exported from this branch via scripts/build_pyfoldable_standalone.sh).

What changed vs cursor/foldable-propeller-v1-2fe0

  • Renamed calibration symbols to neutral engineering names:
    • TUBITAK_PRETEST_RPM → CHECKPOINT_RPM
    • TUBITAK_LIFT_* → PRETEST_REFERENCE_FRACTION / PROJECT_TARGET_FRACTION
    • tubitak_validation_summary → checkpoint_validation_summary
  • Scrubbed user-facing text in docs, engineering report, examples, and motor-coupled CSV notes
  • Fixed duplicated wording in engineering report key results (compact 20 cm root baseline)
  • Fixed standalone export script to copy reports into DEST/reports/ (not nested subfolder)

Verification

  • 206 foldable tests pass (pytest tests/foldable -q)
  • 240 total tests pass excluding OpenMDAO (pytest tests/ --ignore=tests/openmdao)
  • Bugbot: no issues on latest commit

Scope

  • pythrust/foldable/ V1–V2 physics, motor-coupled performance, engineering report, CFD prep (Level 1)
  • PyThrust core untouched
  • scripts/build_pyfoldable_standalone.sh + scripts/push_pyfoldable.sh for standalone repo export

Use this branch for

  • Public fork / PyFoldable export without grant branding
  • PR review separate from the original TÜBİTAK-tagged branch (PR #1)

Related

cursoragent and others added 30 commits June 17, 2026 20:07
Introduce pythrust/foldable/ as an isolated extension for tip-hinged
foldable propeller modeling without modifying the core propulsion solver.
Includes conventions doc, example config, RPM sweep script, CSV export,
and 18 unit tests covering kinematics, effective diameter, thrust, and
validation helpers.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Bridge PropulsionSolver output to foldable post-processing for theta,
effective diameter, and thrust while preserving torque, current, power,
and efficiency from the core solver. Includes operating point example
script, CSV export helpers, and integration tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compare PyThrust reference fixed thrust with foldable post-processed
thrust across a throttle sweep. Includes comparison module, CSV export,
example script, and unit tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce thrust_model_mode simple|reference_scaled with eta_hinge,
eta_profile, and reference_diameter_m config fields. Foldable thrust can
now scale from PyThrust fixed thrust via (D_eff/D_ref)^4 instead of the
standalone V1 formula when reference_scaled is selected.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compare five tip-hinged geometries (65/35 through 85/15) at fixed 0.25 m
open diameter using reference_scaled thrust. Adds variants.py, design_sweep.py,
example script, CSV writer, and tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Aggregate per-variant compactness and thrust metrics with a simple
score_simple balance. Includes summary module, example script, and tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Normalize compactness and thrust preservation to 0-1, compute persona
weighted scores, and classify variants with recommendation notes.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…ation

Replace ground_priority_score with stowed-only compactness scoring.
Update flight weights to 80/20 and recommendation labels for stowed mode.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…on metrics

Focus decision matrix on RPM ramp behavior: startup thrust, deployment,
flight performance, and takeoff transition scores. Compactness remains
a design descriptor only.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Generate sweep throttle curves and flight-startup score bar chart
under outputs/foldable/figures with example script and plot tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Add throttle=0 startup points (rpm=0, folded D_eff, thrust=0)
- Add fig_thrust_difference_normalized_250mm.png vs project D_ref=0.25 m
- Label deployment_score as diameter growth in decision bar chart
- Collapse overlapping RPM-only hinge angle curves with note
- Write foldable_figures_report.md with model assumptions

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Extend config with cg, hinge stiffness/friction, kinematics_mode
- Solve theta from centrifugal opening vs spring/friction balance
- Scale variant mass/cg/hinge_radius for geometry-dependent theta
- Update plots/docs; add tests for variant theta differentiation

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Expose resisting_moment_nm and hinge_state helpers
- Export moment_kinematics_validation and variant_physical_parameters CSVs
- Add unit tests confirming stiffness uses radians not degrees

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Document hinge_radius_m unused in V1 M_open formula
- Add moment_margin_nm interpretation notes
- Add active_window_diameter_growth_score CSV alias; keep deployment_score
- Update plots/docs/validation output labels

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…ment score

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- geometry_2d, io join from sweep/moment/params CSVs
- single-state, throttle sweep, and variant comparison panels
- examples/run_foldable_visuals.py and visualization tests

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add optional stowed_envelope_diameter_m config field for documentation and
visualization only. Distinguish aerodynamic D_eff from proposal storage
envelope in docs and schematic captions, draw stowed reference circle,
and add compact variant-comparison subplot labels.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce presentation-friendly black-filled blade schematics alongside
existing radial engineering visuals. Includes static overview, single-state,
throttle sweep, and variant comparison panels with unified report.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add visualization-only deployment_progress and display_hinge_angle_deg
so concept schematics show secondary blade folded parallel to main blade
at start, distinct from radial analysis theta_deg.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add deployment_geometry, sequence panel, frame export with manifest,
pseudo-time mapping, and panel labels with progress/display angle.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Concept throttle sweep panel uses t=0.0s..2.0s labels with folded-start display angles
- Export frames to frames/concept_<variant_id>/frame_000.png with manifest and CSV metadata
- Document pseudo-time approach in report and foldable_conventions.md
- Keep legacy export_deployment_frames API; radial throttle sweep unchanged

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Show RT65_35..RT85_15 at throttle 0.6 with variant, theta, hinge_state, D_eff labels
- Use frame_from_state for folded-start display angle consistency
- Document concept variant compare in report and conventions

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- ODE spin-up with algebraic motor torque and quasi-static hinge
- Quasi-steady aero at J=0 using D_eff and PropellerEntry Ct/Cp
- CSV export dynamic_spinup_RT75_25.csv and integration tests

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Add 4-panel spinup summary figure export
- Add rotating concept-style frame export with manifest
- Add optional rotor_inertia and hinge_damping config fields
- Add TÜBİTAK calibration validation hooks and output tests

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
- Add step and linear_ramp throttle profiles with ramp_time_s
- Scale thrust/torque by deployment-based aero_effectiveness in dynamic V1
- Add checkpoint summary CSV at 7100 rpm vs reference open propeller thrust
- Document D_eff vs stowed envelope and folded aero approximation

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Replace misleading thrust_ratio_at_7100_rpm with ideal_geometry_ratio_at_7100_rpm
and add calibrated/target thrust fields from TÜBİTAK pretest (0.70) and project
(0.85) references. Export separate step and ramp CSV outputs while keeping the
legacy step alias. Update model notes and documentation accordingly.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add profile-specific figures and checkpoint summaries with TÜBİTAK 7100 rpm
annotations, figure captions, optional frame text overlays, and single-arm
concept frame documentation. No physics changes.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Reserve a right margin for TÜBİTAK 7100 rpm annotations in *_report.png
figures while keeping legacy inline annotations unchanged. Document ramp
report figure as preferred for written reports.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce prescribed-RPM simulation independent of the motor module:
parallel-stow geometry (V02), second-order hinge dynamics with component
moments, lagged tip aero effectiveness, root/tip thrust split, physics
debug CSV/figures. Legacy motor spin-up path unchanged.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
cursoragent and others added 17 commits June 20, 2026 10:08
Add stability report, dt sensitivity, and hinge parameter sweep for
prescribed-RPM V2. Fix quasi-static equilibrium bisection direction,
smooth Coulomb friction, and lock hinge when driving torque is below
breakaway to eliminate numerical limit-cycle chatter at equilibrium.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Replace progress-lever default with geometric_radial moment using R_h,
r_cg, and sin(-phi). Add deployment_bias_angle_deg and initial_stow_offset_deg
as explicit assumptions, open_stop hinge state, geometry diagnostic CSV,
and audit spec documenting why progress_lever locked equilibrium at -150 deg.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…stics

Add wide bias/stiffness/scale sweep CSV, tip thrust pipeline breakdown,
and optional open_latch_diagnostic mode with hold-at-open behavior.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
…tics

Keep independent_tip_disk as default; add effective_diameter_delta and
annular_extension_proxy modes with audit spec and split-mode comparison CSV.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Introduce calibrated_effective_diameter_delta with pretest_70_percent and
target_85_percent presets derived from 25 cm reference thrust. Add calibration
module, diagnostic CSV runner, tests, and audit doc update.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add pretest_70_percent_fixed and target_85_percent_fixed presets derived
from latch_theta0 reference. Diagnostic CSV now shows per-case required
factors alongside uniformly applied fixed factors and achieved ratios.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add ideal and fixed-calibration thrust columns to deployment sweep rows.
Introduce foldable_performance_summary_v2.csv with explicit model levels
and decision labels for TÜBİTAK evaluation baselines.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compare deployment cases and RT75/RT65 variants with calibrated thrust
metrics, engineering classification labels, and ranked candidate CSVs.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Combine PyThrust operating point solver with deployment-state calibrated
thrust at throttle sweep. Emit performance and 7100 rpm checkpoint CSVs
without changing prescribed-RPM physics or design decision outputs.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Add target-RPM interpolation at 7100 rpm from the throttle sweep, with
explicit checkpoint and n²-scaled current-RPM reference columns. New
interpolated and reference-consistency CSV outputs; backward-compatible
extensions to the performance CSV and seven new tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Compute foldable_proxy aero torque for root-only rows instead of silent zero.
Separate compact 20 cm vs variant root gain columns, add torque margin and
reference_load_postprocess coupling metadata, and add consistency audit CSV.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Generate Markdown report, key results CSV, figure index, assumptions, and
Turkish conclusion from motor-coupled checkpoint CSVs via a script and tests.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Export operating points, geometry parameters, case recommendations, readiness
audit, and boundary-condition notes from motor-coupled 7100 rpm data. This is
input preparation only — not CFD results.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Builds a self-contained pyfoldable package with minimal vendored
pythrust propeller/propulsion slices for independent checkout and push.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Install hook logs gh in with GH_PAT when injected. Push script bypasses
expired git url.insteadOf tokens and falls back to GitHub API.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Rename calibration identifiers to neutral engineering names (CHECKPOINT_RPM,
PRETEST_REFERENCE_FRACTION, checkpoint_validation_summary) and scrub
user-facing docs, reports, and CSV metadata. Foldable tests still pass.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
@Poyqraz

Poyqraz commented Jun 22, 2026

Copy link
Copy Markdown
Owner Author

bugbot run

solve all problems.

@cursor

cursor Bot commented Jun 22, 2026

Copy link
Copy Markdown

Skipping Bugbot: Bugbot is disabled for this repository. Visit the Bugbot dashboard to update your settings.

@Poyqraz

Poyqraz commented Jun 22, 2026

Copy link
Copy Markdown
Owner Author

bugbot run

solve all problems

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit aa9e6c8. Configure here.

@Poyqraz
Poyqraz marked this pull request as ready for review June 22, 2026 09:25
Fix duplicated 'compact-root compact root' phrasing in engineering report
key results. Copy reports into DEST/reports/ in the standalone export script.

Co-authored-by: Poyraz BAYDEMİR <Poyqraz@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants