Skip to content

Commit

Permalink
adjust maxEMF for Transformer screen, #66
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed May 28, 2024
1 parent 0377159 commit 1c580e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/common/model/PickupCoil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default class PickupCoil extends PhetioObject {
}

this.maxEMFProperty = new NumberProperty( options.maxEMF, {
range: new Range( 1E5, 3E6 )
range: new Range( 1E5, 6E6 )
// Do not instrument. This is a PhET developer Property.
} );

Expand Down
2 changes: 1 addition & 1 deletion js/transformer/model/Transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class Transformer extends PhetioObject {

this.pickupCoil = new PickupCoil( this.electromagnet, currentFlowProperty, {
position: options.pickupCoilPosition,
maxEMF: 1000000, // see PickupCoil.calibrateMaxEMF
maxEMF: 5000000, // see PickupCoil.calibrateMaxEMF
transitionSmoothingScale: 0.56, // see PickupCoil.transitionSmoothingScaleProperty

// To avoid inducing significant (incorrect) EMF when the magnet is moved vertically when inside the coil,
Expand Down

0 comments on commit 1c580e9

Please sign in to comment.