Skip to content

Make the SNI 1729 edition an input rather than a fixed choice, for shear #5

Description

@saimskywalker

check_shear implements the four-case Cv form from SNI 1729:2015, which adopts AISC 360-10. SNI 1729:2020 adopts AISC 360-16, which collapses this to two branches.

The current choice is documented on WebShearCase and in the README, with the reasoning: 2015 is in wider Indonesian practice, and a 2020-edition user gets a conservative answer in the elastic range.

The problem with leaving it

"Conservative" is fine until someone is checking an existing structure against the edition their permit was issued under, and the library quietly gives them a different number from the one in the approved calculation. Then conservative is just wrong.

Proposal

Make the edition an explicit input rather than a compile-time decision:

pub enum SniEdition { V2015, V2020 }

Defaulting to 2015 keeps current behaviour for existing callers. The result struct should report which edition produced the number, so a printed calculation report says so on its face.

Open question for whoever picks this up

Whether the same split is needed elsewhere. Flexure differs less between the two editions, but that should be checked rather than assumed before this is called done.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions