Giter Site home page Giter Site logo

joffemd / pscf Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 9.0 124.99 MB

Public Sector Credit Framework

Home Page: http://municipalfinance.org/government-finance/public-sector-credit-framework/

C++ 3.71% C 76.42% Makefile 0.09% Batchfile 0.75% CSS 0.83% XSLT 3.27% HTML 14.92%

pscf's People

Contributors

dandv avatar joffemd avatar r-w avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pscf's Issues

Will not run on Excel 64 bit

Received the following error message when loading into Excel 2010, 64 bit (running on Windows 7, 64 bit)

"Compile Error
The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements adn then marke them with the PtrSafe attribute"

Port Excel User Interface to Open Office

The user interface provided in sample.xlsm only works in Excel. Users who do not want to license Excel should have the ability to use the framework. Consequently, it would be helpful if the framework were ported to Open Office.

Enable Simulations to Run in the Cloud

The initial version of PSCF runs on the user's workstation. PSCF users would have access to greater processing power if they were able to perform their simulations on Amazon EC2 and other cloud platforms.

Will not run on Excel 64 bit

Received the following error message when loading into Excel 2010, 64 bit (running on Windows 7, 64 bit)

"Compile Error
The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements adn then marke them with the PtrSafe attribute"

32/64 Bit Excel VBA Issue with ShellExecute

Can someone knowledgeable in Excel VBA help us out?

Sone users get compile errors on the following block of code in pscf.xla

If VBA7 Then

Public Declare PtrSafe Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As LongPtr, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As LongPtr

Else

Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long

End If

...

On Error GoTo 0
Print #1, "locked"
Close #1
Dim args As String
args = arg1 & " " & arg2 & " " & arg3 & " " & arg4 & " " & arg5 & " " & arg6 & " " & arg7
Dim inst As Long
inst = ShellExecute(0, "open", spec, args, work_dir, 0)
If inst <= 32 Then
MsgBox work_dir & ", " & spec
End If
On Error GoTo done:

We need to be able to reliably shell out to Windows under both 32 and 64 bit.

Port Excel User Interface to GoogleDocs Spreadsheet

The user interface provided in sample.xlsm only works in Excel. Users who do not want to license Excel should have the ability to use the framework. Consequently, it would be helpful if the framework were ported to the Google Docs spreadsheet as well as other web based spreadsheet tools.

Linux build instructions

I see in the sample spreadsheet that PSCF can run from the command-line under linux with tab-delimited data files. Can you provide build instructions for linux?

Support Multithreaded PSCF Simulations

Currently the simulation runs in a single thread. Although it is quite fast, larger numbers of trials would be feasible if multiple processor cores were utilized.

Enable LookAhead and/or Recursive Processing

PSCF models are processed unidirectionally. Formulas can only reference prior year values or current year values that have already been processed (i.e. are higher up in the list of Series). It would be great if this restriction could somehow be relaxed so that expressions could be influenced by values that would normally be calculated later.

This requirement needs discussion before anyone attempts to implement it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.