SourceCode.ftt_core.ftt_shares

SourceCode.ftt_core.ftt_shares#

Created on Thu Jul 24 08:36:58 2025

@author: Femke Nijsse

Two versions of the shares equation are included 1. The normal shares equation as described by Mercure (2012) 2. The shares equation for premature replacements as described in Knobloch (2017)

Functions

shares_change(dt, regions, shares_dt, costs, ...)

Wrapper for the jitted shares function.

shares_change_jitted(dt, regions, shares_dt, ...)

Calculates change in market shares, based on previous market shares, substitution rates and costs

shares_change_premature(dt, regions, ...)

Calculates change in market shares due to premature replacements, based on previous market shares, substitution rates and various costs