Modeling Solar Cells

I'm working on a circuit using solar cells, but I'm not sure exactly how to model them. Are they a current device with limited voltage or voltage device with
limited current? I'm thinking that they are a little of both depending upon whether they are in sunlight or darkness. If you can explain this to me or point me to a website reference I will be most appreciative.
Thanks, Richard
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.